acpc_table_manager 3.0.15 → 3.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acpc_table_manager/proxy.rb +9 -7
- data/lib/acpc_table_manager/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 695bfb5265fab1419cc3a35232d256454872e2fb
|
4
|
+
data.tar.gz: 3ce929cf26eb43480450719de0cb81ff3cee65b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bd61f46a19c3cfb6d9e219304397923e7c2ea1fbba42549ddffcb27bbe265683aa78a58ba956e0f635018d092a2250fd005adbdd73cc45740322795e86704db
|
7
|
+
data.tar.gz: 6f3ce017c3a6ba317b7c49d9ae91e61530e37864502fa406d9a82bf755e64ef894b1fb7d7893c9ff1f2d1960897f13e37472491f0e63921192bb748f606e6de5
|
@@ -175,13 +175,15 @@ class Proxy
|
|
175
175
|
return true
|
176
176
|
end
|
177
177
|
|
178
|
-
|
179
|
-
@player_proxy.
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
178
|
+
ended = if @player_proxy.stack_sizes
|
179
|
+
@player_proxy.players.any? do |player|
|
180
|
+
!((player.stack + player.winnings.to_f) > 0)
|
181
|
+
end
|
182
|
+
else
|
183
|
+
@player_proxy.match_state.hand_number >= @match.number_of_hands - 1
|
184
|
+
end
|
185
|
+
|
186
|
+
@player_proxy.match_ended? || (@player_proxy.hand_ended? && ended)
|
185
187
|
end
|
186
188
|
|
187
189
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acpc_table_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Morrill
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pony
|
@@ -337,4 +337,3 @@ signing_key:
|
|
337
337
|
specification_version: 4
|
338
338
|
summary: Backend components to the ACPC Poker GUI Client
|
339
339
|
test_files: []
|
340
|
-
has_rdoc:
|