coltrane 3.1.2 → 3.1.3

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: 5328e6e18fbdfab20c403590e1d1a9f558f23626c70de5aa411428e2924b07d7
4
- data.tar.gz: e5fc08b5901af995e5fda4357d0b9db040e2051a9caeac298d3a9c59becc49cd
3
+ metadata.gz: ac0d46eac3d20a2fedcaa721b417747a825114751af354ee2006e216ed07c7f4
4
+ data.tar.gz: ec03e35092ad2006a41031755b91be814d0e7c7a211fe859a5714823ac7ce7e7
5
5
  SHA512:
6
- metadata.gz: 9c2b3764eb8b975f3ec3ff68e340751a7dcaf6cf443dae89687d56fab39e71e03a360b5f7857cca5d666d378c206c46fc51b4348183b32212fd5249893a383b8
7
- data.tar.gz: ac8d4e4ededf1b7c97adc8ae4ca83da52e2114c4b50bb6e4d6302e5bf69e36a01d753e054990274136942cfb2875152cfd9f8734bc1500d7f7c1a1cccc010975
6
+ metadata.gz: 4e752677867bafe244e6fcb5df03957a16b1f35b2f2fce127778394197509afabd99a916444d27d90a50694e6dd11fab39cf78d4f17653aa9ef5f8d0b644bfe9
7
+ data.tar.gz: ceeee17fffeb15eb6e1cffbb8b9780152d68e7784f656894e543a579f9b195f83e8c8abd5cbf83933d9da2725d5e099d44dab821db46cdd786d5a8006d5ef285
@@ -5,6 +5,11 @@
5
5
  - Fix chords so that they generate a barre and a non-barre version and prevent
6
6
  barre chords from picking notes before the barre.
7
7
 
8
+ ## [3.1.3]
9
+ - Several fixes.
10
+ - Interactive mode
11
+ - It's all or nothing! If the terminal doesn't support true color, default to black and white and display message suggesting some cool terminal apps
12
+
8
13
  ## [3.0.0]
9
14
 
10
15
  ### Changes
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coltrane (3.1.2)
4
+ coltrane (3.1.3)
5
5
  color (~> 1.8)
6
6
  dry-monads (~> 0.4)
7
7
  paint (~> 2.0)
data/README.md CHANGED
@@ -237,6 +237,10 @@ iv-I-V-II in F Blues Major (2 notes out)
237
237
 
238
238
  PS: Notice that vi-IV-I-V is the well known I-V-vi-IV progression, [used in a lot of songs](http://www.wikiwand.com/en/List_of_songs_containing_the_I–V–vi–IV_progression).
239
239
 
240
+ ### Interactive mode (shell)
241
+
242
+ Simply type `coltrane` or `coltrane shell` to enable interactive mode. You can then run commands without typing `coltrane ` before, E.G.: `scale D harmonic minor`
243
+
240
244
  ## Installation
241
245
 
242
246
  ```bash
@@ -9,7 +9,14 @@ require 'color'
9
9
  require 'pedrozath-mercenary'
10
10
  require 'coltrane/commands'
11
11
 
12
- Paint.mode = 0xFFFFFF
12
+ if ENV['COLORTERM'] == 'truecolor'
13
+ Paint.mode = 0xFFFFFF
14
+ else
15
+ Paint.mode = 0
16
+ puts "This terminal doesn't seem to support true color. " \
17
+ "Try something like iTerm2 (for macOS), VTE or Konsole (for linux) or Hyper" \
18
+ " (for Windows) and you'll see the true magic!"
19
+ end
13
20
 
14
21
  Mercenary.program(:Coltrane) do |p|
15
22
  p.version Coltrane::VERSION
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coltrane
4
- VERSION = '3.1.2'
4
+ VERSION = '3.1.3'
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.1.2
4
+ version: 3.1.3
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-04-07 00:00:00.000000000 Z
11
+ date: 2018-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-reader