testrbl 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/lib/testrbl/version.rb +1 -1
- data/lib/testrbl.rb +3 -1
- metadata +4 -4
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
testrbl (0.3.
|
4
|
+
testrbl (0.3.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -32,7 +32,7 @@ PLATFORMS
|
|
32
32
|
DEPENDENCIES
|
33
33
|
activesupport (= 2.3.14)
|
34
34
|
bump
|
35
|
-
minitest
|
35
|
+
minitest (~> 5)
|
36
36
|
rake
|
37
37
|
rspec (~> 2)
|
38
38
|
shoulda
|
data/lib/testrbl/version.rb
CHANGED
data/lib/testrbl.rb
CHANGED
@@ -20,7 +20,9 @@ module Testrbl
|
|
20
20
|
line = $2
|
21
21
|
run(ruby + load_options + [file, "-n", "/#{pattern_from_file(File.readlines(file), line)}/"] + options)
|
22
22
|
else
|
23
|
-
if files.
|
23
|
+
if files.size == 1 and File.file?(files.first)
|
24
|
+
run(ruby + load_options + files + options)
|
25
|
+
elsif files.all? { |f| File.file?(f) } and options.none? { |arg| arg =~ /^-n/ }
|
24
26
|
run(ruby + load_options + files.map { |f| "-r#{f}" } + options + ["-e", ""])
|
25
27
|
else # pass though
|
26
28
|
# no bundle exec: projects with mini and unit-test do not run well via bundle exec testrb
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testrbl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email: michael@grosser.it
|
@@ -44,7 +44,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
44
|
version: '0'
|
45
45
|
segments:
|
46
46
|
- 0
|
47
|
-
hash:
|
47
|
+
hash: 1847987881023274849
|
48
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
version: '0'
|
54
54
|
segments:
|
55
55
|
- 0
|
56
|
-
hash:
|
56
|
+
hash: 1847987881023274849
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
59
|
rubygems_version: 1.8.25
|