knipper 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +14 -5
- data/lib/knipper/device.rb +2 -2
- data/lib/knipper/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -22,8 +22,17 @@ TODO: Write usage instructions here
|
|
22
22
|
|
23
23
|
## Contributing
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
## Contributing to Soundcheck
|
26
|
+
|
27
|
+
* Check out the issue tracker to make sure someone already hasn't requested it
|
28
|
+
and/or contributed it
|
29
|
+
* Check out the latest master to make sure the feature hasn't been implemented
|
30
|
+
or the bug hasn't been fixed yet
|
31
|
+
* Fork the project
|
32
|
+
* Start a feature/bugfix branch
|
33
|
+
* Commit and push until you are happy with your contribution
|
34
|
+
* Make sure to add tests for it. This is important so I don't break it in a
|
35
|
+
future version unintentionally.
|
36
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to
|
37
|
+
have your own version, or is otherwise necessary, that is fine, but please
|
38
|
+
isolate to its own commit so I can cherry-pick around it.
|
data/lib/knipper/device.rb
CHANGED
@@ -78,7 +78,7 @@ module Knipper
|
|
78
78
|
if pattern.is_a? Knipper::Pattern::Pattern
|
79
79
|
clear_pattern if clear
|
80
80
|
|
81
|
-
pattern.
|
81
|
+
pattern.lines.each do |pattern_line|
|
82
82
|
write_pattern_line pattern_line.millis, pattern_line.red, pattern_line.green, pattern_line.blue, pattern.pattern.index(pattern_line)
|
83
83
|
end
|
84
84
|
end
|
@@ -92,4 +92,4 @@ module Knipper
|
|
92
92
|
@@lib.blink1_play(@device, 0, 0)
|
93
93
|
end
|
94
94
|
end
|
95
|
-
end
|
95
|
+
end
|
data/lib/knipper/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knipper
|
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:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
segments:
|
100
100
|
- 0
|
101
|
-
hash:
|
101
|
+
hash: 1292096930799596366
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
none: false
|
104
104
|
requirements:
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
segments:
|
109
109
|
- 0
|
110
|
-
hash:
|
110
|
+
hash: 1292096930799596366
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
113
|
rubygems_version: 1.8.23
|