blinky 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +22 -26
- data/VERSION +1 -1
- data/blinky.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -19,13 +19,28 @@ Plug in your USB light, and then do something like this
|
|
19
19
|
require 'rubygems'
|
20
20
|
require 'blinky'
|
21
21
|
|
22
|
-
blinky = Blinky.new
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
blinky = Blinky.new.light
|
23
|
+
light.success!
|
24
|
+
light.failure!
|
25
|
+
light.building!
|
26
|
+
light.warning!
|
27
|
+
light.off!
|
28
28
|
|
29
|
+
== What if I have more than one light?
|
30
|
+
|
31
|
+
Want to plug in more than one light on the same machine?
|
32
|
+
|
33
|
+
require 'rubygems'
|
34
|
+
require 'blinky'
|
35
|
+
|
36
|
+
blinky = Blinky.new
|
37
|
+
light_one = blinky.lights[0]
|
38
|
+
light_two = blinky.lights[1]
|
39
|
+
|
40
|
+
Not sure which light is which?
|
41
|
+
|
42
|
+
# make light_one flash
|
43
|
+
light_one.where_are_you?
|
29
44
|
|
30
45
|
== What is currently supported?
|
31
46
|
|
@@ -77,26 +92,7 @@ Plug in your light and then do this:
|
|
77
92
|
blinky.light.watch_test_server
|
78
93
|
|
79
94
|
Watch the pretty lights!
|
80
|
-
|
81
|
-
== What if I have more than one light?
|
82
|
-
|
83
|
-
Want to plug in more than one light on the same machine?
|
84
|
-
|
85
|
-
require 'rubygems'
|
86
|
-
require 'blinky'
|
87
|
-
|
88
|
-
blinky = Blinky.new
|
89
|
-
light_one = blinky.lights[0]
|
90
|
-
light_two = blinky.lights[1]
|
91
|
-
|
92
|
-
Not sure which light is which?
|
93
|
-
|
94
|
-
# make light_one flash
|
95
|
-
light_one.where_are_you?
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
95
|
+
|
100
96
|
== How do I contribute support for more lights
|
101
97
|
|
102
98
|
COMING SOON
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/blinky.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blinky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Perryn Fowler
|