unimidi 0.0.1-i686-linux → 0.0.2-i686-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/unimidi.rb +1 -1
  2. data/lib/unimidi/platform.rb +4 -2
  3. metadata +14 -4
data/lib/unimidi.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  #
5
5
  module UniMIDI
6
6
 
7
- VERSION = "0.0.1"
7
+ VERSION = "0.0.2"
8
8
 
9
9
  end
10
10
 
@@ -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 /win32/ then 'midi-winmm'
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 /win32/ then MIDIWinMMAdapter
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.1
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
- description: Realtime MIDI input and output for Ruby.
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: []