coltrane 1.2.2 → 1.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4a11efdb57e45961df2f48260be766e45d20a47c695694ea0051edc2fa4625c
4
- data.tar.gz: 0364375f881297b6adb2e61b3f10ab1e5d1c9fbc2765d75f0f4b4b5d6424fc66
3
+ metadata.gz: 66297313d7ded1fd69e2b170e00136ed12d37a171a5821007934a43e22c05c64
4
+ data.tar.gz: 0b7efd8b8187bd8dadecf096f775c1d9cc502d9fb9d19faf5b58cdb77af9131c
5
5
  SHA512:
6
- metadata.gz: 97e4ef2d66eb35c160676c3da601f2f7f1157675e48de444df409da3422666978fc4e241f525d214d41e45ef7a7481143a06bbe4dc92bf0301e13f4090d56291
7
- data.tar.gz: b1fb7f1676c8d9bd40e964ac36cc3e0da875f06410b83ccc9e790f65ebe6200fb9f188a4a3acc0af54027d871f29fbdb0fadc5d8b69b25744533e0d08b4c79af
6
+ metadata.gz: bc2327a7e9e7bc8085cb72b31b32ab645e5c69a85c89ef8cd3ddee16ad448b5495b3b0c254d0b93f363e454a0772cedf37fd52302c442d6edf2cd1cce67645f4
7
+ data.tar.gz: edf937ae6e87508ba8d7a3f9909c16998c164fa6f89e53e897ec1418f10aca813b709854e30bd3e52842c0167a90b7d73bac7ad1957b2223713d104f33ae1b72
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@
4
4
  - Correct Flat/Sharp on scales
5
5
  - Refactor notes and add pitch frequencies, pitch classes
6
6
 
7
+ ## [1.2.3]
8
+
9
+ ### Fixes
10
+
11
+ - Bug in `progression` command
12
+
7
13
  ## [1.2.2]
8
14
 
9
15
  ### Fixes
data/exe/coltrane CHANGED
@@ -107,7 +107,7 @@ Mercenary.program(:Coltrane) do |p|
107
107
  c.description 'Gives you chords of a progression in a key. Ex: coltrane progression I-IV-iv-V in Am --on guitar'
108
108
  c.option(*@instrument_option)
109
109
  c.option(*@flavor_option)
110
- c.action do |(prog, _, note), on: 'text', flavor: 'notes'|
110
+ c.action do |(prog, _, key), on: 'text', flavor: 'notes'|
111
111
  possible_method = prog.gsub('-', '_')
112
112
  progression = if Coltrane::Progression.respond_to?(possible_method)
113
113
  Coltrane::Progression.send(possible_method, note)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coltrane
4
- VERSION = '1.2.2'
4
+ VERSION = '1.2.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coltrane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Maciel