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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f422258724cb250ddd974f6881e88ac95672ab0a4e6726cee06ad90e49a9f696
4
- data.tar.gz: 29d7a3ceaf88671b9b74644af24ea624eb14300e1686d70ddf5a21e802ff0704
3
+ metadata.gz: f6347583aaaa1023d318175c6f4b3df323a83b5a318d56b62c4f305d70c505ab
4
+ data.tar.gz: a6645a6be824a30fe6f88ea67469d43ddfde725cca940c2fafd3079c21f1bc9b
5
5
  SHA512:
6
- metadata.gz: 04a0ab3bf543993fd8a200af8335af1a12841fa2c300c2b936485eb7ad4ea61674b9068d7289693dc61581efb00f341f62840c2ee94568834b7f0ed4525b86d4
7
- data.tar.gz: 0d11a1db28f36366c9f3fb12fff79572ddb85a632cfbd8eb26244ada0289401d4c0340c673ebfb11097c07b80fa0b3f978a5e116e09311f2371cb2a942b8613c
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]
@@ -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.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.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patryk Ptasinski