acpc_poker_player_proxy 1.3.3 → 1.4.0

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: 7256ba6b59eed545953437f5d3479040c2d85c83
4
- data.tar.gz: 1c9eed020e69a4740c7b7ae21060be8bb615c03e
3
+ metadata.gz: 642f9f970caaada092546e4319bbe6480bc4cd05
4
+ data.tar.gz: 6fd5124eca528028d559a4cbfe0307e89aa98ac5
5
5
  SHA512:
6
- metadata.gz: 68c82ecab8ebbca24ef430f4136a8fb503c748abec4f09554e291df826a229155bb253d5dec3304c82dcb522199a9af01a10a9a34184351ab60aedd40a0d564e
7
- data.tar.gz: 752c0b5eaac156c184b73d61eed2ad5ac470a370b64417bf562c47a98aa124d2706bd130fb8ef227c591fa09d97808454bfed1dff4a242f5a430b8ddbfc0bad0
6
+ metadata.gz: f9999e158a2c253ec86fbf7b64a6425e02ec5578f75c8a62a73af4526d8dccf3449ab28993bb5d2cc3c8c1e453ca6f9fd37724e9d195a817b2efb55ab3ed9c83
7
+ data.tar.gz: bd2a0844ac681c99005ac61b7aad675c8c51a42a0ecd218cf5a1785bcb39006f8bdb45534c9fa4ec53ceadae1e0df71a7992a1cd64e59a33036f73bc382737e3
@@ -100,6 +100,18 @@ class PlayerProxy < DelegateClass(AcpcPokerTypes::PlayersAtTheTable)
100
100
  end
101
101
  end
102
102
 
103
+ def connected?
104
+ begin
105
+ @basic_proxy.send_comment '# KA'
106
+ rescue AcpcPokerBasicProxy::DealerStream::UnableToWriteToDealer
107
+ @match_has_ended = true
108
+ false
109
+ else
110
+ true
111
+ end
112
+ end
113
+
114
+
103
115
  private
104
116
 
105
117
  def update_match_state_if_necessary!
@@ -1,3 +1,3 @@
1
1
  module AcpcPokerPlayerProxy
2
- VERSION = "1.3.3"
2
+ VERSION = "1.4.0"
3
3
  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.3.3
4
+ version: 1.4.0
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-07 00:00:00.000000000 Z
11
+ date: 2017-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: acpc_poker_basic_proxy
@@ -215,4 +215,3 @@ test_files:
215
215
  - spec/support/dealer_logs/3p.nolimit.h1000.r0.actions.log
216
216
  - spec/support/dealer_logs/3p.nolimit.h1000.r0.log
217
217
  - spec/support/spec_helper.rb
218
- has_rdoc: