-
Notifications
You must be signed in to change notification settings - Fork 42
/
CHANGELOG
59 lines (47 loc) · 2.38 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
2014-09-01 (1.0.1)
* Rearrange full house cards to return correct order when low pairs. (Stuart Hanscombe)
2013-12-28 (1.0.0)
* Add Gemfile
* Add "Empty Hand" rank for empty hands. Fixes #1.
* Simplify internal calculation of `value` in Card class. Fixes #2.
2009-07-12 (0.3.2)
* Reorganized ruby-poker's lib folder to match the standard layout for gems. This makes ruby-poker compatible with Rip.
* Bug [#26276] improper two_pair? behavior. Applied patch by Uro.
* Changed protected methods in PokerHand to private
* Added natural_value method to Card
2009-01-24 (0.3.1)
* Bug [#23623] undefined method <=> for nil:NilClass
2008-12-30 (0.3.1)
* Bug (#20407) Raise an exception when creating a new hand with duplicates
* Added PokerHand#uniq method
* Removed deprecated `Gem::manage_gems` from Rakefile
2008-05-17 (0.3.0)
* Changed Card#== to compare based on card suit and face value. Before it only compared the face value of two cards. Warning: This change may potentially break your program if you were comparing Card objects directly.
* Replaced `PokerHand#arranged_hand` with `PokerHand#sort_using_rank` which is more descriptive. This loosely corresponds to bug #20194.
* Bug [#20196] 'rank' goes into an infinite loop.
* Bug [#20195] Allows the same card to be entered into the hand.
* Bug [#20344] sort_using_rank does not return expected results
2008-04-20 (0.2.4)
* Modernized the Rakefile
* Updated to be compatible with Ruby 1.9
2008-04-06 (0.2.2)
* Fixed bug where two hands that had the same values but different suits returned not equal
2008-02-08 (0.2.1)
* Cards can be added to a hand after it is created by using (<<) on a PokerHand
* Cards can be deleted from a hand with PokerHand.delete()
2008-01-21 (0.2.0)
* Merged Patrick Hurley's poker solver
* Added support for hands with >5 cards
* Straights with a low Ace count now
* to_s on a PokerHand now includes the rank after the card list
* Finally wrote the Unit Tests suite
2008-01-12 (0.1.2)
* Fixed critical bug that was causing the whole program to not work
* Added some test cases as a result
* More test cases coming soon
2008-01-12 (0.1.1)
* Ranks are now a class.
* Extracted card, rank, and arrays methods to individual files
* Added gem packaging
2008-01-10 (0.1.0)
* Initial version