parallel_tests 0.16.8 → 0.16.9

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: 90404adedf371fc723a913eebd4c59db6f0f334c
4
- data.tar.gz: 6c4c6c55c6fe1e1e6b92ad79598e91d7da0ff795
3
+ metadata.gz: 16e502a4de4ecb90d4993147c6b876f4b976d28b
4
+ data.tar.gz: 758bb96dc80b66d76246e802f6d1fd52d8bab312
5
5
  SHA512:
6
- metadata.gz: da4420026e7f2cb832e7e0b0f09f977964ace8f09611f9ae21025c47d2769730c252973d0f31901789b85329bbe92f6b68e38f8276e56400954904fc41e83259
7
- data.tar.gz: f7d7c7064aae750bba6f0be4ae830ef3f8101bf25bf9c1b1ed8ff9b765bdef3f8a704bd8b2be2360e1a68c9a44c055f873f5b4144b928cd68cf2c5f9711b3c29
6
+ metadata.gz: 959fa04af26efc506b940cdd108a5268c36b73214c282b15f35bfeed5d1f182801e3c7191bc8b00593385ea4893ee7592032483ea05bac4ad036cf3544ecf93a
7
+ data.tar.gz: 0fda011e67b8c087d911137684066ee53ab7985ab6b26bf844a70ac64c45c43c15b89e6f1ff9d5e635c454a5bef1e9a9b3a3c68c7f9f61c984cb6218f3e92341
data/.travis.yml CHANGED
@@ -2,5 +2,6 @@ rvm:
2
2
  - ree
3
3
  - 1.9.3
4
4
  - 2.0.0
5
- - jruby-1.7.3
6
- - jruby-head
5
+ - 2.1.0
6
+ - jruby-1.7.6
7
+ - jruby-head
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parallel_tests (0.16.8)
4
+ parallel_tests (0.16.9)
5
5
  parallel
6
6
 
7
7
  GEM
@@ -24,7 +24,7 @@ GEM
24
24
  gherkin-ruby (0.3.0)
25
25
  multi_json (1.8.2)
26
26
  multi_test (0.0.2)
27
- parallel (0.9.1)
27
+ parallel (0.9.2)
28
28
  rake (10.0.3)
29
29
  rspec (2.13.0)
30
30
  rspec-core (~> 2.13.0)
data/Readme.md CHANGED
@@ -210,7 +210,7 @@ TIPS
210
210
  ====
211
211
  - [RSpec] add a `.rspec_parallel` to use different options, e.g. **no --drb**
212
212
  - [RSpec] delete `script/spec`
213
- - [[Spork](https://github.com/sporkrb/spork)] does not work with parallel_tests
213
+ - [[Spork](https://github.com/sporkrb/spork)] does not work with parallel_tests except when using [sqlite in memory](https://github.com/grosser/parallel_tests/wiki#wiki-with-spork)
214
214
  - [RSpec] remove --loadby from you spec/*.opts
215
215
  - [RSpec] Instantly see failures (instead of just a red F) with [rspec-instafail](https://github.com/grosser/rspec-instafail)
216
216
  - [Bundler] if you have a `Gemfile` then `bundle exec` will be used to run tests
@@ -7,7 +7,9 @@ module ParallelTests
7
7
 
8
8
  class << self
9
9
  def run_tests(test_files, process_number, num_processes, options)
10
- sanitized_test_files = test_files.map { |val| Shellwords.escape(val) }
10
+ windows = (RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/) #Shellwords doesn't work for windows
11
+ sanitized_test_files = test_files.map { |val| windows ? "\"#{val}\"" : Shellwords.escape(val) }
12
+
11
13
  options = options.merge(:env => {"AUTOTEST" => "1"}) if $stdout.tty? # display color when we are in a terminal
12
14
  cmd = [
13
15
  executable,
@@ -1,3 +1,3 @@
1
1
  module ParallelTests
2
- VERSION = Version = '0.16.8'
2
+ VERSION = Version = '0.16.9'
3
3
  end
@@ -276,6 +276,8 @@ describe 'CLI' do
276
276
  end
277
277
 
278
278
  it "writes a runtime log" do
279
+ pending "TODO find out why this fails" if RUBY_PLATFORM == "java"
280
+
279
281
  log = "tmp/parallel_runtime_cucumber.log"
280
282
  write(log, "x")
281
283
  2.times{|i|
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: 0.16.8
4
+ version: 0.16.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-13 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel