ruby-mext 0.21.1 → 0.21.2

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: af5724f948e0ea3cdfd938e89f37c4daf105d42d3c114faa68385269907ced28
4
- data.tar.gz: 17886d733497b5553741ee31022f13378a3f38d0043182b10391abebdc9fd511
3
+ metadata.gz: a4bdefcc4ff87903fed556272a44c7af65c0c68108afcb10b44aef7bc276a4cd
4
+ data.tar.gz: 69e8d7f5bb010371caccabe8839ca9768010ae80a030fe746dab7d893bc917f7
5
5
  SHA512:
6
- metadata.gz: 833603ff9cf2f2845fb5e3757fb5c7cef2679650439c65d3e2ea3cc7506fbea5cbd37920f56ecc067dff3820f35fba4b6a9afb0c9339b8286fc404012142fc90
7
- data.tar.gz: 109db15f348ca299e959d3bd61d6371ac5f1d553e56ab9d0f5ddd8e8269f44a5e9b63a2bb9ba80667a06eee6f959f7649d3b21c91bcd113b1bb7c19fc6dc7798
6
+ metadata.gz: a5b044b625e0c7d055bac3dda679a5beade14ff2bc2e898ba7c6faa6cd1b5d6e28ca235f564105e8fe2aeba26488dcaf8e3c3a7d513a919938aeaa98d23d0153
7
+ data.tar.gz: a0080228a81c072b97bf51b165776ad8820fd44ccfb9c0a6c7dbe7910d2d450dcd89cb07dd5fd8432c356c5303a085c1156700365c621768d8c57dd9e87d58ed
@@ -34,7 +34,7 @@ module Mext
34
34
  private
35
35
 
36
36
  def common_logic(method, other)
37
- raise ArgumentError unless other.kind_of?(Meter) || other.kind_of?(Rational)
37
+ raise ArgumentError, "#{other} is neither a #{self.class} nor a Rational (#{other.class})" unless other.kind_of?(Meter) || other.kind_of?(Rational)
38
38
  self.to_r.send(method, other.to_r)
39
39
  end
40
40
 
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mext
2
- VERSION = '0.21.1'
2
+ VERSION = '0.21.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-mext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicola Bernardini
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-01 00:00:00.000000000 Z
11
+ date: 2020-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wavefile