head_music 8.1.1 → 8.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +31 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +25 -0
  4. data/.github/dependabot.yml +59 -0
  5. data/.github/pull_request_template.md +26 -0
  6. data/.github/workflows/ci.yml +68 -0
  7. data/.github/workflows/release.yml +49 -0
  8. data/.github/workflows/security.yml +32 -0
  9. data/.gitignore +16 -1
  10. data/.rubocop.yml +4 -1
  11. data/.yardopts +16 -0
  12. data/CHANGELOG.md +212 -0
  13. data/CODE_OF_CONDUCT.md +2 -0
  14. data/CONTRIBUTING.md +143 -0
  15. data/Gemfile +7 -2
  16. data/Gemfile.lock +147 -0
  17. data/README.md +100 -11
  18. data/Rakefile +30 -0
  19. data/head_music.gemspec +13 -2
  20. data/lib/head_music/analysis/diatonic_interval.rb +1 -1
  21. data/lib/head_music/analysis/sonority.rb +1 -1
  22. data/lib/head_music/content/staff.rb +13 -3
  23. data/lib/head_music/content/voice.rb +8 -0
  24. data/lib/head_music/instruments/instrument.rb +1 -3
  25. data/lib/head_music/instruments/instrument_families.yml +36 -2
  26. data/lib/head_music/instruments/instruments.yml +3 -0
  27. data/lib/head_music/instruments/variant.rb +1 -1
  28. data/lib/head_music/locales/de.yml +20 -0
  29. data/lib/head_music/locales/es.yml +19 -0
  30. data/lib/head_music/locales/fr.yml +19 -0
  31. data/lib/head_music/locales/it.yml +20 -0
  32. data/lib/head_music/locales/ru.yml +21 -2
  33. data/lib/head_music/rudiment/solmization.rb +1 -1
  34. data/lib/head_music/style/annotation.rb +4 -4
  35. data/lib/head_music/style/guidelines/consonant_climax.rb +2 -2
  36. data/lib/head_music/version.rb +1 -1
  37. metadata +50 -8
  38. data/.circleci/config.yml +0 -22
  39. data/.circleci/setup-rubygems.sh +0 -3
  40. data/.travis.yml +0 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: head_music
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.1
4
+ version: 8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Head
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-05-23 00:00:00.000000000 Z
11
+ date: 2025-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,6 +94,34 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.2'
97
+ - !ruby/object:Gem::Dependency
98
+ name: bundler-audit
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.9'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.9'
111
+ - !ruby/object:Gem::Dependency
112
+ name: yard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.9'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.9'
97
125
  description: Work with the elements of western music theory, such as pitches, scales,
98
126
  intervals, and chords.
99
127
  email:
@@ -102,16 +130,24 @@ executables: []
102
130
  extensions: []
103
131
  extra_rdoc_files: []
104
132
  files:
105
- - ".circleci/config.yml"
106
- - ".circleci/setup-rubygems.sh"
133
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
134
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
135
+ - ".github/dependabot.yml"
136
+ - ".github/pull_request_template.md"
137
+ - ".github/workflows/ci.yml"
138
+ - ".github/workflows/release.yml"
139
+ - ".github/workflows/security.yml"
107
140
  - ".gitignore"
108
141
  - ".pairs"
109
142
  - ".rspec"
110
143
  - ".rubocop.yml"
111
144
  - ".ruby-version"
112
- - ".travis.yml"
145
+ - ".yardopts"
146
+ - CHANGELOG.md
113
147
  - CODE_OF_CONDUCT.md
148
+ - CONTRIBUTING.md
114
149
  - Gemfile
150
+ - Gemfile.lock
115
151
  - LICENSE.txt
116
152
  - README.md
117
153
  - Rakefile
@@ -229,7 +265,13 @@ files:
229
265
  homepage: https://github.com/roberthead/head_music
230
266
  licenses:
231
267
  - MIT
232
- metadata: {}
268
+ metadata:
269
+ homepage_uri: https://github.com/roberthead/head_music
270
+ source_code_uri: https://github.com/roberthead/head_music
271
+ changelog_uri: https://github.com/roberthead/head_music/blob/main/CHANGELOG.md
272
+ documentation_uri: https://rubydoc.info/gems/head_music
273
+ bug_tracker_uri: https://github.com/roberthead/head_music/issues
274
+ rubygems_mfa_required: 'true'
233
275
  post_install_message:
234
276
  rdoc_options: []
235
277
  require_paths:
@@ -238,7 +280,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
280
  requirements:
239
281
  - - ">="
240
282
  - !ruby/object:Gem::Version
241
- version: '3.0'
283
+ version: 3.3.0
242
284
  required_rubygems_version: !ruby/object:Gem::Requirement
243
285
  requirements:
244
286
  - - ">="
@@ -248,5 +290,5 @@ requirements: []
248
290
  rubygems_version: 3.5.6
249
291
  signing_key:
250
292
  specification_version: 4
251
- summary: The rudiments of western music theory.
293
+ summary: The rudiments of western music theory and analysis.
252
294
  test_files: []
data/.circleci/config.yml DELETED
@@ -1,22 +0,0 @@
1
- version: 2
2
- jobs:
3
- build:
4
- docker:
5
- - image: circleci/ruby:2.6.7
6
- steps:
7
- - checkout
8
- - restore_cache:
9
- keys:
10
- - v1-gems-{{ checksum "Gemfile.lock" }}
11
- - v1-gems-
12
- - run:
13
- name: Bundle Install
14
- command: bundle check || bundle install
15
- - save_cache:
16
- key: v1-gems-{{ checksum "Gemfile.lock" }}
17
- paths:
18
- - vendor/bundle
19
- - run:
20
- command: bundle exec rspec
21
- - store_test_results:
22
- path: test_results
@@ -1,3 +0,0 @@
1
- mkdir ~/.gem
2
- echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
3
- chmod 0600 /home/circleci/.gem/credentials
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 3.1.4
5
- before_install: gem install bundler