starting_blocks-stopplicht 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stopplicht_alert.rb +2 -8
- data/starting_blocks-stopplicht.gemspec +1 -1
- metadata +3 -3
data/lib/stopplicht_alert.rb
CHANGED
@@ -25,14 +25,8 @@ module StartingBlocks
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def display color
|
28
|
-
|
29
|
-
|
30
|
-
`echo 1 | nc localhost 17357`
|
31
|
-
when :green
|
32
|
-
`echo 2 | nc localhost 17357`
|
33
|
-
when :yellow
|
34
|
-
`echo 3 | nc localhost 17357`
|
35
|
-
end
|
28
|
+
puts "Display #{color}"
|
29
|
+
`stopplicht-#{color}`
|
36
30
|
end
|
37
31
|
end
|
38
32
|
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.2"
|
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.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -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: 4337014526622047793
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash:
|
101
|
+
hash: 4337014526622047793
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
104
|
rubygems_version: 1.8.24
|