acpc_table_manager 1.0.0 → 1.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: b4e0fbeda8f0f050a57fbf5d42806d6da5570a67
4
- data.tar.gz: a2736fd639a962b9eada95a86e5e92bbe4e2f347
3
+ metadata.gz: 9f59557eda802a11ef97d3a964b4e48ef2f39783
4
+ data.tar.gz: 77a1dc616c96e05de681a8dd9a12a864bf36c565
5
5
  SHA512:
6
- metadata.gz: 4c15bd647dc2f70b11b5fd2a27bca7f11d1b7d24e88bd2de4f55cd93e99c1781799f4c0361f755f274efadaee95eb1ef81f9dc541fcc309299903e4a202283b8
7
- data.tar.gz: eeb9c3573365c3e11c4fe260150ee0c16578318b7ae26c00c0a2050c96f573d5afe469699f0b388192f858b5daa803863148a567448dbeff6001fb624421e441
6
+ metadata.gz: 7dba8a041fcb867ddf256948264be7010ee8d00064d59ab98744315c02556585c5afa71eaad8a5cc3d6239874085e4136eba1208bbae4c762af1e5408bcd82fb
7
+ data.tar.gz: 781a04fca1208ff26c8eb04d825b07ff9ab0af910cbd8d14de3074809e1b1ff9c58d87bde6637dbc08abf5589b5434c2c27e67c6a3ff37da2ecfdc969a6ee08e
@@ -46,10 +46,10 @@ end
46
46
 
47
47
  proxy = AcpcTableManager::Proxy.start match
48
48
 
49
- loop do
50
- begin
49
+ begin
50
+ loop do
51
51
  message = AcpcTableManager.redis.blpop(
52
- "play-action-in-#{options[:match_id]}",
52
+ "#{AcpcTableManager.config.player_action_channel_prefix}#{options[:match_id]}",
53
53
  :timeout => AcpcTableManager.config.maintenance_interval_s
54
54
  )
55
55
  if message
@@ -68,6 +68,7 @@ loop do
68
68
  )
69
69
  exit
70
70
  end
71
+ end
71
72
  rescue => e
72
73
  proxy.log(
73
74
  __method__,
@@ -1,3 +1,3 @@
1
1
  module AcpcTableManager
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_table_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill