forking_test_runner 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forking_test_runner/version.rb +1 -1
- data/lib/forking_test_runner.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64128cc7f160f06146df5f574db87e9fbc7c76ea
|
4
|
+
data.tar.gz: 194fa97dea7415df5da9c0421667c2822834af1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fd4aac197073e9afc9c12b7010771b3333f0f910b8663baf13f1656bc7b685bacbc44ef3296e08077e175f1bbd8873a290587bcd3c9ba1c196bff112c77d391
|
7
|
+
data.tar.gz: 7bedeec8f452e86b56528541a966a2be80b05deeb6ebf76c3d781077be1f7b1679144ae53cba04a52ee719e1097f7af57dd58d99e9552472e21ef70fe5ec5632
|
data/lib/forking_test_runner.rb
CHANGED
@@ -93,9 +93,8 @@ module ForkingTestRunner
|
|
93
93
|
else
|
94
94
|
group = 1
|
95
95
|
group_count = 1
|
96
|
-
size = argv.index
|
96
|
+
size = argv.index { |arg| arg.start_with? "-" } || argv.size
|
97
97
|
tests = argv.slice!(0, size)
|
98
|
-
argv.shift # remove --
|
99
98
|
end
|
100
99
|
|
101
100
|
[group, group_count, tests]
|
@@ -191,7 +190,7 @@ module ForkingTestRunner
|
|
191
190
|
def toggle_test_autorun(value, file=nil)
|
192
191
|
if @rspec
|
193
192
|
if value
|
194
|
-
RSpec::Core::Runner.run([file])
|
193
|
+
RSpec::Core::Runner.run([file] + ARGV)
|
195
194
|
else
|
196
195
|
require 'bundler/setup'
|
197
196
|
require 'rspec'
|
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.4.
|
4
|
+
version: 0.4.1
|
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-04-
|
11
|
+
date: 2015-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel_tests
|