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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f422258724cb250ddd974f6881e88ac95672ab0a4e6726cee06ad90e49a9f696
4
- data.tar.gz: 29d7a3ceaf88671b9b74644af24ea624eb14300e1686d70ddf5a21e802ff0704
3
+ metadata.gz: 20f5e4c2f972d26054fa30ca2788fcd8047a9b06044d7ce3e6819517a766cca3
4
+ data.tar.gz: ccba4e1c22c523c049ead08e59d9bc42fd282ed3e975c7d7cea3a21fec0500fa
5
5
  SHA512:
6
- metadata.gz: 04a0ab3bf543993fd8a200af8335af1a12841fa2c300c2b936485eb7ad4ea61674b9068d7289693dc61581efb00f341f62840c2ee94568834b7f0ed4525b86d4
7
- data.tar.gz: 0d11a1db28f36366c9f3fb12fff79572ddb85a632cfbd8eb26244ada0289401d4c0340c673ebfb11097c07b80fa0b3f978a5e116e09311f2371cb2a942b8613c
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]
@@ -3,7 +3,7 @@
3
3
  module Rspec
4
4
  module Big
5
5
  module Split
6
- VERSION = "0.3.0"
6
+ VERSION = "0.3.1"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-big-split
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patryk Ptasinski