coderunner 0.16.11 → 0.16.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57749fd6d800f7b6c0cc202d1dee1df3fba248fa
4
- data.tar.gz: d387558fe325d4077b7504bdce8501b923f622c4
3
+ metadata.gz: 5a5fabaed2679fb026e5d753d3dfa7a4b5923c8f
4
+ data.tar.gz: c8c733a67cf95a7aa962a70904b5263c91b3ba04
5
5
  SHA512:
6
- metadata.gz: 604591a573e66ec8dc4c42429a39531822b47888a7366c7284d024d28cf4f1835cd10e4b9ddf593c61342633a59dd4a91e4b5bc01bcf5702f75771c79fa0b3a4
7
- data.tar.gz: 5cf7f4b6ba26d06d33bd8d3ecb54cf4a5159d1c4917e3481be8e9f2697cd1d832b20d864e8aac2cffbedfb470bc98ce87357d73ed551a7a125bd37623b7abe3f
6
+ metadata.gz: b03ae4cabb3003e47f3b29eb113a9a513fd5fa2c20b479ff5cb4187f0d262752f95de198fbb69ec57e417a9d0bf3c623a3b0fb06330f2e7ab4865170694ea9b7
7
+ data.tar.gz: 1ec4d8aad74c2f772fb0a8c641f9134e2e3f1dc23b39b7ed2c1ba9c4e5b2d5ebbfd878b8a7ce96a2b26e8888d90a333d48a52aafaf1e6b2d34b867165cacb52d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.16.11
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.11 ruby lib
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.11"
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"]
@@ -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 = {}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coderunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.11
4
+ version: 0.16.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Highcock