parallel_tests 3.10.0 → 3.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parallel_tests/tasks.rb +3 -3
- data/lib/parallel_tests/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 777189ca793239a4c1f468a50d69c3518047cb5ea72432521fd99ab8b9a7b61c
|
4
|
+
data.tar.gz: 47b6fad3f42ab691d29ed8037cb0025d318ef791b90769aafc86edf8ca88cb1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a473918b8acb6391550a1a2a5d4f7a261994aea2937b37ad927b73282b4c9a9d61a3d9a656ce429abeb76321ae9a2a3ee084fb962c4bb026e8692712b9b8b9ce
|
7
|
+
data.tar.gz: 75d3625ec3b6f89cdd3b8a7463b156de059cabd5da49b3bbd4797b413e35ee0cd9955f0274a289f09d82293b19ae9ae084a371b67cba3c2a2cc22fc5e3a52057
|
data/lib/parallel_tests/tasks.rb
CHANGED
@@ -244,17 +244,17 @@ namespace :parallel do
|
|
244
244
|
'test' => 'test',
|
245
245
|
'features' => 'cucumber',
|
246
246
|
'features-spinach' => 'spinach'
|
247
|
-
}
|
247
|
+
}.fetch(type)
|
248
248
|
|
249
249
|
type = 'features' if test_framework == 'spinach'
|
250
250
|
# Using the relative path to find the binary allow to run a specific version of it
|
251
251
|
executable = File.expand_path('../../bin/parallel_test', __dir__)
|
252
252
|
|
253
253
|
command = [*ParallelTests.with_ruby_binary(executable), type, '--type', test_framework]
|
254
|
-
command += ['-n', count] if count
|
254
|
+
command += ['-n', count.to_s] if count
|
255
255
|
command += ['--pattern', pattern] if pattern
|
256
256
|
command += ['--test-options', options] if options
|
257
|
-
command
|
257
|
+
command += Shellwords.shellsplit pass_through if pass_through
|
258
258
|
|
259
259
|
abort unless system(*command) # allow to chain tasks e.g. rake parallel:spec parallel:features
|
260
260
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.10.
|
4
|
+
version: 3.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|
@@ -68,8 +68,8 @@ licenses:
|
|
68
68
|
- MIT
|
69
69
|
metadata:
|
70
70
|
bug_tracker_uri: https://github.com/grosser/parallel_tests/issues
|
71
|
-
documentation_uri: https://github.com/grosser/parallel_tests/blob/v3.10.
|
72
|
-
source_code_uri: https://github.com/grosser/parallel_tests/tree/v3.10.
|
71
|
+
documentation_uri: https://github.com/grosser/parallel_tests/blob/v3.10.1/Readme.md
|
72
|
+
source_code_uri: https://github.com/grosser/parallel_tests/tree/v3.10.1
|
73
73
|
wiki_uri: https://github.com/grosser/parallel_tests/wiki
|
74
74
|
post_install_message:
|
75
75
|
rdoc_options: []
|