unimidi 0.1.4-java → 0.1.5-java

Sign up to get free protection for your applications and to get access to all the features.
data/lib/unimidi.rb CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  module UniMIDI
8
8
 
9
- VERSION = "0.1.4"
9
+ VERSION = "0.1.5"
10
10
 
11
11
  end
12
12
 
@@ -108,6 +108,8 @@ module UniMIDI
108
108
  def gets_bytestr(*a)
109
109
  @device.gets_bytestr(*a)
110
110
  end
111
+ alias_method :gets_s, :gets_bytestr
112
+ alias_method :gets_hex, :gets_bytestr
111
113
 
112
114
  #
113
115
  # returns an array of data bytes such as
@@ -126,6 +128,8 @@ module UniMIDI
126
128
  arr = gets_bytestr
127
129
  arr.map { |msg| msg[:data] }.join
128
130
  end
131
+ alias_method :gets_data_s, :gets_data_bytestr
132
+ alias_method :gets_data_hex, :gets_data_bytestr
129
133
 
130
134
  module ClassMethods
131
135
 
metadata CHANGED
@@ -1,8 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unimidi
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.1.4
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 5
9
+ version: 0.1.5
6
10
  platform: java
7
11
  authors:
8
12
  - Ari Russo
@@ -17,10 +21,11 @@ dependencies:
17
21
  name: midi-jruby
18
22
  prerelease: false
19
23
  requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
24
  requirements:
22
25
  - - ">="
23
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
24
29
  version: "0"
25
30
  type: :runtime
26
31
  version_requirements: *id001
@@ -37,10 +42,10 @@ files:
37
42
  - lib/unimidi.rb
38
43
  - lib/unimidi/congruous_api_adapter.rb
39
44
  - lib/unimidi/platform.rb
40
- - lib/unimidi/adapter/alsa-rawmidi.rb
41
45
  - lib/unimidi/adapter/ffi-coremidi.rb
42
- - lib/unimidi/adapter/midi-jruby.rb
43
46
  - lib/unimidi/adapter/midi-winmm.rb
47
+ - lib/unimidi/adapter/alsa-rawmidi.rb
48
+ - lib/unimidi/adapter/midi-jruby.rb
44
49
  - LICENSE
45
50
  - README.rdoc
46
51
  has_rdoc: true
@@ -53,21 +58,25 @@ rdoc_options: []
53
58
  require_paths:
54
59
  - lib
55
60
  required_ruby_version: !ruby/object:Gem::Requirement
56
- none: false
57
61
  requirements:
58
62
  - - ">="
59
63
  - !ruby/object:Gem::Version
64
+ segments:
65
+ - 0
60
66
  version: "0"
61
67
  required_rubygems_version: !ruby/object:Gem::Requirement
62
- none: false
63
68
  requirements:
64
69
  - - ">="
65
70
  - !ruby/object:Gem::Version
71
+ segments:
72
+ - 1
73
+ - 3
74
+ - 6
66
75
  version: 1.3.6
67
76
  requirements: []
68
77
 
69
78
  rubyforge_project: unimidi
70
- rubygems_version: 1.5.1
79
+ rubygems_version: 1.3.6
71
80
  signing_key:
72
81
  specification_version: 3
73
82
  summary: Realtime MIDI input and output for Ruby.