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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b47626fcd0bb5dcea8792ba0e9d78a40c432af06
4
- data.tar.gz: 897075b6685648cbb7863e35d765f46d77400404
3
+ metadata.gz: 4b7ef67735d33d0b0acb7941003179afc5510bb0
4
+ data.tar.gz: fe56ce55fc0190abed1d62c3e621d2dedb80349f
5
5
  SHA512:
6
- metadata.gz: 1eae17bf98762357e26ca3bb855ded062cda3e4cd54e9f5a2431a2b9b4fc70b191f43128ebb1ed4f30a256aa00b58aab3bf9ac10731942eed63b10ee84425736
7
- data.tar.gz: 3aa56326edc074401fffeaa1a881c7daa3bcc4d8cf7f6bfd873dfe79cc58b8e1d0b15b95692c08fd79c215876237d140f5757e2a879ec3fc6370738528fe3c12
6
+ metadata.gz: 2da13d351d1d400eca7d68ea9ccec6e1df265ea0cdbde7cbe0f73d4d9412cf19510f8b327b51d60ac9e247a4715fb4b14b341969b321108d0164f4393373246a
7
+ data.tar.gz: b5fa4735297f2389458386f0a47f001ab420bdccffdc11613160beffe1217f8a8d8b0a08ddc18a6429968658ed9a3965a7882e3f5600ffddfed059d81aa8c8a4
data/lib/midi-eye.rb CHANGED
@@ -18,6 +18,6 @@ require "midi-eye/source"
18
18
 
19
19
  module MIDIEye
20
20
 
21
- VERSION = "0.3.4"
21
+ VERSION = "0.3.5"
22
22
 
23
23
  end
@@ -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
- data = { :message => message, :timestamp => batch[:timestamp] }
113
- @event.enqueue_all(data)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midi-eye
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Russo