acpc_poker_player_proxy 1.6.3 → 1.6.4
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ce165d2d372828bebe3a1b1254dd9e027d5fd01
|
4
|
+
data.tar.gz: 4b26c4318735e6ba55a77ff404cb7ad7490b99f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b04273c748dc4a984a338f5e485307c56dbeec264f189b8b21c8724d3627631d60af0fc799e7690047343f5fecb91f6c609a0e4f61be19dc925200173c7f466f
|
7
|
+
data.tar.gz: f7c3dac492833cdd7c482c0d63bef3ddf41bd00ff4243d9e2d3c5ea4de73ec745a1eee53b5de357369f93df6abc13bdb20cf60d7c4848724e31b01a2ccf2f5e1
|
@@ -20,10 +20,6 @@ class PlayerProxy < DelegateClass(AcpcPokerTypes::PlayersAtTheTable)
|
|
20
20
|
# in which, this player is participating, since this object's instantiation.
|
21
21
|
attr_reader :players_at_the_table
|
22
22
|
|
23
|
-
attr_reader :match_has_ended
|
24
|
-
|
25
|
-
attr_reader :game_def
|
26
|
-
|
27
23
|
attr_reader :must_send_ready
|
28
24
|
|
29
25
|
# @param [DealerInformation] dealer_information Information about the dealer to which this bot should connect.
|
@@ -115,12 +111,12 @@ class PlayerProxy < DelegateClass(AcpcPokerTypes::PlayersAtTheTable)
|
|
115
111
|
|
116
112
|
def update_match_state!
|
117
113
|
begin
|
118
|
-
|
119
|
-
yield result if block_given?
|
114
|
+
@players_at_the_table.update!(@basic_proxy.receive_match_state!)
|
120
115
|
rescue AcpcPokerBasicProxy::DealerStream::UnableToGetFromDealer
|
121
116
|
@match_has_ended = true
|
122
117
|
end
|
123
118
|
__setobj__ @players_at_the_table
|
119
|
+
yield if block_given?
|
124
120
|
|
125
121
|
update_match_state_if_necessary! { yield if block_given? }
|
126
122
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acpc_poker_player_proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Morrill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acpc_poker_basic_proxy
|