coltrane 4.0.4 → 4.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6af6e16619088161bbed7d6606e521657945e47fbb78b612b6e9ebfe1df6893b
4
- data.tar.gz: 327dcbfe6ad9bdf5aeeca05f41f53b7be924dcc5791d1207dace0d8690040dc6
3
+ metadata.gz: 8412a5eacbab879b926a8754d15d5fd0e38be905c8d7352db107aad5d4598ab8
4
+ data.tar.gz: 2f60c931dc63ca0dea2eee00be6c78b45ee8303d737af3ccc1eca93f567d7d32
5
5
  SHA512:
6
- metadata.gz: 6e711e78657c5e18583d6b413647e2044200156a7c246c5b22dcb7afd2e596739a63ce4630619838be68b411a9b73d49ac26d9d341457d48e2b94fc96acb4265
7
- data.tar.gz: 05fe206b1f417a0607f9478b69ef62b603d597c354efe172f892d90f2653334d0da5884d9beb1d76eb37ac145129c590fca3a484f012f0d2da535d39754272c4
6
+ metadata.gz: 1fdd2e8aef21c73f2a7a127031ba1079c451a9cc5e85f3cb559818b97eee106a53d3098115814b8c8268abda85468b85c151f608032b36e86be8882d4b132918
7
+ data.tar.gz: 62a50cb05ab3439d565f6714d0d0ffde2886c5b85409929cd535f80634e3303de98ec7e7ae5e5e26379180acbca10e48cc4062c854fe0c9bc203135cb7d22143
data/.DS_Store CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coltrane (4.0.3)
4
+ coltrane (4.0.5)
5
5
  activesupport (> 5.2)
6
6
  cli-ui (~> 1.1)
7
7
  color (~> 1.8)
@@ -1,7 +1,7 @@
1
1
  module Coltrane
2
2
  module Commands
3
3
  class FindScaleByChords < Command
4
- def run(chords)
4
+ def run(*chords)
5
5
  Theory::Scale.having_chords(*chords)
6
6
  end
7
7
  end
@@ -18,7 +18,9 @@ module Coltrane
18
18
  chord_representation: {
19
19
  statement: 'How do you wanna see this',
20
20
  options: Commands::AvailableChordRepresentations.run
21
- }
21
+ },
22
+
23
+ representation: nil
22
24
  })
23
25
  def render
24
26
  scale = Commands::GetClassicScale.run(*params.values_at(:scale, :tone))
@@ -12,6 +12,7 @@ module Coltrane
12
12
 
13
13
  def questions(question_data)
14
14
  @questions.merge!(question_data)
15
+ @questions.compact!
15
16
  end
16
17
 
17
18
  def set_path(value)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coltrane
4
- VERSION = '4.0.4'
4
+ VERSION = '4.0.5'
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: 4.0.4
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Maciel