testrbl 0.6.0 → 0.6.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: 19c9047a28fbe54dceae56eee9360e2ff2b82e8c
4
- data.tar.gz: b1cf3632adeafde0312a2de8fc26c99305c5b378
3
+ metadata.gz: 923ea811aeed11acf2cb1d77eea86ed1b7c49b07
4
+ data.tar.gz: 4bec54a14982afb152f3bceadd706955e85845b4
5
5
  SHA512:
6
- metadata.gz: ecff79d8880fda14fd4b11fa1d8c40451b29bfcb5247baec18f7ef2cf769ac3cddcf5032a42f501cf0704d3fe13d0daf29196e9b84cfdab22acf6203664c0295
7
- data.tar.gz: b76fa10d9bf4ab91746fbf1535cba627162ddbf8b4fb110ff6bf075f50e89dd9183575a1ab68beff60f135198800e3f8b51ed49f9565df09e3551beac1c87e3c
6
+ metadata.gz: f3247dd4afaaff1e83821fd06fb5e4f4b34b4ba5e290c2c0b580209c791934f595c8a198a7448050d17a24ef28edfe9808dd2451b719ecf302f293a6b9dd18c6
7
+ data.tar.gz: 31fefcdbaa877d22f2752e1e503dc8c73948452f00d5111e5b2d46fc3963c17e6208c132143a85bf7681100bd67758259955ed7bf4179f8175030b790a9ad1ac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testrbl (0.6.0)
4
+ testrbl (0.6.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -40,4 +40,4 @@ DEPENDENCIES
40
40
  testrbl!
41
41
 
42
42
  BUNDLED WITH
43
- 1.10.6
43
+ 1.11.2
data/lib/testrbl.rb CHANGED
@@ -7,7 +7,7 @@ module Testrbl
7
7
  /^(\s+)def\s+(test_)([a-z_\d]+)\s*(?:#.*)?$/
8
8
  ]
9
9
 
10
- OPTION_WITH_ARGUMENT = ["-I", "-r", "-n", "-e", "--seed"]
10
+ OPTION_WITH_ARGUMENT = ["-I", "-r", "-n", "-e", "--seed", "-s"]
11
11
  INTERPOLATION = /\\\#\\\{.*?\\\}/
12
12
 
13
13
  class << self
@@ -1,3 +1,3 @@
1
1
  module Testrbl
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  end
data/spec/testrbl_spec.rb CHANGED
@@ -89,6 +89,11 @@ describe Testrbl do
89
89
  result.should include "1234"
90
90
  end
91
91
 
92
+ it "seeds with -s" do
93
+ result = testrbl "0_test.rb:6 -s 1234"
94
+ result.should include "1234"
95
+ end
96
+
92
97
  it "seeds multiple files" do
93
98
  result = Bundler.with_clean_env { testrbl "0_test.rb 1_test.rb --seed 1234" } # adding --seed triggers minitest to be loaded in a weird way and then the second version is loaded via bundler :/
94
99
  result.should include "1234"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testrbl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.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-09-04 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  version: '0'
49
49
  requirements: []
50
50
  rubyforge_project:
51
- rubygems_version: 2.2.2
51
+ rubygems_version: 2.4.5.1
52
52
  signing_key:
53
53
  specification_version: 4
54
54
  summary: Run ruby Test::Unit/Shoulda tests by line-number / folder / the dozen