starting_blocks-stopplicht 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stopplicht_alert.rb +1 -13
- data/starting_blocks-stopplicht.gemspec +1 -1
- metadata +5 -5
data/lib/stopplicht_alert.rb
CHANGED
@@ -10,22 +10,10 @@ module StartingBlocks
|
|
10
10
|
|
11
11
|
def receive_results results
|
12
12
|
return if @spec_count.to_i == 0
|
13
|
-
|
14
|
-
display :yellow
|
15
|
-
end
|
16
|
-
if results[:errors].to_i > 0
|
17
|
-
display :red
|
18
|
-
elsif results[:failures].to_i > 0
|
19
|
-
display :red
|
20
|
-
elsif results[:tests].to_i > 0
|
21
|
-
display :green
|
22
|
-
else
|
23
|
-
display :red
|
24
|
-
end
|
13
|
+
display results[:color]
|
25
14
|
end
|
26
15
|
|
27
16
|
def display color
|
28
|
-
puts "Display #{color}"
|
29
17
|
color = "running" if color == :yellow
|
30
18
|
`stopplicht-#{color}`
|
31
19
|
end
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "starting_blocks-stopplicht"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.4"
|
8
8
|
spec.authors = ["Darren Cauthon"]
|
9
9
|
spec.email = ["darren@cauthon.com"]
|
10
10
|
spec.description = %q{stopplicht support for starting_blocks}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: starting_blocks-stopplicht
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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: 2014-02-
|
12
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
segments:
|
91
91
|
- 0
|
92
|
-
hash: -
|
92
|
+
hash: -2857791411203491699
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
@@ -98,10 +98,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash: -
|
101
|
+
hash: -2857791411203491699
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 1.8.
|
104
|
+
rubygems_version: 1.8.25
|
105
105
|
signing_key:
|
106
106
|
specification_version: 3
|
107
107
|
summary: stopplicht support for starting_blocks
|