parallel_tests 0.16.11 → 0.16.12
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/Gemfile.lock +1 -1
- data/lib/parallel_tests/rspec/runner.rb +2 -1
- data/lib/parallel_tests/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 667c12d9dea9a32a5161e7223857b9552839dbbf
|
4
|
+
data.tar.gz: 21ff75e3bd5c576141af1ebd4a9a8fc1a2c4379d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24c6aad5498a6cc1b32a49a4fe003d1b9b11cba67678fcbd25a7fbf025c1dbb14af0d29557594560618a7360517e31238b14ef042d1ce1d133999e3cd1698e58
|
7
|
+
data.tar.gz: e35c86efb57eb8577d147bb73e626ed2f3b612ea48616971aa54e530acaf8cfc5594075e928518292241e30f69824a16d88613b1943354db963c8b70f8c4d930
|
data/Gemfile.lock
CHANGED
@@ -3,6 +3,7 @@ require "parallel_tests/test/runner"
|
|
3
3
|
module ParallelTests
|
4
4
|
module RSpec
|
5
5
|
class Runner < ParallelTests::Test::Runner
|
6
|
+
DEV_NULL = (RbConfig::CONFIG['host_os'] =~ /win32/ ? "NUL" : "/dev/null")
|
6
7
|
NAME = 'RSpec'
|
7
8
|
|
8
9
|
class << self
|
@@ -24,7 +25,7 @@ module ParallelTests
|
|
24
25
|
cmd = (run("bundle show rspec-core") =~ %r{Could not find gem.*} ? "spec" : "rspec")
|
25
26
|
"bundle exec #{cmd}"
|
26
27
|
else
|
27
|
-
%w[spec rspec].detect{|cmd| system "#{cmd} --version >
|
28
|
+
%w[spec rspec].detect{|cmd| system "#{cmd} --version > #{DEV_NULL} 2>&1" }
|
28
29
|
end
|
29
30
|
|
30
31
|
cmd or raise("Can't find executables rspec or spec")
|