forking_test_runner 0.5.1 → 0.6.0

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: f0c3c0a4bc43e3442699190cb46d25d9af51db93
4
- data.tar.gz: b23439e5ff19f6b4daa3ff6b372c2572029ada85
3
+ metadata.gz: 455fbc6f17156c672bf430e9b003c968d5607dc7
4
+ data.tar.gz: b7d396787d8df135c38d45587241dbb9f4eefdbb
5
5
  SHA512:
6
- metadata.gz: 4bf29a70cb9e7adcd1bc825bc78e6b9a2443354af3dbf040d590682dfd9efa3f1342f943bbc725193a881e72d9f88b078d534b5b024749568c3c390f91592cbc
7
- data.tar.gz: b4bd45ccddb743e234f17d35f69cce799d9246fcbb438152035aed841bf3fd057fed3ce796883a95e20e73058a18e1e30143485df9fec1fdbc849d1219085727
6
+ metadata.gz: b7f8da2b97dfd0c554eec9e74f74cfc06ad1053184b2d9811874a77797dc3673a8bda7f23398a7995f26d09a19d1fc6e372c4461bf3538b17037c8d3feffa199
7
+ data.tar.gz: 5031d3a3bebe4a34d6e66d9a9cbac3b92f64d0a01de61e0604e36cb18e1096bb8f5384d58af24a91a68a587324ff6e67fc4161b56541018e562fc177aa1d8b8a
@@ -85,11 +85,11 @@ module ForkingTestRunner
85
85
 
86
86
  def summarize_results(results)
87
87
  runner = if @rspec
88
- require 'parallel_tests/test/runner'
89
- ParallelTests::Test::Runner
90
- else
91
88
  require 'parallel_tests/rspec/runner'
92
89
  ParallelTests::RSpec::Runner
90
+ else
91
+ require 'parallel_tests/test/runner'
92
+ ParallelTests::Test::Runner
93
93
  end
94
94
 
95
95
  runner.summarize_results(results.map { |r| runner.find_results(r) })
@@ -284,7 +284,7 @@ module ForkingTestRunner
284
284
  def toggle_test_autorun(value, file=nil)
285
285
  if @rspec
286
286
  if value
287
- RSpec::Core::Runner.run([file] + ARGV)
287
+ exit(RSpec::Core::Runner.run([file] + ARGV))
288
288
  else
289
289
  require 'bundler/setup'
290
290
  require 'rspec'
@@ -1,3 +1,3 @@
1
1
  module ForkingTestRunner
2
- VERSION = "0.5.1"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forking_test_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
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-06-18 00:00:00.000000000 Z
11
+ date: 2015-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel_tests
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.2.3
156
+ rubygems_version: 2.2.2
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Run every test in a fork to avoid pollution and get clean output per test