head_music 0.11.4 → 0.11.5

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
  SHA1:
3
- metadata.gz: e49d98777ab35cb1fb73e08560b941c40eefbc45
4
- data.tar.gz: e1c5b3542807efa7c960cd0d73462e375565ce2e
3
+ metadata.gz: 2ee16e4013027a6fe342e4d973776fb380223b5e
4
+ data.tar.gz: d12649ec79f0ccd7f76704f9bcbfad4817c27fe7
5
5
  SHA512:
6
- metadata.gz: c0b1d9f719e62749bab0ad44de6a34dbb65ecdb0e7dde65500e21485fb28de70db49058865aab1e16a9849ba8a7887b0e5148b3dfc5ed61d034670096ebf14f9
7
- data.tar.gz: 5fdbd811aa2474fb2aecaf50cd8414ba8ee09565d5143027572774bf2cc98c7086922523dbcf8b0538411e68719f095af0472bd25bfe27e39c6956a847c56d18
6
+ metadata.gz: d8d6c2387ab4ec2f60e11bc3b3609faf03372b3106b44b023d399adbb2010aff6433ab768dd8de467368ddaafcad5d5c0bf11fa2733ec1ef7ccce403cbed4c89
7
+ data.tar.gz: 387fd42c44265d53ab06dbefb587b6f3f6f623ce4714133362b2b3b4a4b2d2d474e82f31678a726f5a12752766819677e76b1928b01d0d39d5b191d5ec429b90
@@ -15,7 +15,7 @@ class HeadMusic::Style::Annotations::AtLeastEightNotes < HeadMusic::Style::Annot
15
15
  private
16
16
 
17
17
  def no_placements_mark
18
- return Style::Mark.new(
18
+ return HeadMusic::Style::Mark.new(
19
19
  HeadMusic::Position.new(composition, "1:1"),
20
20
  HeadMusic::Position.new(composition, "2:1"),
21
21
  fitness: HeadMusic::PENALTY_FACTOR**MINIMUM_NOTES
@@ -25,7 +25,7 @@ class HeadMusic::Style::Annotations::AtLeastEightNotes < HeadMusic::Style::Annot
25
25
  def deficiency_mark
26
26
  deficiency = [MINIMUM_NOTES - notes.length, 0].max
27
27
  if deficiency > 0
28
- Style::Mark.for_all(placements, fitness: HeadMusic::PENALTY_FACTOR**deficiency)
28
+ HeadMusic::Style::Mark.for_all(placements, fitness: HeadMusic::PENALTY_FACTOR**deficiency)
29
29
  end
30
30
  end
31
31
  end
@@ -10,7 +10,7 @@ class HeadMusic::Style::Annotations::UpToThirteenNotes < HeadMusic::Style::Annot
10
10
 
11
11
  def marks
12
12
  if overage > 0
13
- Style::Mark.for_all(notes[13..-1])
13
+ HeadMusic::Style::Mark.for_all(notes[13..-1])
14
14
  end
15
15
  end
16
16
 
@@ -1,3 +1,3 @@
1
1
  module HeadMusic
2
- VERSION = "0.11.4"
2
+ VERSION = "0.11.5"
3
3
  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: 0.11.4
4
+ version: 0.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Head