chord_diagrams 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +22 -0
- data/.ruby-version +1 -1
- data/.tool-versions +1 -0
- data/README.md +1 -1
- data/Rakefile +5 -2
- data/chord_diagrams.gemspec +7 -5
- data/lib/chord_diagrams/fingerings.csv +1 -0
- data/lib/chord_diagrams/version.rb +1 -1
- metadata +26 -25
- data/.travis.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e2ac822f1ea38010bcf65ba0dc0415f13632e8659bfc31682b635d95a7a25e5
|
4
|
+
data.tar.gz: 44764d69a88c4a22882fc5bcb886f82c3dd05a4d7b45edecd5ffb1d92df10ce7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 735fb4df05dd7b428da25f1d5c6aba8f966901cc13151dba0e5410ec0d2bf8c71d98842e9321c22de1b2be6a0193c7c8c9e839631e235e1fa0fddaf31510010d
|
7
|
+
data.tar.gz: 555afb42e5da751cfd45b36bc79c6323372b7ea39ebc22050f8c3ed46c695dfa3c264de6d5ace7589da3bb7fb0c031f51a80f431cb7c71bb0307819d495a4f86
|
@@ -0,0 +1,22 @@
|
|
1
|
+
name: Build
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
|
9
|
+
strategy:
|
10
|
+
matrix:
|
11
|
+
ruby-version: [3.0, 3.1, 3.2, head]
|
12
|
+
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v2
|
15
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
16
|
+
uses: ruby/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: ${{ matrix.ruby-version }}
|
19
|
+
- name: Install dependencies
|
20
|
+
run: bundle install
|
21
|
+
- name: Run tests
|
22
|
+
run: bundle exec rake
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
3.2.0
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.2.0
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ChordDiagrams [![Build Status](https://www.travis-ci.com/spilth/chord_diagrams.svg?branch=
|
1
|
+
# ChordDiagrams [![Build Status](https://www.travis-ci.com/spilth/chord_diagrams.svg?branch=main)](https://www.travis-ci.com/spilth/chord_diagrams)
|
2
2
|
|
3
3
|
Generate SVGs for Guitar and Ukulele Chord Diagrams
|
4
4
|
|
data/Rakefile
CHANGED
@@ -7,8 +7,10 @@ RSpec::Core::RakeTask.new(:spec)
|
|
7
7
|
|
8
8
|
task default: [:spec, :standard]
|
9
9
|
|
10
|
+
desc "Generate all diagrams"
|
10
11
|
task sheets: %i[guitar ukulele]
|
11
12
|
|
13
|
+
desc "Generate guitar diagrams"
|
12
14
|
task :guitar do
|
13
15
|
html = ""
|
14
16
|
|
@@ -16,9 +18,10 @@ task :guitar do
|
|
16
18
|
html << ChordDiagrams.guitar_svg(name)
|
17
19
|
end
|
18
20
|
|
19
|
-
File.
|
21
|
+
File.write("guitar.html", html)
|
20
22
|
end
|
21
23
|
|
24
|
+
desc "Generate ukulele diagrams"
|
22
25
|
task :ukulele do
|
23
26
|
html = ""
|
24
27
|
|
@@ -26,5 +29,5 @@ task :ukulele do
|
|
26
29
|
html << ChordDiagrams.ukulele_svg(name)
|
27
30
|
end
|
28
31
|
|
29
|
-
File.
|
32
|
+
File.write("ukulele.html", html)
|
30
33
|
end
|
data/chord_diagrams.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
lib = File.expand_path("lib", __dir__)
|
2
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
5
|
require "chord_diagrams/version"
|
@@ -35,10 +37,10 @@ Gem::Specification.new do |spec|
|
|
35
37
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
36
38
|
spec.require_paths = ["lib"]
|
37
39
|
|
38
|
-
spec.add_dependency "victor", "0.3.
|
39
|
-
spec.add_development_dependency "bundler"
|
40
|
-
spec.add_development_dependency "rake"
|
41
|
-
spec.add_development_dependency "rspec"
|
42
|
-
spec.add_development_dependency "nokogiri"
|
40
|
+
spec.add_dependency "victor", "0.3.4"
|
41
|
+
spec.add_development_dependency "bundler"
|
42
|
+
spec.add_development_dependency "rake"
|
43
|
+
spec.add_development_dependency "rspec"
|
44
|
+
spec.add_development_dependency "nokogiri"
|
43
45
|
spec.add_development_dependency "standardrb"
|
44
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chord_diagrams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Kelly
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: victor
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.3.
|
19
|
+
version: 0.3.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.3.
|
26
|
+
version: 0.3.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: nokogiri
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: standardrb
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,10 +101,11 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- ".github/workflows/build.yml"
|
104
105
|
- ".gitignore"
|
105
106
|
- ".rspec"
|
106
107
|
- ".ruby-version"
|
107
|
-
- ".
|
108
|
+
- ".tool-versions"
|
108
109
|
- Gemfile
|
109
110
|
- LICENSE.txt
|
110
111
|
- README.md
|
@@ -123,7 +124,7 @@ metadata:
|
|
123
124
|
allowed_push_host: https://rubygems.org
|
124
125
|
homepage_uri: https://github.com/spilth/chord_diagrams
|
125
126
|
source_code_uri: https://github.com/spilth/chord_diagrams
|
126
|
-
post_install_message:
|
127
|
+
post_install_message:
|
127
128
|
rdoc_options: []
|
128
129
|
require_paths:
|
129
130
|
- lib
|
@@ -138,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
139
|
- !ruby/object:Gem::Version
|
139
140
|
version: '0'
|
140
141
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
142
|
-
signing_key:
|
142
|
+
rubygems_version: 3.4.7
|
143
|
+
signing_key:
|
143
144
|
specification_version: 4
|
144
145
|
summary: Generate Chord Diagrams for Guitar and Ukulele
|
145
146
|
test_files: []
|