parallel_tests 2.2.1 → 2.2.2

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
  SHA1:
3
- metadata.gz: f2aed504af28e6422ce6a0dab9578f86a6004f3c
4
- data.tar.gz: b458e25fe0bcbd498b556956f9156279f846f699
3
+ metadata.gz: 1845793bf53e304ba2fcd7b3597f383b31b8b8a8
4
+ data.tar.gz: 23622090c253a5af401ef124c3e9d48c8a627ead
5
5
  SHA512:
6
- metadata.gz: 0c3334b6c532d21ebda0a8fc355a3e96df884c3424fac5d00068689d07efc07ad6e4dfe896303442b6e16ab08f501e220963c0bf714341101266cff5928a2e28
7
- data.tar.gz: 6bb00ec1ea1f187a62ff30ec130bd20895bd835485c9e95a651a9f13a50bfff4216f57ab7aafe7f7cfb1c8f5227893d78676a57c3d4243f623f7f9890a6e81cf
6
+ metadata.gz: 3fff6263cad7523b4c5846e633ae5690325c6b04dbad04f5e95b8539de1ccbbd99733fa9584a461f04bbc646d0c7b24f09036f373f7ed0ccc44e147238195910
7
+ data.tar.gz: 99e3af37c79faff9aee6c81b2e573d5d309973cafdf54cb80f6090a8165018540990e5cb3376012d94ea433596a63425984811c241779c81e6b3580a40617c15
@@ -14,7 +14,7 @@ module ParallelTests
14
14
  def run_in_parallel(cmd, options={})
15
15
  count = " -n #{options[:count]}" unless options[:count].to_s.empty?
16
16
  executable = File.expand_path("../../../bin/parallel_test", __FILE__)
17
- command = "#{executable} --exec '#{cmd}'#{count}#{' --non-parallel' if options[:non_parallel]}"
17
+ command = "#{Shellwords.escape executable} --exec '#{cmd}'#{count}#{' --non-parallel' if options[:non_parallel]}"
18
18
  abort unless system(command)
19
19
  end
20
20
 
@@ -147,7 +147,7 @@ namespace :parallel do
147
147
  end
148
148
  executable = File.join(File.dirname(__FILE__), '..', '..', 'bin', 'parallel_test')
149
149
 
150
- command = "#{executable} #{type} --type #{test_framework} " \
150
+ command = "#{Shellwords.escape executable} #{type} --type #{test_framework} " \
151
151
  "-n #{count} " \
152
152
  "--pattern '#{pattern}' " \
153
153
  "--test-options '#{options}'"
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '2.2.1'
2
+ VERSION = Version = '2.2.2'
3
3
  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: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-05 00:00:00.000000000 Z
11
+ date: 2016-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel