mm_uses_no_id 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module MmUsesNoId
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/mm_uses_no_id.rb CHANGED
@@ -13,8 +13,9 @@ module MmUsesNoId
13
13
 
14
14
  end
15
15
 
16
- def ==(other)
16
+ def eql?(other)
17
17
  other.is_a?(self.class) && other.attributes == attributes
18
18
  end
19
-
19
+ alias :== :eql?
20
+
20
21
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mm_uses_no_id
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jonathan Chambers