rpoker 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rpoker/matchup.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14c1fe8bbdb62e78f7cf12668b8c4c96392fb18c
4
- data.tar.gz: c09fbd0fa370841e8fa10bb54308b5f1a6e0975f
3
+ metadata.gz: 837799d0168ceccf52c989c3b0c4133af13967d5
4
+ data.tar.gz: 7f8c046ce3fe08e926c7f6000b1a77743f937dc3
5
5
  SHA512:
6
- metadata.gz: 1804d821324d68dec6fcc5604991244505bf18dbb1120cdbae2c585df6b1f9b99c9d8926aa24d2ee8ceb4a2a2a11ae9be0ad3f667a86b06a19274d1f5ef23d34
7
- data.tar.gz: 92bec40a278e09dc0916ceb590bda945f9921e61c75551c036033db9a6334297685bc2e950fc317bc39fb632553dfe85c3a91a0b0645383c4340d865fd215a98
6
+ metadata.gz: 4d72492401a71f9802a157f5b11aea9ab91604cec64f0ff6d3ad631efa8e9df1453d6d29cd6d5c900e7f91b8aebd01d01fbc055b77cc83680faeb81d8bc82ea5
7
+ data.tar.gz: 08f668889a8267825ea742a4e3aaa87d5d1dc5e4301318486a0412794c46b396d225299145c3173642d1169d6889ab46d79766ca8a399fa99f41d12244e86ce5
@@ -35,9 +35,9 @@ class Matchup
35
35
  if hand1.wheel? && hand2.wheel?
36
36
  return nil
37
37
  elsif hand1.wheel?
38
- return hand1
39
- elsif hand2.wheel?
40
38
  return hand2
39
+ elsif hand2.wheel?
40
+ return hand1
41
41
  end
42
42
 
43
43
  # compare the numeric value pairs
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpoker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Cornelis
@@ -20,7 +20,7 @@ files:
20
20
  - lib/rpoker/card.rb
21
21
  - lib/rpoker/hand.rb
22
22
  - lib/rpoker/matchup.rb
23
- homepage: http://rubygems.org/gems/rpoker
23
+ homepage: https://github.com/bencornelis/rpoker
24
24
  licenses:
25
25
  - MIT
26
26
  metadata: {}