forking_test_runner 1.5.0 → 1.5.1

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
  SHA256:
3
- metadata.gz: fc4844e1ccea576d0e7992efedab19587cb803ec04df7db7f82061253bada8fe
4
- data.tar.gz: 2a8a12c8446e35c410417ac5271cd401d525d508a9b0db2c1c0674bd81d9275f
3
+ metadata.gz: ef9594eb4e2644f8afa4ace2ecafc1f71eef58258297a9a3a425749669310908
4
+ data.tar.gz: f3f1a73b501941fa9dd01b93324ca294f05337dc9643777ac1113b79e1d22a53
5
5
  SHA512:
6
- metadata.gz: 67e48c4c7e3ac01664bfb0b21bf8339875a1fed6b8a40a75f546cd849ad165df3346afaf641035317ff0be8d553ab745f2cc7e14fb3d747c5849db01d5bab1d9
7
- data.tar.gz: 59c63fcf19c1a472804504987d31bfe01e85805453db87104068279227a7b83391e9cc74323f412033d1fbe83a5a9b4304805b249f275539ba2367a3478e2460
6
+ metadata.gz: 3fcc2695e506ca3360561436d55dd01117aae03c033b1b60ad3147acd59bf8cd278aff0e386db75dd9847f85b8528829a007ed6bb5b28d0ea2f78f88881ce95a
7
+ data.tar.gz: efff54891fd50adbe0311e63068dc6fe5c131e6e4557ae3f5369790c68344bca7139138e85af70599d974eab57f65b4813ae8102cf9b8012ed8a61d491b328be
@@ -21,6 +21,7 @@ module ForkingTestRunner
21
21
  if parallel && !@options.fetch(:group)
22
22
  Array.new(parallel) { |i| find_tests_for_group(i + 1, parallel, tests, runtime_log) }
23
23
  else
24
+ raise ArgumentError, "Use the same amount of processors as groups" if parallel && parallel != group_count
24
25
  groups.map { |group| find_tests_for_group(group, group_count, tests, runtime_log) }
25
26
  end
26
27
 
@@ -1,3 +1,3 @@
1
1
  module ForkingTestRunner
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forking_test_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-02 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel_tests