parallel_split_test 0.9.1 → 0.10.0

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: 63649587db8f5ef9ea136995167e1c88e67d7a37272c6f49ceb1d7a41e6e3e5d
4
- data.tar.gz: '09c65524b921bcc0e9c93965b6d7317812bc4344b21c55c4ac7a1378e6031956'
3
+ metadata.gz: a1658b4c2471eed1d445277733fe35bafc02391b0440ea8754d8e7bf24a683a2
4
+ data.tar.gz: 0e98524d5a2143c32763d817d41f614b35042630fe45539ab8c47ac59e201a09
5
5
  SHA512:
6
- metadata.gz: fd8036881633b94933c0c27e5b69f1ffdd995c6d4398f13c14bfd6a46efcc98e1fc144fee0fa3304c695f4a2c425a578166dfea12658779c822dd4004c7c50ab
7
- data.tar.gz: 53963087abed65236c9cc349e4eedc5a6fafdcc856f0093327b921b5a3780dfdde6afeae08a8ca40e7d97ea9b2e820413136a768cbe2ea1dc95ee6ed0bb16286
6
+ metadata.gz: 7fd7f45e0e4c0b8f129d793b94ecbe156240f14736b046ca31990a5f5ce054e4eaa6aab4c72d6c9f01fbc3aedf70c45729310301c882dc35f50c0ebb4b94b279
7
+ data.tar.gz: af969169b4d89ec417b706802b72680fe7da1bee6eee1ed5c9e64ea6cd4fa0a3ace242ceb0f20fd701593a009b7915e7d4bed3e278f201a4a47ecff25bae1960
@@ -1,3 +1,3 @@
1
1
  module ParallelSplitTest
2
- VERSION = '0.9.1'
2
+ VERSION = '0.10.0'
3
3
  end
@@ -14,11 +14,7 @@ module ParallelSplitTest
14
14
  end
15
15
 
16
16
  def best_number_of_processes
17
- [
18
- ENV['PARALLEL_SPLIT_TEST_PROCESSES'],
19
- Parallel.physical_processor_count,
20
- Parallel.processor_count
21
- ].map(&:to_i).find{|number| number > 0 }
17
+ Integer(ENV['PARALLEL_SPLIT_TEST_PROCESSES'] || Parallel.processor_count)
22
18
  end
23
19
  end
24
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_split_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-25 00:00:00.000000000 Z
11
+ date: 2021-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.1.3
75
+ rubygems_version: 3.2.16
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: Split a big test file into multiple chunks and run them in parallel