rspec-big-split 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/rspec-big-split +1 -1
- data/lib/rspec/big/split/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6347583aaaa1023d318175c6f4b3df323a83b5a318d56b62c4f305d70c505ab
|
4
|
+
data.tar.gz: a6645a6be824a30fe6f88ea67469d43ddfde725cca940c2fafd3079c21f1bc9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72381ab8bcc965cec5b649bda87ec10c1cc1d22f5bb4c2e05227367d2f9658bce2535f24bcb5b4d44f311f55b783acb27943410a0d807b93fbda7663e839845f
|
7
|
+
data.tar.gz: 7086df14a1d7572d11426832557e6ed41e76a34b96cf17613a7f4369f2f623aa34f36e8cf1a521513b4c2d6c540dd2b1cba1b797c6fcfadbbbbbcb7529282cc4
|
data/exe/rspec-big-split
CHANGED
@@ -31,7 +31,7 @@ if ARGV[0]
|
|
31
31
|
# Split the examples into groups
|
32
32
|
examples_to_run_for_current_worker = []
|
33
33
|
example_paths.keys.sort.each_with_index do |example, index|
|
34
|
-
next unless index % total_workers == this_worker_index
|
34
|
+
next unless ((index % total_workers) + 1) == this_worker_index
|
35
35
|
|
36
36
|
examples_to_run_for_current_worker.concat(
|
37
37
|
example_paths[example]
|