head_music 11.5.0 → 11.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cac99dc343591a77ac4160fc00bf209bb5ef9182372248f8d8f5f15728cb419f
4
- data.tar.gz: 5c97aba2f05dff3350864bf7c34b41dcb08e0fb9e87f487fd90647cc2019522a
3
+ metadata.gz: c72fe3b9b0ae106b067b9b9c52ccb490eb41f0a49371e0c5807b2081d4bb9907
4
+ data.tar.gz: 6ae5d7a0771d5cfd1e34d04993532380922f51812bc5e5ee0f6214a3dab87661
5
5
  SHA512:
6
- metadata.gz: fff6cedb936923db750c8725d2f8d2a486dbf5be0f4dced45c345fc1d0fe585b8f39b46f983d56e8561427e8fab52298168b583beae5a5b94aa9d27645165624
7
- data.tar.gz: cd06cb5715a6767849a9f6f327647ec3fb2ded81d450a280b2c58e06b6e55c2a2505b31353f7c0b5f2aef6340ffeeea4f819528d62be37ccff3a21196b90bd10
6
+ metadata.gz: 8788c9bfdefb26e1799047af683effd658a28235d2aaeff004229ce65f593d528ddf757f459a05de726a0a9fe24ebb55062e3e815d25a97c7b7c6d9a31a0bbdc
7
+ data.tar.gz: 87133067a33551ab28220ab579e05c4e75bec30e1d59940f426714dc73be208d8f196108e205def02c0a1c1fe0faae2cb59d64242c218258e6b082d70ce8cefe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- head_music (11.5.0)
4
+ head_music (11.5.1)
5
5
  activesupport (>= 7.0, < 10)
6
6
  humanize (~> 2.0)
7
7
  i18n (~> 1.8)
@@ -45,8 +45,7 @@ class HeadMusic::Analysis::DiatonicInterval::Naming
45
45
  end
46
46
 
47
47
  def shorthand
48
- step_shorthand = (number == 1) ? "U" : number
49
- [quality.shorthand, step_shorthand].join
48
+ [quality.shorthand, number].join
50
49
  end
51
50
 
52
51
  private
@@ -3,10 +3,10 @@ module HeadMusic::Style::Guidelines; end
3
3
 
4
4
  # A counterpoint guideline
5
5
  class HeadMusic::Style::Guidelines::SingableIntervals < HeadMusic::Style::Annotation
6
- PERMITTED_ASCENDING = %w[PU m2 M2 m3 M3 P4 P5 m6 P8].freeze
7
- PERMITTED_DESCENDING = %w[PU m2 M2 m3 M3 P4 P5 P8].freeze
6
+ PERMITTED_ASCENDING = %w[P1 m2 M2 m3 M3 P4 P5 m6 P8].freeze
7
+ PERMITTED_DESCENDING = %w[P1 m2 M2 m3 M3 P4 P5 P8].freeze
8
8
 
9
- MESSAGE = "Use only PU, m2, M2, m3, M3, P4, P5, m6 (ascending), P8 in the melodic line."
9
+ MESSAGE = "Use only P1, m2, M2, m3, M3, P4, P5, m6 (ascending), P8 in the melodic line."
10
10
 
11
11
  def marks
12
12
  melodic_note_pairs.reject { |note_pair| permitted?(note_pair) }.map do |pair_with_unpermitted_interval|
@@ -1,3 +1,3 @@
1
1
  module HeadMusic
2
- VERSION = "11.5.0"
2
+ VERSION = "11.5.1"
3
3
  end
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: 11.5.0
4
+ version: 11.5.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: 2026-02-05 00:00:00.000000000 Z
11
+ date: 2026-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport