acpc_poker_player_proxy 1.3.0 → 1.3.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c8ec9612faafd694643fe5169cfe9830ed16ab4
|
|
4
|
+
data.tar.gz: a0661cc8eb41cacefa42e22d0001fca7883b99d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ba1b1faedd223fc743325642e5ebe574c3208f0912ed6c9db3b70c14756d9d30a5b410c3220f601cd3c5d55ae91b37d09284ab6b5b074b04f79b29bab803e38
|
|
7
|
+
data.tar.gz: 717a9d51f3803e4c31f2047d29dcf825f8c0dec3e37454e28d43a39e439153345698ef91c964c36739f6d25313716eff5240ce2a76d361f563279b9f13a395c6
|
|
@@ -89,16 +89,15 @@ class PlayerProxy < DelegateClass(AcpcPokerTypes::PlayersAtTheTable)
|
|
|
89
89
|
begin
|
|
90
90
|
@basic_proxy.send_ready
|
|
91
91
|
rescue AcpcPokerBasicProxy::DealerStream::UnableToWriteToDealer => e
|
|
92
|
-
raise MatchEnded.with_context(
|
|
93
|
-
"Cannot take action #{action} because the match has ended!",
|
|
94
|
-
e
|
|
95
|
-
)
|
|
92
|
+
raise MatchEnded.with_context("Cannot send ready message!", e)
|
|
96
93
|
end
|
|
97
94
|
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
if @must_send_ready
|
|
96
|
+
update_match_state! do |players_at_the_table|
|
|
97
|
+
__setobj__ @players_at_the_table = players_at_the_table
|
|
100
98
|
|
|
101
|
-
|
|
99
|
+
yield @players_at_the_table if block_given?
|
|
100
|
+
end
|
|
102
101
|
end
|
|
103
102
|
end
|
|
104
103
|
|