head_music 3.0.0 → 3.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: 907af3d8bc6ce8aa6190c98cb809824c3ff2fc6fe3e9de78f895c08f3212b10c
4
- data.tar.gz: e127bfa17bf001311947ab70471e0be132aaa2ecd83d9f0c539154060bd97252
3
+ metadata.gz: e24f2d3952bb3322fd0b1407b680057f9582b6846829b461ad8dafdbfc046e0d
4
+ data.tar.gz: 22c5d7cdc649049693165f1d45199232fa45b5edb80db5bfe8a43eaea5f2bb26
5
5
  SHA512:
6
- metadata.gz: e63258caae492d8668163f1444eed7c4a0e92a5fa07ff7cf4c6b1fd2439430b82b6589f31aa26116ff10d92f4ee5b89fb4e37ae271460f5b89ae8f3ad2ab9b03
7
- data.tar.gz: '005495aca86e5e8869b3a90d37412b966c0b62395470b527942faf9cde3531eca35d9c7e26a1f4b0301ba93adf899c81b7ff2b42512681ae9994d87b4e7b04ce'
6
+ metadata.gz: 54dcd45c4a537408c12f8e2b8ebcf9651d23775203ff7f9eef2240a9f95c37bb43fc8245e9cde782d3987ea925ff172f18a85c8d5cdddf493a42f70ea327c4fc
7
+ data.tar.gz: 826fe8c679a0ff354cd92e9332115953e14388a2027cc764c97ba6cf71d0fc40abefcfb5e4958a82cd76f76b883e6a86131c78cbe10c7cba23f754c3695ed480
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  /spec/examples.txt
11
+ *.gem
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.4
1
+ 3.2.2
data/head_music.gemspec CHANGED
@@ -16,20 +16,20 @@ Gem::Specification.new do |spec|
16
16
  spec.license = "MIT"
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
- f.match(%r{^(test|spec|features)/})
19
+ f.match(%r{^(test|spec|features)/}) || f.match(/\.gem$/)
20
20
  end
21
+
21
22
  spec.bindir = "exe"
22
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
24
  spec.require_paths = ["lib"]
24
25
 
25
26
  spec.required_ruby_version = ">= 3.0"
26
27
 
27
- spec.add_runtime_dependency "activesupport", "~> 5.0", "> 5.0"
28
-
29
- spec.add_runtime_dependency "humanize", "~> 1.3"
28
+ spec.add_runtime_dependency "activesupport", "~> 7.0"
29
+ spec.add_runtime_dependency "humanize", "~> 2.0"
30
30
  spec.add_runtime_dependency "i18n", "~> 1.8"
31
31
 
32
- spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.3"
32
+ spec.add_development_dependency "rake", "~> 13.0"
33
33
  spec.add_development_dependency "rspec", "~> 3.0"
34
34
  spec.add_development_dependency "rspec-its", "~> 1.2"
35
35
  end
@@ -6,8 +6,8 @@ class HeadMusic::Staff
6
6
 
7
7
  attr_reader :default_clef, :line_count, :instrument
8
8
 
9
- def initialize(default_clef, instrument: nil, line_count: nil)
10
- @default_clef = HeadMusic::Clef.get(default_clef)
9
+ def initialize(default_clef_key, instrument: nil, line_count: nil)
10
+ @default_clef = HeadMusic::Clef.get(default_clef_key)
11
11
  @line_count = line_count || DEFAULT_LINE_COUNT
12
12
  @instrument = HeadMusic::Instrument.get(instrument) if instrument
13
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HeadMusic
4
- VERSION = "3.0.0"
4
+ VERSION = "3.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: head_music
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Head
@@ -16,34 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
20
- - - ">"
21
- - !ruby/object:Gem::Version
22
- version: '5.0'
19
+ version: '7.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '5.0'
30
- - - ">"
31
- - !ruby/object:Gem::Version
32
- version: '5.0'
26
+ version: '7.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: humanize
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '1.3'
33
+ version: '2.0'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '1.3'
40
+ version: '2.0'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: i18n
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -64,20 +58,14 @@ dependencies:
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '12.3'
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: 12.3.3
61
+ version: '13.0'
71
62
  type: :development
72
63
  prerelease: false
73
64
  version_requirements: !ruby/object:Gem::Requirement
74
65
  requirements:
75
66
  - - "~>"
76
67
  - !ruby/object:Gem::Version
77
- version: '12.3'
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: 12.3.3
68
+ version: '13.0'
81
69
  - !ruby/object:Gem::Dependency
82
70
  name: rspec
83
71
  requirement: !ruby/object:Gem::Requirement
@@ -130,7 +118,6 @@ files:
130
118
  - TODO.md
131
119
  - bin/console
132
120
  - bin/setup
133
- - head_music-2.0.1.gem
134
121
  - head_music.gemspec
135
122
  - lib/head_music.rb
136
123
  - lib/head_music/chromatic_interval.rb
@@ -248,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
235
  - !ruby/object:Gem::Version
249
236
  version: '0'
250
237
  requirements: []
251
- rubygems_version: 3.4.12
238
+ rubygems_version: 3.4.10
252
239
  signing_key:
253
240
  specification_version: 4
254
241
  summary: The rudiments of western music theory.
data/head_music-2.0.1.gem DELETED
Binary file