parallel_tests 1.3.6 → 1.3.7

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: b57802f4d3da910095fefb6c49645784d566ae31
4
- data.tar.gz: 355cc6948f4513854032fde22251d7a4e136bd49
3
+ metadata.gz: 1646c6d92a16b6c2f141d2cfd20af1dcdf491141
4
+ data.tar.gz: 2265ae4f1843166e30f11b7b4855b6dea98a58bf
5
5
  SHA512:
6
- metadata.gz: 1f225a898105d9363f624f1d62c3776d7d7893a2ad718fc1ebae4dacac84af2aad915566b2e4534ff4ab71c525faad95d425033f79f7b0f4c554529fca19fa8c
7
- data.tar.gz: 34d5724a1fb8085e2677077abd08d70486f7195b0a1f019a53be8bd413de8c8b6e9cbcb3562a1e7943d1e31e23fea16f4dd6a0f0d6e9ef87d0dfcc5ecd8450d6
6
+ metadata.gz: d303d05c5dd6a5ad7985b18aca984c07cb501f4c07b5b0ca75fd944cbf8cd20ca89535a90d4ef1b0e6259fadcb206ea0325a8dcec5b830cf71569f6ae218d419
7
+ data.tar.gz: 516172942dd242cc622c4ac013fe7a74091c05c588b1d20b81282aadfe65153008dcf59e367d465d711ea049efb84978194c7f36a4e51ca473e9f104980e797f
@@ -39,6 +39,11 @@ module ParallelTests
39
39
 
40
40
  # finds all tests and partitions them into groups
41
41
  def tests_in_groups(tests, num_groups, options={})
42
+ tests = tests_with_size(tests, options)
43
+ Grouper.in_even_groups_by_size(tests, num_groups, options)
44
+ end
45
+
46
+ def tests_with_size(tests, options)
42
47
  tests = find_tests(tests, options)
43
48
 
44
49
  case options[:group_by]
@@ -61,7 +66,7 @@ module ParallelTests
61
66
  raise ArgumentError, "Unsupported option #{options[:group_by]}"
62
67
  end
63
68
 
64
- Grouper.in_even_groups_by_size(tests, num_groups, options)
69
+ tests
65
70
  end
66
71
 
67
72
  def execute_command(cmd, process_number, num_processes, options)
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '1.3.6'
2
+ VERSION = Version = '1.3.7'
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: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel