unimidi 0.1.1-i686-linux → 0.1.2-i686-linux

Sign up to get free protection for your applications and to get access to all the features.
data/lib/unimidi.rb CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  module UniMIDI
8
8
 
9
- VERSION = "0.1.1"
9
+ VERSION = "0.1.2"
10
10
 
11
11
  end
12
12
 
@@ -19,7 +19,7 @@ module UniMIDI
19
19
  def open(*a, &block)
20
20
  begin
21
21
  @device.open(*a)
22
- block.nil? ? block.call(self) : self
22
+ block.nil? ? self : block.call(self)
23
23
  ensure
24
24
  close
25
25
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: unimidi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: i686-linux
7
7
  authors:
8
8
  - Ari Russo