unimidi 0.3.0-i386-mingw32 → 0.3.1-i386-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/unimidi/congruous_api_adapter.rb +2 -3
- data/lib/unimidi.rb +1 -1
- metadata +3 -3
@@ -58,9 +58,8 @@ module UniMIDI
|
|
58
58
|
def gets
|
59
59
|
device = nil
|
60
60
|
class_name = self.name.split("::").last.downcase
|
61
|
-
grammer = %w{o i}.include?(class_name[0]) ? "n" : ""
|
62
61
|
puts ""
|
63
|
-
puts "Select a
|
62
|
+
puts "Select a MIDI #{class_name}..."
|
64
63
|
while device.nil?
|
65
64
|
list
|
66
65
|
print "> "
|
@@ -70,7 +69,7 @@ module UniMIDI
|
|
70
69
|
device = all.find { |d| d.id == selection }
|
71
70
|
end
|
72
71
|
end
|
73
|
-
device
|
72
|
+
device.open
|
74
73
|
end
|
75
74
|
|
76
75
|
# returns the first device for this class
|
data/lib/unimidi.rb
CHANGED
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.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: i386-mingw32
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-10-04 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: midi-winmm
|
16
|
-
requirement: &
|
16
|
+
requirement: &70180130954300 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70180130954300
|
25
25
|
description: Platform Independent, realtime MIDI input and output for Ruby
|
26
26
|
email:
|
27
27
|
- ari.russo@gmail.com
|