rspec-big-split 0.3.0 → 0.3.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 +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: 20f5e4c2f972d26054fa30ca2788fcd8047a9b06044d7ce3e6819517a766cca3
|
|
4
|
+
data.tar.gz: ccba4e1c22c523c049ead08e59d9bc42fd282ed3e975c7d7cea3a21fec0500fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8cf84fa84d023337a0ac541344ea317db3877b57c6fe3947cc13ba90bf4ef09917872137687e8543eb2d84462972414dbd678c59a5a431709aee582bc20dc4e
|
|
7
|
+
data.tar.gz: 3be4b0b93b25f3a53cb41d06e305292e1855c6420f0e2f9ab62938ddc20d7288a57c4a9974273f8acdc572fb910738d4280574717946068695ac9dda38b6d5a7
|
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]
|