parallel_tests 0.16.11 → 0.16.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b5c13209594eeecd1b1ae6f1a4f40e345bd9320
4
- data.tar.gz: 50f02a5386ac62dfd718621310cf7cea4bf1d19e
3
+ metadata.gz: 667c12d9dea9a32a5161e7223857b9552839dbbf
4
+ data.tar.gz: 21ff75e3bd5c576141af1ebd4a9a8fc1a2c4379d
5
5
  SHA512:
6
- metadata.gz: 93b226f3df70afdb10ded629b852757e77e038721a67a34b59dccf74f21625be78143811d35333f6d477e5e0f5e53dedeeb71897af88614c6e6c60f1419f0a7b
7
- data.tar.gz: 129563f33850178e7df202b6580d19c03957b9eb0a186cc0da68b1a60670e9503fc1a6da91d2011b802a63dc7521182b3ca6dfb7d8636d90a53830cab9dbbe1f
6
+ metadata.gz: 24c6aad5498a6cc1b32a49a4fe003d1b9b11cba67678fcbd25a7fbf025c1dbb14af0d29557594560618a7360517e31238b14ef042d1ce1d133999e3cd1698e58
7
+ data.tar.gz: e35c86efb57eb8577d147bb73e626ed2f3b612ea48616971aa54e530acaf8cfc5594075e928518292241e30f69824a16d88613b1943354db963c8b70f8c4d930
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parallel_tests (0.16.11)
4
+ parallel_tests (0.16.12)
5
5
  parallel
6
6
 
7
7
  GEM
@@ -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 > /dev/null 2>&1" }
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")
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '0.16.11'
2
+ VERSION = Version = '0.16.12'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.11
4
+ version: 0.16.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser