unimidi 0.1.8-i686-linux → 0.1.9-i686-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/unimidi +2 -2
- data/lib/unimidi.rb +2 -2
- metadata +1 -1
data/bin/unimidi
CHANGED
@@ -5,6 +5,6 @@ require 'unimidi'
|
|
5
5
|
|
6
6
|
opts = ARGV.length > 1 ? ARGV.slice(1, ARGV.length-1) : {}
|
7
7
|
|
8
|
-
command
|
8
|
+
raise "No command specified" if ARGV.first.nil?
|
9
9
|
|
10
|
-
UniMIDI.command(
|
10
|
+
UniMIDI.command(ARGV.first.to_sym, opts)
|
data/lib/unimidi.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
module UniMIDI
|
8
8
|
|
9
|
-
VERSION = "0.1.
|
9
|
+
VERSION = "0.1.9"
|
10
10
|
|
11
11
|
end
|
12
12
|
|
@@ -25,7 +25,7 @@ module UniMIDI
|
|
25
25
|
require 'pp'
|
26
26
|
pp Device::all
|
27
27
|
else
|
28
|
-
|
28
|
+
raise "Command #{command.to_s} not found"
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|