coltrane 1.2.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -1
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +48 -3
  5. data/Rakefile +1 -1
  6. data/bin/erubis +12 -0
  7. data/bin/flay +29 -0
  8. data/bin/gitlab +29 -0
  9. data/bin/httparty +29 -0
  10. data/bin/pronto +29 -0
  11. data/bin/ruby_parse +29 -0
  12. data/bin/ruby_parse_extract_error +29 -0
  13. data/bin/thor +12 -0
  14. data/exe/coltrane +8 -6
  15. data/lib/cli/guitar.rb +7 -7
  16. data/lib/cli/representation.rb +1 -1
  17. data/lib/coltrane.rb +22 -1
  18. data/lib/coltrane/cadence.rb +0 -1
  19. data/lib/coltrane/changes.rb +5 -7
  20. data/lib/coltrane/chord.rb +7 -7
  21. data/lib/coltrane/chord_quality.rb +17 -17
  22. data/lib/coltrane/chord_substitutions.rb +3 -1
  23. data/lib/coltrane/classic_scales.rb +7 -7
  24. data/lib/coltrane/errors.rb +26 -1
  25. data/lib/coltrane/frequency.rb +50 -0
  26. data/lib/coltrane/interval.rb +23 -86
  27. data/lib/coltrane/interval_class.rb +106 -0
  28. data/lib/coltrane/interval_sequence.rb +14 -13
  29. data/lib/coltrane/notable_progressions.rb +8 -3
  30. data/lib/coltrane/note.rb +44 -73
  31. data/lib/coltrane/note_set.rb +4 -4
  32. data/lib/coltrane/pitch.rb +43 -22
  33. data/lib/coltrane/pitch_class.rb +113 -0
  34. data/lib/coltrane/progression.rb +6 -9
  35. data/lib/coltrane/roman_chord.rb +14 -14
  36. data/lib/coltrane/scale.rb +8 -10
  37. data/lib/coltrane/unordered_interval_class.rb +7 -0
  38. data/lib/coltrane/version.rb +1 -1
  39. data/lib/coltrane_instruments.rb +4 -0
  40. data/lib/coltrane_instruments/guitar.rb +7 -0
  41. data/lib/coltrane_instruments/guitar/base.rb +14 -0
  42. data/lib/coltrane_instruments/guitar/chord.rb +41 -0
  43. data/lib/coltrane_instruments/guitar/note.rb +8 -0
  44. data/lib/coltrane_instruments/guitar/string.rb +8 -0
  45. data/lib/core_ext.rb +16 -27
  46. metadata +18 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coltrane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Maciel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-20 00:00:00.000000000 Z
11
+ date: 2018-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facets
@@ -124,12 +124,16 @@ files:
124
124
  - bin/coltrane
125
125
  - bin/console
126
126
  - bin/erubis
127
+ - bin/flay
128
+ - bin/gitlab
127
129
  - bin/guard
128
130
  - bin/htmldiff
131
+ - bin/httparty
129
132
  - bin/kill-pry-rescue
130
133
  - bin/ldiff
131
134
  - bin/listen
132
135
  - bin/nokogiri
136
+ - bin/pronto
133
137
  - bin/pry
134
138
  - bin/rackup
135
139
  - bin/rails
@@ -141,6 +145,8 @@ files:
141
145
  - bin/rubocop
142
146
  - bin/ruby-parse
143
147
  - bin/ruby-rewrite
148
+ - bin/ruby_parse
149
+ - bin/ruby_parse_extract_error
144
150
  - bin/setup
145
151
  - bin/sprockets
146
152
  - bin/thor
@@ -172,7 +178,9 @@ files:
172
178
  - lib/coltrane/chord_substitutions.rb
173
179
  - lib/coltrane/classic_scales.rb
174
180
  - lib/coltrane/errors.rb
181
+ - lib/coltrane/frequency.rb
175
182
  - lib/coltrane/interval.rb
183
+ - lib/coltrane/interval_class.rb
176
184
  - lib/coltrane/interval_sequence.rb
177
185
  - lib/coltrane/mode.rb
178
186
  - lib/coltrane/notable_progressions.rb
@@ -180,10 +188,18 @@ files:
180
188
  - lib/coltrane/note_set.rb
181
189
  - lib/coltrane/piano_representation.rb
182
190
  - lib/coltrane/pitch.rb
191
+ - lib/coltrane/pitch_class.rb
183
192
  - lib/coltrane/progression.rb
184
193
  - lib/coltrane/roman_chord.rb
185
194
  - lib/coltrane/scale.rb
195
+ - lib/coltrane/unordered_interval_class.rb
186
196
  - lib/coltrane/version.rb
197
+ - lib/coltrane_instruments.rb
198
+ - lib/coltrane_instruments/guitar.rb
199
+ - lib/coltrane_instruments/guitar/base.rb
200
+ - lib/coltrane_instruments/guitar/chord.rb
201
+ - lib/coltrane_instruments/guitar/note.rb
202
+ - lib/coltrane_instruments/guitar/string.rb
187
203
  - lib/core_ext.rb
188
204
  homepage: http://github.com/pedrozath/coltrane
189
205
  licenses: