fretboard 1.0.0 → 1.0.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: e693a29f4bdd5acf2f84f4fe9cf1a550636ab1a642ae0919a8c8e7fa35eb790e
4
- data.tar.gz: 7c60bf49fda12e0d7c1daae56bffbb2c2b663c9ef0edd7c0a0ef7a500433135c
3
+ metadata.gz: f0a46ecd63bcdc0c371eb2dd055dd49866342e21f44143a1c251e295dc481a25
4
+ data.tar.gz: da4cf2a0618c6933e2bbd1cf6c9fe5bae055473675afeed7e3970962025a2ba9
5
5
  SHA512:
6
- metadata.gz: b11b6cb3ff18495b1866e15637c9ea1bd3c8c04f5043f647f56a77cb8527f69ec117a6c69afc09999c18e20586c090e0f4c22d6785b677e35be26802503b20f0
7
- data.tar.gz: c42ebced988ef825dda2a06177f3e8be257d1244828238ef0fee8fd41dde33e2b2ca1aa014e793650a3807cf2df8a27e200fd092342322b5dfb02be6b6e723b5
6
+ metadata.gz: d24330355134a4adf64dc87baff7f992fa2b3e22c409232830079a692686ca590670527f4963d201e8dafe7ae764043e28aa79d422f7c98244c8415f0a8fc17a
7
+ data.tar.gz: bcb1765254dea7013edab1c462c198c4b140fc73f52bc33b54f4f44bebb99199eec8a3910c9d153bff6be76452087a67ad1d790c9eae89951a947909adb96929
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  Tools for working with the guitar fretboard.
4
4
 
5
- ![Demo](https://raw.githubusercontent.com/afuno/fretboard/dev/images/demo1.png)
6
-
7
5
  [Documentation](https://www.rubydoc.info/gems/fretboard)
8
6
 
9
7
  ## Installation
@@ -22,6 +20,8 @@ fretboard = Fretboard::Builder.new(:standart)
22
20
  fretboard = Fretboard::Builder.standart
23
21
  ```
24
22
 
23
+ [Available tunings](#available-tunings)
24
+
25
25
  Creating the fretboard data:
26
26
 
27
27
  ```ruby
@@ -32,12 +32,25 @@ Get the created data:
32
32
 
33
33
  ```ruby
34
34
  fretboard.data
35
+
36
+ # => {1=>{0=>"E", 1=>"F", 2=>"F#/Gb", 3=>"G", 4=>"G#/Ab", 5=>"A", 6=>"A#/Bb", 7=>"B", 8=>"C", 9=>"C#/Db", 10=>"D", 11=>"D#/Eb", 12=>"E"}, 2=>{0=>"B", 1=>"C", 2=>"C#/Db", 3=>"D", 4=>"D#/Eb", 5=>"E", 6=>"F", 7=>"F#/Gb", 8=>"G", 9=>"G#/Ab", 10=>"A", 11=>"A#/Bb", 12=>"B"}, 3=>{0=>"G", 1=>"G#/Ab", 2=>"A", 3=>"A#/Bb", 4=>"B", 5=>"C", 6=>"C#/Db", 7=>"D", 8=>"D#/Eb", 9=>"E", 10=>"F", 11=>"F#/Gb", 12=>"G"}, 4=>{0=>"D", 1=>"D#/Eb", 2=>"E", 3=>"F", 4=>"F#/Gb", 5=>"G", 6=>"G#/Ab", 7=>"A", 8=>"A#/Bb", 9=>"B", 10=>"C", 11=>"C#/Db", 12=>"D"}, 5=>{0=>"A", 1=>"A#/Bb", 2=>"B", 3=>"C", 4=>"C#/Db", 5=>"D", 6=>"D#/Eb", 7=>"E", 8=>"F", 9=>"F#/Gb", 10=>"G", 11=>"G#/Ab", 12=>"A"}, 6=>{0=>"E", 1=>"F", 2=>"F#/Gb", 3=>"G", 4=>"G#/Ab", 5=>"A", 6=>"A#/Bb", 7=>"B", 8=>"C", 9=>"C#/Db", 10=>"D", 11=>"D#/Eb", 12=>"E"}}
35
37
  ```
36
38
 
37
39
  Drawing the fretboard in the console:
38
40
 
39
41
  ```ruby
40
42
  fretboard.draw
43
+
44
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45
+ # | № | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
46
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47
+ # | 1 | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E |
48
+ # | 2 | B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B |
49
+ # | 3 | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G |
50
+ # | 4 | D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D |
51
+ # | 5 | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E | F | F#/Gb | G | G#/Ab | A |
52
+ # | 6 | E | F | F#/Gb | G | G#/Ab | A | A#/Bb | B | C | C#/Db | D | D#/Eb | E |
53
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41
54
  ```
42
55
 
43
56
  ### Available tunings:
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.summary = 'Tools for working with the guitar fretboard'
15
15
  spec.description = 'Tools for working with the guitar fretboard'
16
16
 
17
- spec.files = `git ls-files -z *.md *.gemspec bin lib images`.split("\x0")
17
+ spec.files = `git ls-files -z *.md *.gemspec bin lib`.split("\x0")
18
18
  spec.require_paths = ['lib']
19
19
 
20
20
  # spec.executables = ['fretboard']
@@ -1,7 +1,7 @@
1
1
  module Fretboard
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 0
4
+ PATCH = 1
5
5
 
6
6
  VERSION = [
7
7
  MAJOR,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fretboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
@@ -48,7 +48,6 @@ files:
48
48
  - LICENSE.md
49
49
  - README.md
50
50
  - fretboard.gemspec
51
- - images/demo1.png
52
51
  - lib/fretboard.rb
53
52
  - lib/fretboard/builder.rb
54
53
  - lib/fretboard/constants.rb
Binary file