parallel_tests 2.21.2 → 2.21.3

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
- SHA1:
3
- metadata.gz: 8ec5f3991661d9bdd281990647a6cd80188f165d
4
- data.tar.gz: c1edc3dd3c375f731055dd497d25844ec1bcecc1
2
+ SHA256:
3
+ metadata.gz: bf77da70ec28df90a21b90572420fadab460301e3ec1478a0cffd3e60921e075
4
+ data.tar.gz: 47bd7a45257b1bda6b5d6aab216d97962619876f9fd3c8600ba4ef06d2e1a32a
5
5
  SHA512:
6
- metadata.gz: 68df979edaa87caa68c1814db08cef3765c77c718299f1f472cc3e7bdb4d06427ee002b0e653d67762c1aa0fa1a5246748e7b683ca52ee099cda1d85d91eff0b
7
- data.tar.gz: a84410e263ed0cdf4ea558b6ec23cebdbbf652d79db1fb36ca400d7cbd4483afaa354106a99cb738aa27d47f34c8651ca2f81a820895b60eae42c1b88361c3ac
6
+ metadata.gz: 93c5b2c81652075847d8ec76e3e618a207adc20df5cafcc5328c0e7920f9bf5a0f1e6ddc0b2256dec6c282c06227992958179096c952033d6874933f7aa384d7
7
+ data.tar.gz: 4b7bd0ec398dd38a681eb0ef7c2849740b54dc00cf52dad144dccfaec5b7faeaa2edabb1d2704cdb3071193b9200d5515bd8ef492bc73cd81860e08f09010cf8
@@ -173,7 +173,10 @@ module ParallelTests
173
173
  tests.sort!
174
174
  tests.map! do |test|
175
175
  allowed_missing -= 1 unless time = runtimes[test]
176
- raise "Too little runtime info" if allowed_missing < 0
176
+ if allowed_missing < 0
177
+ log = options[:runtime_log] || runtime_log
178
+ raise "Runtime log file '#{log}' does not cointain sufficient data to sort #{tests.size} test files, please update it."
179
+ end
177
180
  [test, time]
178
181
  end
179
182
 
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '2.21.2'
2
+ VERSION = Version = '2.21.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.21.2
4
+ version: 2.21.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-01 00:00:00.000000000 Z
11
+ date: 2018-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.6.14
85
+ rubygems_version: 2.7.3
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Run Test::Unit / RSpec / Cucumber / Spinach in parallel