midi-parser 0.3.0

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.
@@ -0,0 +1,29 @@
1
+ #
2
+ # Parse MIDI Messages
3
+ # (c)2021 Javier Sánchez Yeste for the modifications, licensed under LGPL 3.0 License
4
+ # (c)2011-2015 Ari Russo for original Nibbler library, licensed under Apache 2.0 License
5
+ #
6
+
7
+ # libs
8
+ require 'midi-events'
9
+
10
+ # modules
11
+ require 'midi-parser/data_processor'
12
+ require 'midi-parser/type_conversion'
13
+
14
+ # classes
15
+ require 'midi-parser/message_builder'
16
+ require 'midi-parser/parser'
17
+ require 'midi-parser/session'
18
+
19
+ #
20
+ # Parse MIDI Messages
21
+ #
22
+ module MIDIParser
23
+ VERSION = '0.3.0'.freeze
24
+
25
+ # Shortcut to a new parser session
26
+ def self.new(...)
27
+ Session.new(...)
28
+ end
29
+ end
@@ -0,0 +1,22 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = 'midi-parser'
3
+ s.version = '0.3.0'
4
+ s.date = '2021-11-13'
5
+ s.summary = 'A Ruby library for parsing MIDI Event Messages'
6
+ s.description = 'MIDI Parser is a library for parsing MIDI Event Messages received from any MIDI device through other libraries such as midi-communications or unimidi'
7
+ s.authors = ['Javier Sánchez Yeste']
8
+ s.email = 'javier.sy@gmail.com'
9
+ s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|samples)/}) }
10
+ s.homepage = 'https://github.com/javier-sy/midi-events'
11
+ s.license = 'LGPL-3.0'
12
+
13
+ s.required_ruby_version = '~> 2.7'
14
+
15
+ # TODO
16
+ #s.metadata = {
17
+ # "source_code_uri" => "https://",
18
+ # "homepage_uri" => "",
19
+ # "documentation_uri" => "",
20
+ # "changelog_uri" => ""
21
+ #}
22
+ end
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: midi-parser
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Javier Sánchez Yeste
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-11-13 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: MIDI Parser is a library for parsing MIDI Event Messages received from
14
+ any MIDI device through other libraries such as midi-communications or unimidi
15
+ email: javier.sy@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - Gemfile
22
+ - LICENSE
23
+ - LICENSE.nibbler
24
+ - README.md
25
+ - Rakefile
26
+ - examples/usage.rb
27
+ - lib/midi-parser.rb
28
+ - lib/midi-parser/data_processor.rb
29
+ - lib/midi-parser/message_builder.rb
30
+ - lib/midi-parser/parser.rb
31
+ - lib/midi-parser/session.rb
32
+ - lib/midi-parser/type_conversion.rb
33
+ - midi-parser.gemspec
34
+ homepage: https://github.com/javier-sy/midi-events
35
+ licenses:
36
+ - LGPL-3.0
37
+ metadata: {}
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.7'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubygems_version: 3.1.6
54
+ signing_key:
55
+ specification_version: 4
56
+ summary: A Ruby library for parsing MIDI Event Messages
57
+ test_files: []