midi-eye 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/midi-eye.rb +1 -1
- data/lib/midi-eye/listener.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b7ef67735d33d0b0acb7941003179afc5510bb0
|
4
|
+
data.tar.gz: fe56ce55fc0190abed1d62c3e621d2dedb80349f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2da13d351d1d400eca7d68ea9ccec6e1df265ea0cdbde7cbe0f73d4d9412cf19510f8b327b51d60ac9e247a4715fb4b14b341969b321108d0164f4393373246a
|
7
|
+
data.tar.gz: b5fa4735297f2389458386f0a47f001ab420bdccffdc11613160beffe1217f8a8d8b0a08ddc18a6429968658ed9a3965a7882e3f5600ffddfed059d81aa8c8a4
|
data/lib/midi-eye.rb
CHANGED
data/lib/midi-eye/listener.rb
CHANGED
@@ -109,8 +109,10 @@ module MIDIEye
|
|
109
109
|
objs.each do |batch|
|
110
110
|
messages = [batch[:messages]].flatten.compact
|
111
111
|
messages.each do |message|
|
112
|
-
|
113
|
-
|
112
|
+
unless message.nil?
|
113
|
+
data = { :message => message, :timestamp => batch[:timestamp] }
|
114
|
+
@event.enqueue_all(data)
|
115
|
+
end
|
114
116
|
end
|
115
117
|
end
|
116
118
|
end
|