music_theory 0.3.4 → 0.3.5

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
  SHA1:
3
- metadata.gz: 22bc9c9d80424e0d30312f681c1b95538c058ad7
4
- data.tar.gz: 3ea5ed5f6ad9855af5cb2830f33da45b09a7ef03
3
+ metadata.gz: ccfbaaf5a5194cb1b635cc723619838f0559a587
4
+ data.tar.gz: f55558f4f5f1b037701e9cf800cc02e5cd973320
5
5
  SHA512:
6
- metadata.gz: f51bd9d3850e22ccb4838e359a987c581d1a7a6f86ae00d681e254dc1775cc20503fe333856a58110d352ffb392933d562a57caf041474a7fddc17a9a84aeae6
7
- data.tar.gz: c5df9066c5d293fa502f3d83eca275a2adb5a961caba0de6b00afa76979e5d0dac1f65249b22fd2065cdd98a747c7c29a70e76db7279638bf85bff6ef2825dcd
6
+ metadata.gz: 0f77bef714edece2f1ff80dae892faccf8166b0f4341982340eaec39fe32d60795cabebf7a03e2f0d58952aee29205aa6b8b1f62c6b8f088cdcaa16301b2aaf0
7
+ data.tar.gz: d832a961a8bee09e083f721c250ca53374394b3c30c1f637080322d7b4a542d1105645cdc65cfed55cfa490122cc8cc5915053ae0567a5cc9da0a2de61855787
@@ -14,7 +14,7 @@ module MusicTheory
14
14
  current += group.sum
15
15
  all_notes << double_scale_notes[current]
16
16
  end
17
- all_notes.uniq! {|note| note.frequency}.sort_by! {|note| note.frequency}
17
+ all_notes.compact.uniq {|note| note.frequency}.sort_by! {|note| note.frequency}
18
18
  end
19
19
 
20
20
  def samples
@@ -1,3 +1,3 @@
1
1
  module MusicTheory
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music_theory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett