testrbl 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/testrbl.rb +12 -11
- data/lib/testrbl/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/lib/testrbl.rb
CHANGED
@@ -30,17 +30,7 @@ module Testrbl
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
def self.bundle_exec
|
36
|
-
"bundle exec " if File.file?("Gemfile")
|
37
|
-
end
|
38
|
-
|
39
|
-
def self.run(command)
|
40
|
-
puts command
|
41
|
-
exec command
|
42
|
-
end
|
43
|
-
|
33
|
+
# useable e.g. via zeus
|
44
34
|
def self.pattern_from_file(lines, line)
|
45
35
|
search = lines[0..(line.to_i-1)].reverse
|
46
36
|
|
@@ -64,6 +54,17 @@ module Testrbl
|
|
64
54
|
raise "no test found before line #{line}"
|
65
55
|
end
|
66
56
|
|
57
|
+
private
|
58
|
+
|
59
|
+
def self.bundle_exec
|
60
|
+
"bundle exec " if File.file?("Gemfile")
|
61
|
+
end
|
62
|
+
|
63
|
+
def self.run(command)
|
64
|
+
puts command
|
65
|
+
exec command
|
66
|
+
end
|
67
|
+
|
67
68
|
def self.pattern_from_line(line)
|
68
69
|
PATTERNS.each do |r|
|
69
70
|
if line =~ r
|
data/lib/testrbl/version.rb
CHANGED
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.12
|
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-
|
12
|
+
date: 2012-08-10 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: 2301740719579311166
|
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: 2301740719579311166
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
59
|
rubygems_version: 1.8.24
|