music-transcription 0.5.9 → 0.5.10

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: 98dcaaa45ed4d2657d10edf7f66c97f2a205dcef
4
- data.tar.gz: 65efc0fb101554ab92e3f18e0c12e62ae2ac74a7
3
+ metadata.gz: c5a2fe8f5cd88b188a02996d8cda9c12c496513f
4
+ data.tar.gz: 2e4a25eb76fe5ac98d928acc253a7784190d7a05
5
5
  SHA512:
6
- metadata.gz: 3092c28906352333a5301395e2ede2e279f116bf4e3f42d185b2bc0f5ff485df91052e0a073bcbc676115bb869bd4eb559d06062d15c05b597194b031530695b
7
- data.tar.gz: 548f8c77924977acc44df3cec1c2829f143fab6abd2fe9667c45a870ebea30ab8d3e2b6c47f944a9bfa1fc0ffb74b99421c800f77bad1838b48f58eef8c52d19
6
+ metadata.gz: 7e4992d64b4d6dc135c0a28c878f036683c0188c666738eee42d9e4cc8281d1acffb5317912fe42e1accbb450da1c8d149043b290bd7ad1bcc2533e0b2aa6099
7
+ data.tar.gz: 3cf61df796185c129dbc7f539449d6f8b91ee55f007ffc158825c8adc4189ed15998d1d6267bc24634f74f6d8908a200adc1ff48a6675f19b099baa9c3436092
@@ -11,6 +11,11 @@ class Tempo
11
11
  @beat_duration = beat_duration
12
12
  end
13
13
 
14
+ def ==(other)
15
+ (other.beats_per_minute == @beats_per_minute) &&
16
+ (other.beat_duration == @beat_duration)
17
+ end
18
+
14
19
  def notes_per_second
15
20
  (@beats_per_minute * @beat_duration) / 60.0
16
21
  end
@@ -2,6 +2,6 @@
2
2
  module Music
3
3
  module Transcription
4
4
  # music-transcription version
5
- VERSION = "0.5.9"
5
+ VERSION = "0.5.10"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music-transcription
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Tunnell