rspec-big-split 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: 20f5e4c2f972d26054fa30ca2788fcd8047a9b06044d7ce3e6819517a766cca3
4
- data.tar.gz: ccba4e1c22c523c049ead08e59d9bc42fd282ed3e975c7d7cea3a21fec0500fa
3
+ metadata.gz: f6347583aaaa1023d318175c6f4b3df323a83b5a318d56b62c4f305d70c505ab
4
+ data.tar.gz: a6645a6be824a30fe6f88ea67469d43ddfde725cca940c2fafd3079c21f1bc9b
5
5
  SHA512:
6
- metadata.gz: d8cf84fa84d023337a0ac541344ea317db3877b57c6fe3947cc13ba90bf4ef09917872137687e8543eb2d84462972414dbd678c59a5a431709aee582bc20dc4e
7
- data.tar.gz: 3be4b0b93b25f3a53cb41d06e305292e1855c6420f0e2f9ab62938ddc20d7288a57c4a9974273f8acdc572fb910738d4280574717946068695ac9dda38b6d5a7
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) - 1) == 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.1"
6
+ VERSION = "0.3.2"
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patryk Ptasinski