parallel_split_test 0.9.1 → 0.10.0
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/lib/parallel_split_test/version.rb +1 -1
- data/lib/parallel_split_test.rb +1 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1658b4c2471eed1d445277733fe35bafc02391b0440ea8754d8e7bf24a683a2
|
4
|
+
data.tar.gz: 0e98524d5a2143c32763d817d41f614b35042630fe45539ab8c47ac59e201a09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fd7f45e0e4c0b8f129d793b94ecbe156240f14736b046ca31990a5f5ce054e4eaa6aab4c72d6c9f01fbc3aedf70c45729310301c882dc35f50c0ebb4b94b279
|
7
|
+
data.tar.gz: af969169b4d89ec417b706802b72680fe7da1bee6eee1ed5c9e64ea6cd4fa0a3ace242ceb0f20fd701593a009b7915e7d4bed3e278f201a4a47ecff25bae1960
|
data/lib/parallel_split_test.rb
CHANGED
@@ -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.
|
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-
|
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.
|
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
|