tonal-tools 8.8.2 → 8.8.3
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 +4 -4
- data/lib/tonal/attributions.rb +1 -1
- data/lib/tonal/ratio.rb +1 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d17a66bfeffdbb9b385962d18767b8750d67c36ebf6757ca048f7640e905ebaa
|
|
4
|
+
data.tar.gz: 74e415a1db46af3cb9345280cb7bc56cfebfba8ea223a445785f2d5637507dbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9001c74c1d40419f25f6f63061c72bec1535a947e050495bdb2ceaf15253637b9b1bf752fa221e868e0a76ae7139133981579318277c5d7d205ba8a2df4c04d8
|
|
7
|
+
data.tar.gz: 6bd3ceb1427d2ba7be06155dbe40e9731e2f66752b5ffdac08c45316ce152de7305a3b4d88d83879edca49ddd649da789c05c3ebfd8663f4968bd1ec8969a39f
|
data/lib/tonal/attributions.rb
CHANGED
data/lib/tonal/ratio.rb
CHANGED
|
@@ -666,11 +666,7 @@ class Tonal::Ratio
|
|
|
666
666
|
other.instance_of?(self.class) && to_r == other.to_r
|
|
667
667
|
end
|
|
668
668
|
|
|
669
|
-
def hash
|
|
670
|
-
p, q = 17, 37
|
|
671
|
-
p = q * @id.hash
|
|
672
|
-
p = q * @name.hash
|
|
673
|
-
end
|
|
669
|
+
def hash = [self.class, to_r].hash
|
|
674
670
|
|
|
675
671
|
private
|
|
676
672
|
def _initialize(antecedent, consequent=nil, label: nil, equave: DEFAULT_EQUAVE)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tonal-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.8.
|
|
4
|
+
version: 8.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jose Hales-Garcia
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-10-17 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: yaml
|