testrbl 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/Readme.md +4 -0
- data/lib/testrbl/version.rb +1 -1
- data/lib/testrbl.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/Readme.md
CHANGED
@@ -11,6 +11,10 @@ Usage
|
|
11
11
|
testrbl test/unit # everything _test.rb in a folder (on 1.8 this would be test/unit/*)
|
12
12
|
testrbl xxx_test.rb yyy_test.rb # multiple files
|
13
13
|
|
14
|
+
Tips
|
15
|
+
====
|
16
|
+
- `can't find executable testrb`: uninstall old version of test-unit, they define testrb in multiple incompatible ways
|
17
|
+
|
14
18
|
TODO
|
15
19
|
====
|
16
20
|
- prepend shoulda contexts to search -n '/OUTER-CONTEXT.*INNER-CONTEXT.*SHOULD/', make sure indentation is decreasing by 1 every step to avoid fetching everything
|
data/lib/testrbl/version.rb
CHANGED
data/lib/testrbl.rb
CHANGED
@@ -18,7 +18,7 @@ module Testrbl
|
|
18
18
|
|
19
19
|
def self.run(command)
|
20
20
|
safe_to_bundle_exec = (File.exist?('Gemfile.lock') and File.read('Gemfile.lock').include?(" test-unit "))
|
21
|
-
command = "#{"bundle exec " if safe_to_bundle_exec}#{command} --use-color
|
21
|
+
command = "#{"bundle exec " if safe_to_bundle_exec}#{command} --use-color"
|
22
22
|
puts command
|
23
23
|
exec command
|
24
24
|
end
|
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.1.
|
4
|
+
version: 0.1.2
|
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: 2012-05-
|
12
|
+
date: 2012-05-31 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: 4365681573052435573
|
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: 4365681573052435573
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
59
|
rubygems_version: 1.8.24
|