unimidi 0.0.1-i686-linux → 0.0.2-i686-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/unimidi.rb +1 -1
- data/lib/unimidi/platform.rb +4 -2
- metadata +14 -4
data/lib/unimidi.rb
CHANGED
data/lib/unimidi/platform.rb
CHANGED
@@ -11,13 +11,15 @@ module UniMIDI
|
|
11
11
|
def initialize
|
12
12
|
lib = case RUBY_PLATFORM
|
13
13
|
when /linux/ then 'alsa-rawmidi'
|
14
|
-
when /
|
14
|
+
when /win/ then 'midi-winmm'
|
15
|
+
when /mingw/ then 'midi-winmm' #cygwin
|
15
16
|
end
|
16
17
|
require(lib)
|
17
18
|
require("unimidi/adapter/#{lib}")
|
18
19
|
@interface = case RUBY_PLATFORM
|
19
20
|
when /linux/ then AlsaRawMIDIAdapter
|
20
|
-
when /
|
21
|
+
when /win/ then MIDIWinMMAdapter
|
22
|
+
when /mingw/ then MIDIWinMMAdapter #cygwin
|
21
23
|
end
|
22
24
|
end
|
23
25
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: unimidi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
platform: i686-linux
|
7
7
|
authors:
|
8
8
|
- Ari Russo
|
@@ -12,9 +12,19 @@ cert_chain: []
|
|
12
12
|
|
13
13
|
date: 2011-04-19 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
|
-
dependencies:
|
16
|
-
|
17
|
-
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: alsa-rawmidi
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: "0"
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
description: Platform Independent, realtime MIDI input and output for Ruby.
|
18
28
|
email:
|
19
29
|
- ari.russo@gmail.com
|
20
30
|
executables: []
|