starting_blocks 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sb +6 -2
- data/lib/starting_blocks/version.rb +1 -1
- metadata +3 -3
data/bin/sb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../lib/starting_blocks.rb')
|
3
|
+
#require File.expand_path(File.dirname(__FILE__) + '/../lib/starting_blocks.rb')
|
4
|
+
require 'starting_blocks'
|
4
5
|
|
5
6
|
options = {}
|
6
7
|
|
@@ -35,7 +36,10 @@ if arguments.include? '--watch'
|
|
35
36
|
StartingBlocks.display "Going to sleep, waiting for changes"
|
36
37
|
listener.start
|
37
38
|
loop do
|
38
|
-
|
39
|
+
user_input = STDIN.gets
|
40
|
+
if user_input == "stop\n"
|
41
|
+
exit
|
42
|
+
end
|
39
43
|
end
|
40
44
|
elsif arguments.include? '--off'
|
41
45
|
StartingBlocks::Extensions::BlinkyLighting.turn_off!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: starting_blocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
segments:
|
152
152
|
- 0
|
153
|
-
hash:
|
153
|
+
hash: 2854283361510630439
|
154
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
155
|
none: false
|
156
156
|
requirements:
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '0'
|
160
160
|
segments:
|
161
161
|
- 0
|
162
|
-
hash:
|
162
|
+
hash: 2854283361510630439
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
165
|
rubygems_version: 1.8.24
|