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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f4949bda4bf2340ecc2bdbc26e27dcf7997a4e0
4
- data.tar.gz: 8d7c6cbd163dd04cf57f5af38f7edeef622a7d00
3
+ metadata.gz: 64128cc7f160f06146df5f574db87e9fbc7c76ea
4
+ data.tar.gz: 194fa97dea7415df5da9c0421667c2822834af1c
5
5
  SHA512:
6
- metadata.gz: bb20aee7735368aae9210789f9248cd70044018d6234242600c17b4bc84553eb680fbd8eda38791acd0ef3b0d516feae66d72dbe83ac1944a34a5f50461a345f
7
- data.tar.gz: 8192705be39e309668fc7fb7c54330b824698b423e9729c271ce8f4698077e46d1ac37ac689070abe2732be023fe2c672ca68cc4d156f7b5318f4ac614aa2c65
6
+ metadata.gz: 4fd4aac197073e9afc9c12b7010771b3333f0f910b8663baf13f1656bc7b685bacbc44ef3296e08077e175f1bbd8873a290587bcd3c9ba1c196bff112c77d391
7
+ data.tar.gz: 7bedeec8f452e86b56528541a966a2be80b05deeb6ebf76c3d781077be1f7b1679144ae53cba04a52ee719e1097f7af57dd58d99e9552472e21ef70fe5ec5632
@@ -1,3 +1,3 @@
1
1
  module ForkingTestRunner
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -93,9 +93,8 @@ module ForkingTestRunner
93
93
  else
94
94
  group = 1
95
95
  group_count = 1
96
- size = argv.index("--") || argv.size
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.0
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-25 00:00:00.000000000 Z
11
+ date: 2015-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel_tests