coderunner 0.16.11 → 0.16.12
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 +4 -4
- data/VERSION +1 -1
- data/coderunner.gemspec +2 -2
- data/lib/coderunner/run.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a5fabaed2679fb026e5d753d3dfa7a4b5923c8f
|
|
4
|
+
data.tar.gz: c8c733a67cf95a7aa962a70904b5263c91b3ba04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b03ae4cabb3003e47f3b29eb113a9a513fd5fa2c20b479ff5cb4187f0d262752f95de198fbb69ec57e417a9d0bf3c623a3b0fb06330f2e7ab4865170694ea9b7
|
|
7
|
+
data.tar.gz: 1ec4d8aad74c2f772fb0a8c641f9134e2e3f1dc23b39b7ed2c1ba9c4e5b2d5ebbfd878b8a7ce96a2b26e8888d90a333d48a52aafaf1e6b2d34b867165cacb52d
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.16.
|
|
1
|
+
0.16.12
|
data/coderunner.gemspec
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: coderunner 0.16.
|
|
5
|
+
# stub: coderunner 0.16.12 ruby lib
|
|
6
6
|
# stub: ext/extconf.rb
|
|
7
7
|
|
|
8
8
|
Gem::Specification.new do |s|
|
|
9
9
|
s.name = "coderunner"
|
|
10
|
-
s.version = "0.16.
|
|
10
|
+
s.version = "0.16.12"
|
|
11
11
|
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
13
13
|
s.require_paths = ["lib"]
|
data/lib/coderunner/run.rb
CHANGED
|
@@ -297,6 +297,14 @@ def process_directory
|
|
|
297
297
|
#logi '@@current_status', @@current_status, '@job_no', @job_no
|
|
298
298
|
#logi '@running', @running
|
|
299
299
|
process_directory_code_specific
|
|
300
|
+
|
|
301
|
+
# Sometimes the run can be completed and still in the queue, in
|
|
302
|
+
# which case process_directory_code_specific may set @status==:Complete
|
|
303
|
+
# or @status==:Failed even though @running = true. Here we update
|
|
304
|
+
# @running if this is the case. This will have no effect on any subsequent
|
|
305
|
+
# update as CodeRunner does not use @running as a criterion for deciding
|
|
306
|
+
# whether or not to recheck a run and call process_directory again.
|
|
307
|
+
@running = false if [:Complete, :Failed].include? @status
|
|
300
308
|
|
|
301
309
|
raise CRFatal.new("status must be one of #{PERMITTED_STATI.inspect}") unless PERMITTED_STATI.include? @status
|
|
302
310
|
@max = {}
|