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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d2c4c2f31729c93b6b3e8a37715d3686210da80970f4f42ea5205e8e39f029c
4
- data.tar.gz: 376e9ca70b7b63896ea315383695a26b624a6bf90e5397776e8700104de078a9
3
+ metadata.gz: 875bc7bd199ea9861cfaad5aceb0f9ccc8005d7617fe84cb6767ed4aa8d47972
4
+ data.tar.gz: 6e0b3af6769f03290b2c5efccede1e92a7a479324af3907005bd0e1a5c8476cb
5
5
  SHA512:
6
- metadata.gz: 52459e563498115c43f5e69c7da097102c598ef941beb5917df7c3867bf850616ed54978fb6119d6443e6e129255a916e7b4f2583e51dc8a6013134d0e69fbae
7
- data.tar.gz: 458eba1dfdfdb95a535b6dd2520ce32bec09aa3ef98aa1f6482855ca878071ebebd818cfd4a75fd3ff30060101196bbc9f438db2dfc5a3ba7d3120533e9bf0c2
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.0)
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.0)
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
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coltrane
4
- VERSION = '3.3.0'
4
+ VERSION = '3.3.1'
5
5
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2018-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-reader