testrbl 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testrbl (0.1.11)
4
+ testrbl (0.1.12)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -30,17 +30,7 @@ module Testrbl
30
30
  end
31
31
  end
32
32
 
33
- private
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
@@ -1,3 +1,3 @@
1
1
  module Testrbl
2
- VERSION = '0.1.11'
2
+ VERSION = '0.1.12'
3
3
  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.11
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-07-14 00:00:00.000000000 Z
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: -4483421695493014766
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: -4483421695493014766
56
+ hash: 2301740719579311166
57
57
  requirements: []
58
58
  rubyforge_project:
59
59
  rubygems_version: 1.8.24