acpc_table_manager 2.1.1 → 2.1.2

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: 5c36e100138bb92133b4ca50aee00f92480765e0
4
- data.tar.gz: 19ccc449d3fbca40ccc22cf7b2734e1f4d39a963
3
+ metadata.gz: 40cdacd266e472effa1e421f0d6a309c9dc4572c
4
+ data.tar.gz: f59f137e26e6a42a81564ce9f48d13f43bcd2d3f
5
5
  SHA512:
6
- metadata.gz: 85de8218233b2a99e6b4e5978e13b45c599c40896a9b27922dcac1537bcc01a918d35a948eb95e4d46731871aee6bd2d3ef68eca4afe4a3899c8b64e288ebeeb
7
- data.tar.gz: fc29c641dde8ad1fb4379c55b8a7003e7f72598dcf2ccbd9c55bbe46d9747fe3b45a1d6fd788cae71266e25a845a4557faba39c991a61446e60f9a34d5d68303
6
+ metadata.gz: 9015fb9855b15b5e0935f2cd7030c5e9027c364caaaca0161226b702c25e543a4e385496e224badaaddb8eb1fff64c8142a0ffb27e28a199b453862c2a4cb9b2
7
+ data.tar.gz: a2dc237858e18e7c1344e630765ad93f11abfc659a907822028406c95dc0c40c318992348d59a71db470a74d71069ff012fba36cffea129ae6352bc6b190d6b7
@@ -100,7 +100,7 @@ module AcpcTableManager
100
100
  self.class().update_pids self.class().proxy_pids_file do
101
101
  queues_touched = enqueue_waiting_matches
102
102
  matches_started = []
103
- queues_touched.each do |_, queue|
103
+ queues_touched.each do |queue|
104
104
  matches_started << queue.check_queue!
105
105
  end
106
106
  matches_started
@@ -131,10 +131,9 @@ module AcpcTableManager
131
131
  __method__,
132
132
  msg: "Match #{match_id} already started!"
133
133
  )
134
- return self
134
+ else
135
+ @matches_to_start << {match_id: match_id, options: dealer_options}
135
136
  end
136
-
137
- @matches_to_start << {match_id: match_id, options: dealer_options}
138
137
  self
139
138
  end
140
139
 
@@ -1,3 +1,3 @@
1
1
  module AcpcTableManager
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
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: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-25 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pony