music-transcription 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 560faef28d768d85ff40f6a5483a78e30a3438e6
4
+ data.tar.gz: c096b8319def86afeee9c67ab041a05353df9ec0
5
+ SHA512:
6
+ metadata.gz: 502f7e5289f9afb872d3517800b1020b3dd0ce4f2ffc1ea0d5bb31eefa5f7222fd33728f3032c92714d51d08f84d9168f7f72e1da345b81e8c498a80f3f69c50
7
+ data.tar.gz: bdb79522a617ecbc281504edf8eb2e6a991a232367ba4b27f8cbcfa5806ca263b5a4e96e0440f515dce93b8a7c62712c0cdf119ef1ddec38f72ceae8fc63e3fe
@@ -30,7 +30,7 @@ class Note
30
30
  # A new instance of Note.
31
31
  def initialize duration, pitches = [], links: {}, accent: nil
32
32
  self.duration = duration
33
- @pitches = Set.new(pitches)
33
+ @pitches = Set.new(pitches).sort
34
34
  @links = links
35
35
  self.accent = accent
36
36
  end
@@ -38,7 +38,7 @@ class Note
38
38
  # Compare the equality of another Note object.
39
39
  def == other
40
40
  return (@duration == other.duration) &&
41
- (self.pitches == other.pitches) &&
41
+ (self.pitches.entries == other.pitches) &&
42
42
  (@links == other.links) &&
43
43
  (@accent == other.accent)
44
44
  end
@@ -2,6 +2,6 @@
2
2
  module Music
3
3
  module Transcription
4
4
  # music-transcription version
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,142 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music-transcription
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
5
- prerelease:
4
+ version: 0.4.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - James Tunnell
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-31 00:00:00.000000000 Z
11
+ date: 2014-08-27 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.5'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.5'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rubygems-bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.4'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.4'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '10.1'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '10.1'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: '2.14'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: '2.14'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: yard
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0.8'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0.8'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: pry
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: pry-nav
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
- description: ! "The goal of music-transcription is the abstract representation of
127
- standard \nmusical features such as pitch, note, loudness, tempo, etc. Establishing\na
128
- common representation enables composition and performance.\n"
111
+ description: "The goal of music-transcription is the abstract representation of standard
112
+ \nmusical features such as pitch, note, loudness, tempo, etc. Establishing\na common
113
+ representation enables composition and performance.\n"
129
114
  email: jamestunnell@gmail.com
130
115
  executables:
131
116
  - transcribe
132
117
  extensions: []
133
118
  extra_rdoc_files: []
134
119
  files:
135
- - .document
136
- - .gitignore
137
- - .rspec
138
- - .ruby-version
139
- - .yardopts
120
+ - ".document"
121
+ - ".gitignore"
122
+ - ".rspec"
123
+ - ".ruby-version"
124
+ - ".yardopts"
140
125
  - ChangeLog.rdoc
141
126
  - Gemfile
142
127
  - LICENSE.txt
@@ -191,33 +176,26 @@ files:
191
176
  homepage: https://github.com/jamestunnell/music-transcription
192
177
  licenses:
193
178
  - MIT
179
+ metadata: {}
194
180
  post_install_message:
195
181
  rdoc_options: []
196
182
  require_paths:
197
183
  - lib
198
184
  required_ruby_version: !ruby/object:Gem::Requirement
199
- none: false
200
185
  requirements:
201
- - - ! '>='
186
+ - - ">="
202
187
  - !ruby/object:Gem::Version
203
188
  version: '0'
204
- segments:
205
- - 0
206
- hash: 4349874836488789101
207
189
  required_rubygems_version: !ruby/object:Gem::Requirement
208
- none: false
209
190
  requirements:
210
- - - ! '>='
191
+ - - ">="
211
192
  - !ruby/object:Gem::Version
212
193
  version: '0'
213
- segments:
214
- - 0
215
- hash: 4349874836488789101
216
194
  requirements: []
217
195
  rubyforge_project:
218
- rubygems_version: 1.8.23
196
+ rubygems_version: 2.2.2
219
197
  signing_key:
220
- specification_version: 3
198
+ specification_version: 4
221
199
  summary: Classes for representing music notational features like pitch, note, loudness,
222
200
  tempo, etc.
223
201
  test_files: