acpc_table_manager 3.0.8 → 3.0.9

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: 808c9fb99e11e9c783e5e76ddba2883c13a61b25
4
- data.tar.gz: 485d2baaa9155af73b9eb92afdf60efb679f7dd0
3
+ metadata.gz: fbbf4a6246c71fcf7aa637c8e1885c2a0f215faf
4
+ data.tar.gz: ac2ecf21144df58b7e9919b71e7f3fadcf85b44b
5
5
  SHA512:
6
- metadata.gz: 707785193379baf665b64bd0c512ab6d5672136e2546804a8ced1b9de3574e560839149a9248b3d588118b17e8b4b46a5e873c5c310c3bd8e4692aa8764f55a5
7
- data.tar.gz: 44b5e3c6d38d82d7ddd8268e5794e801de8c728e9fb7789e67d229a5c8669941db2a4b9eecea84ba2d0f45e8a6f72433c16fc43893a30ec861c5bfb1f8e9faa2
6
+ metadata.gz: c12cc900964eac3d80b947e55e419719d9e6d3065283833c57a716c421a2bce3a50cf7b8d42d0f97a4e838d4c33c97c7226edfe0d0adb88fc1072ecb872e5785
7
+ data.tar.gz: 491308db161bf4221231eaea32d1aafc2309da39129056bbcc007b3c50395f4d29407dfa6f78f4430154e0d4f4f74f359c3484cf8274eb712fa14a13324e038c
@@ -93,11 +93,7 @@ class Match
93
93
  matches.possibly_running.select { |match| match.running? }
94
94
  end
95
95
  def not_running(matches=all)
96
- (
97
- matches.not.possibly_running.to_a + (
98
- matches.possibly_running.select { |match| !match.running? }
99
- )
100
- )
96
+ matches.select { |match| !match.running? }
101
97
  end
102
98
  def finished(matches=all)
103
99
  matches.select { |match| match.finished? }
@@ -116,7 +112,7 @@ class Match
116
112
  # @return The matches to be started (have not been started and not
117
113
  # currently running) ordered from newest to oldest.
118
114
  def start_queue(matches=all)
119
- not_running(matches.not_started.and.ready_to_start.desc(:updated_at))
115
+ matches.not_started.and.ready_to_start.desc(:updated_at)
120
116
  end
121
117
 
122
118
  def kill_all_orphan_processes!(matches=all)
@@ -1,3 +1,3 @@
1
1
  module AcpcTableManager
2
- VERSION = "3.0.8"
2
+ VERSION = "3.0.9"
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: 3.0.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill