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 +4 -4
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/head_music.gemspec +5 -5
- data/lib/head_music/staff.rb +2 -2
- data/lib/head_music/version.rb +1 -1
- metadata +8 -21
- data/head_music-2.0.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e24f2d3952bb3322fd0b1407b680057f9582b6846829b461ad8dafdbfc046e0d
|
4
|
+
data.tar.gz: 22c5d7cdc649049693165f1d45199232fa45b5edb80db5bfe8a43eaea5f2bb26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54dcd45c4a537408c12f8e2b8ebcf9651d23775203ff7f9eef2240a9f95c37bb43fc8245e9cde782d3987ea925ff172f18a85c8d5cdddf493a42f70ea327c4fc
|
7
|
+
data.tar.gz: 826fe8c679a0ff354cd92e9332115953e14388a2027cc764c97ba6cf71d0fc40abefcfb5e4958a82cd76f76b883e6a86131c78cbe10c7cba23f754c3695ed480
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
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", "~>
|
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", "~>
|
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
|
data/lib/head_music/staff.rb
CHANGED
@@ -6,8 +6,8 @@ class HeadMusic::Staff
|
|
6
6
|
|
7
7
|
attr_reader :default_clef, :line_count, :instrument
|
8
8
|
|
9
|
-
def initialize(
|
10
|
-
@default_clef = HeadMusic::Clef.get(
|
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
|
data/lib/head_music/version.rb
CHANGED
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.
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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.
|
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
|