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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a16a88b747ac512e5fc309130f6cd953228ac284fe4ffdef1aba5022e31fd059
4
- data.tar.gz: ab2db5f28c06082ae209bd575420d3f98c5cdca1167f7a6e4b1f7b0d4f4ecdeb
3
+ metadata.gz: 7e2ac822f1ea38010bcf65ba0dc0415f13632e8659bfc31682b635d95a7a25e5
4
+ data.tar.gz: 44764d69a88c4a22882fc5bcb886f82c3dd05a4d7b45edecd5ffb1d92df10ce7
5
5
  SHA512:
6
- metadata.gz: c23e1acd4a41acd93365ebf96e96ca680ef13cb841e6a8ddf3df0398d7d4c65ff2ad14f491055fbc316815b53334b58f49200e9ad83312781aaf33418f112c7b
7
- data.tar.gz: 28e712bd7a6ebdacbccaa6b85f5e7df6e0fb01ff1cc0b8bc693b6de073a0d779673c5b788fca390b787b6f9e862181fb96a8498907a65fed87b55c7c8ff0d5e4
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.7.3
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=master)](https://www.travis-ci.com/spilth/chord_diagrams)
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.open("guitar.html", "w") { |file| file.write(html) }
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.open("ukulele.html", "w") { |file| file.write(html) }
32
+ File.write("ukulele.html", html)
30
33
  end
@@ -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.2"
39
- spec.add_development_dependency "bundler", "~> 2.2"
40
- spec.add_development_dependency "rake", "~> 13.0"
41
- spec.add_development_dependency "rspec", "~> 3.8"
42
- spec.add_development_dependency "nokogiri", "~> 1.11"
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
@@ -94,3 +94,4 @@ D#dim7,xx1212,2323
94
94
  G#dim7,456464,1212
95
95
  Daug,xx0332,3221
96
96
  Aaug,x03221,2114
97
+ Dadd11,xx0032,0220
@@ -1,3 +1,3 @@
1
1
  module ChordDiagrams
2
- VERSION = "0.0.12".freeze
2
+ VERSION = "0.0.13".freeze
3
3
  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.12
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: 2021-08-24 00:00:00.000000000 Z
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.2
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.2
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: '2.2'
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: '2.2'
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: '13.0'
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: '13.0'
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: '3.8'
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: '3.8'
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: '1.11'
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: '1.11'
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
- - ".travis.yml"
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.1.6
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: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.7.2
7
- before_install: gem install bundler -v 2.2