acpc_dealer_data 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -115,7 +115,7 @@ class PokerMatchData
115
115
  break if @hand_number + 1 >= num_hands
116
116
  end
117
117
 
118
- if @chip_distribution != @players.map { |p| p.chip_balance }
118
+ if @hand_number == @data.length && @chip_distribution != @players.map { |p| p.chip_balance }
119
119
  raise PlayerDataInconsistent, "chip distribution: #{@chip_distribution}, player balances: #{@players.map { |p| p.chip_balance }}"
120
120
  end
121
121
 
@@ -1,3 +1,3 @@
1
1
  module AcpcDealerData
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_dealer_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  segments:
166
166
  - 0
167
- hash: -3064166929746132527
167
+ hash: 1076567299815575746
168
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  none: false
170
170
  requirements:
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  segments:
175
175
  - 0
176
- hash: -3064166929746132527
176
+ hash: 1076567299815575746
177
177
  requirements: []
178
178
  rubyforge_project:
179
179
  rubygems_version: 1.8.24