acpc_table_manager 4.0.0 → 4.0.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: 655cf8543981e79b37a64173b226e5f8a70a9505
4
- data.tar.gz: b7e29cbda06b285efcf2226ca6a8f30aa18162b9
3
+ metadata.gz: ee2dea44e92ca39a540609c2223658a34b6bbd6c
4
+ data.tar.gz: 7fc6b9d7bf0f79d06b20be90d974761b25e385f3
5
5
  SHA512:
6
- metadata.gz: aa46f88eb7051f13e971151493b2502b11fd22fbc7262817ce7ef48fac8ad6b4b4729c8b10c0d4de3bec97047ef5f4676a7ae81e97452f64cd33ecdd1dc30f66
7
- data.tar.gz: c76a667f2ff2a731ab0590e91d6c850e1f1b7c7f2f5a0fd080f87a727ef9156682724a69797292925b42946796f5175f4a9bc7e203df534888fe47d788b272cc
6
+ metadata.gz: 2de517e6ac65237cf51bee818d81f348492d6cc6dfbdf4e3615dac72b637a6a20d117576beb494e7595daebb8c612a10fd2b6e2eecb33510e31aede98d8d0a0c
7
+ data.tar.gz: 502d992178265dced2830a82c6f414865b9c1daa598ec0ce370539296e2e5a649ae8bb516d25b9a351ad50e1531ae735b85dc4bca6278725d97c769674643eed
@@ -89,7 +89,7 @@ begin
89
89
  options[:port],
90
90
  must_send_ready
91
91
  ) do |patt|
92
- log 'start_proxy_block'
92
+ log 'start_proxy_block', match_state: patt.match_state.to_s
93
93
  @communicator.publish(
94
94
  AcpcTableManager::ProxyUtils.players_at_the_table_to_json(
95
95
  patt,
@@ -124,7 +124,7 @@ begin
124
124
  action = data['action']
125
125
  if action == 'next-hand'
126
126
  proxy.next_hand! do |patt|
127
- log 'next_hand! block', msg: 'Sending match state'
127
+ log 'next_hand! block', match_state: patt.match_state.to_s
128
128
  @communicator.publish(
129
129
  AcpcTableManager::ProxyUtils.players_at_the_table_to_json(
130
130
  patt,
@@ -147,7 +147,7 @@ begin
147
147
  if proxy.users_turn_to_act?
148
148
  action = PokerAction.new(action) unless action.is_a?(PokerAction)
149
149
  proxy.play!(action) do |patt|
150
- log 'play! block', msg: 'Sending match state'
150
+ log 'play! block', match_state: patt.match_state.to_s
151
151
  @communicator.publish(
152
152
  AcpcTableManager::ProxyUtils.players_at_the_table_to_json(
153
153
  patt,
@@ -31,7 +31,7 @@ module AcpcTableManager
31
31
  must_send_ready
32
32
  ) do |patt|
33
33
  if patt.match_state
34
- log __method__, msg: 'Sending match state'
34
+ log __method__, match_state: patt.match_state.to_s
35
35
  @communicator.publish(
36
36
  ProxyUtils.players_at_the_table_to_json(
37
37
  patt,
@@ -1,3 +1,3 @@
1
1
  module AcpcTableManager
2
- VERSION = '4.0.0'.freeze
2
+ VERSION = '4.0.1'.freeze
3
3
  end
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: 4.0.0
4
+ version: 4.0.1
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-02-02 00:00:00.000000000 Z
11
+ date: 2017-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pony