parallel_tests 3.10.0 → 3.10.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02e1b418b273cae6dc5c01e23a772e096ab58ff438b48cc6931a9f786f760edc
4
- data.tar.gz: adbe80da32bcf51282bfb8dc7027083aaa764824ba17276e93b399b4c5444a13
3
+ metadata.gz: 777189ca793239a4c1f468a50d69c3518047cb5ea72432521fd99ab8b9a7b61c
4
+ data.tar.gz: 47b6fad3f42ab691d29ed8037cb0025d318ef791b90769aafc86edf8ca88cb1f
5
5
  SHA512:
6
- metadata.gz: 188deeb8e49d97dce2fb367948d02531a54377528338ae3cee13e3ab5dd414b2956b1103a3dd617797761c14a933597b905942823a0ab011d49a9ea5e5b0d51a
7
- data.tar.gz: f397c05454ab591adff4012214a2e50c37f5b562bc6824833be5ca2c6bb8280f48bab781f27304c25f952f19f5322e5afa2f7f25a2083880eba09035d81b4da3
6
+ metadata.gz: a473918b8acb6391550a1a2a5d4f7a261994aea2937b37ad927b73282b4c9a9d61a3d9a656ce429abeb76321ae9a2a3ee084fb962c4bb026e8692712b9b8b9ce
7
+ data.tar.gz: 75d3625ec3b6f89cdd3b8a7463b156de059cabd5da49b3bbd4797b413e35ee0cd9955f0274a289f09d82293b19ae9ae084a371b67cba3c2a2cc22fc5e3a52057
@@ -244,17 +244,17 @@ namespace :parallel do
244
244
  'test' => 'test',
245
245
  'features' => 'cucumber',
246
246
  'features-spinach' => 'spinach'
247
- }[type]
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 << pass_through if pass_through
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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ParallelTests
3
- VERSION = '3.10.0'
3
+ VERSION = '3.10.1'
4
4
  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.0
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-23 00:00:00.000000000 Z
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.0/Readme.md
72
- source_code_uri: https://github.com/grosser/parallel_tests/tree/v3.10.0
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: []