coltrane 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/coltrane/commands/notes.rb +1 -0
- data/lib/coltrane/commands/scale.rb +1 -2
- data/lib/coltrane/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 875bc7bd199ea9861cfaad5aceb0f9ccc8005d7617fe84cb6767ed4aa8d47972
|
4
|
+
data.tar.gz: 6e0b3af6769f03290b2c5efccede1e92a7a479324af3907005bd0e1a5c8476cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f84e7beafef420b8f0178e0e2e07779018f55725a40123deeaa8a1a4bc8b8a883a13b2e3432a47ea2fe8162df4325a1a6b712df12d4abac40a114d66e0da2ad0
|
7
|
+
data.tar.gz: 0f1a2d26f22f7692d867dcdf5d014043bc5e347bcd78a6e777415c7b5c9bb43860a1211808ef3f3424a1bd4f3732b15d30c64b7e04c72173c2249e869c0e7497
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
coltrane (3.3.
|
4
|
+
coltrane (3.3.1)
|
5
5
|
color (~> 1.8)
|
6
6
|
dry-monads (~> 0.4)
|
7
7
|
paint (~> 2.0)
|
@@ -20,7 +20,7 @@ GEM
|
|
20
20
|
docile (1.3.0)
|
21
21
|
dry-core (0.4.5)
|
22
22
|
concurrent-ruby (~> 1.0)
|
23
|
-
dry-equalizer (0.2.
|
23
|
+
dry-equalizer (0.2.1)
|
24
24
|
dry-monads (0.4.0)
|
25
25
|
dry-core (~> 0.3, >= 0.3.3)
|
26
26
|
dry-equalizer
|
@@ -22,6 +22,7 @@ module Coltrane
|
|
22
22
|
def on_model
|
23
23
|
case on.to_sym
|
24
24
|
when /custom_guitar/ then custom_guitar_notes
|
25
|
+
when :text then notes
|
25
26
|
when :guitar then Representation::Guitar.find_notes(notes)
|
26
27
|
when :ukulele, :ukelele then Representation::Ukulele.find_notes(notes)
|
27
28
|
when :bass then Representation::Bass.find_notes(notes)
|
@@ -35,8 +35,7 @@ module Coltrane
|
|
35
35
|
scale.chords(options[:chords].to_i)
|
36
36
|
.each { |chord| Commands::Chords.new(chord, **options).render }
|
37
37
|
else
|
38
|
-
scale.notes
|
39
|
-
.yield_self {|notes| Commands::Notes.new(notes, **options.merge(preface: scale.full_name)).render }
|
38
|
+
Commands::Notes.new(scale.notes, **options.merge(preface: scale.full_name)).render
|
40
39
|
end
|
41
40
|
}
|
42
41
|
}
|
data/lib/coltrane/version.rb
CHANGED
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: 3.3.
|
4
|
+
version: 3.3.1
|
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-05-
|
11
|
+
date: 2018-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-reader
|