unimidi 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -4,13 +4,15 @@
4
4
 
5
5
  Platform independent realtime MIDI input and output for Ruby.
6
6
 
7
+ Also see {micromidi}[http://github.com/arirusso/micromidi] which builds a full MIDI messaging DSL on top of unimidi
8
+
7
9
  == Features
8
10
 
9
11
  * Supports Linux, JRuby, OSX, Windows and Cygwin
10
12
  * No compilation required
11
13
  * Both input and output to and from multiple devices concurrently
12
14
  * Agnostically handle different MIDI and SysEx Message types
13
- * (OSX Only) Internally patch to other programs using IAC and {MIDI Patch Bay}[http://www.apple.com/downloads/macosx/audio/midipatchbay.html]
15
+ * (OSX Only) Use IAC to internally route MIDI to other programs
14
16
 
15
17
  == Requirements
16
18
 
@@ -43,8 +45,7 @@ In addition, some examples are included with the library
43
45
  * {selecting a device}[http://github.com/arirusso/unimidi/blob/master/examples/select_a_device.rb]
44
46
  * {input}[http://github.com/arirusso/unimidi/blob/master/examples/input.rb]
45
47
  * {output}[http://github.com/arirusso/unimidi/blob/master/examples/output.rb]
46
-
47
- {more...}[http://github.com/arirusso/unimidi/blob/master/examples]
48
+ * {sysex output}[http://github.com/arirusso/unimidi/blob/master/examples/sysex_output.rb]
48
49
 
49
50
  == Tests
50
51
 
data/lib/unimidi.rb CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  module UniMIDI
8
8
 
9
- VERSION = "0.3.2"
9
+ VERSION = "0.3.3"
10
10
 
11
11
  end
12
12
 
@@ -184,6 +184,8 @@ module UniMIDI
184
184
  #
185
185
  def gets(*a)
186
186
  @device.gets(*a)
187
+ rescue SystemExit, Interrupt
188
+ exit
187
189
  end
188
190
 
189
191
  #
@@ -196,6 +198,8 @@ module UniMIDI
196
198
  #
197
199
  def gets_s(*a)
198
200
  @device.gets_s(*a)
201
+ rescue SystemExit, Interrupt
202
+ exit
199
203
  end
200
204
  alias_method :gets_bytestr, :gets_s
201
205
  alias_method :gets_hex, :gets_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unimidi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-02 00:00:00.000000000Z
12
+ date: 2012-03-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: alsa-rawmidi
16
- requirement: &70194102902300 !ruby/object:Gem::Requirement
16
+ requirement: &70130345865340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70194102902300
24
+ version_requirements: *70130345865340
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: ffi-coremidi
27
- requirement: &70194102901680 !ruby/object:Gem::Requirement
27
+ requirement: &70130345864640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70194102901680
35
+ version_requirements: *70130345864640
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: midi-jruby
38
- requirement: &70194102893800 !ruby/object:Gem::Requirement
38
+ requirement: &70130345861000 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70194102893800
46
+ version_requirements: *70130345861000
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: midi-winmm
49
- requirement: &70194102893340 !ruby/object:Gem::Requirement
49
+ requirement: &70130345860460 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70194102893340
57
+ version_requirements: *70130345860460
58
58
  description: Platform Independent, realtime MIDI input and output for Ruby
59
59
  email:
60
60
  - ari.russo@gmail.com
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: 1.3.6
101
101
  requirements: []
102
102
  rubyforge_project: unimidi
103
- rubygems_version: 1.8.6
103
+ rubygems_version: 1.8.17
104
104
  signing_key:
105
105
  specification_version: 3
106
106
  summary: Realtime MIDI input and output for Ruby