traitorous 0.2.2 → 0.3.0
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/VERSION +1 -1
- data/lib/traitorous/equality.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1dcf2e9d0afef212d428c6140582dd2d14b66e6a
|
|
4
|
+
data.tar.gz: 129a2a34983b5ed2b65908f227a2f81ef0ec1d95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84c658572a8ae35cc9e38e7bb8732e15eb8e2c55cf3d2cafc996896324fa67de78d5cbb87048c795967edd569fd3d04bdbe831b042ace881e9c580b3bb4a18c8
|
|
7
|
+
data.tar.gz: 460429463388d6aaa6a2e88f8622da871451baa62cccd1fb29318e37d9eeb3048ff3bfabe30f77973fa80fc30a73c118f0e40aa447b6fa053c7c1bd1d7ef25a1
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.3.0
|
data/lib/traitorous/equality.rb
CHANGED
|
@@ -33,6 +33,14 @@ module Traitorous
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
def eql?(other)
|
|
37
|
+
self == other
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def hash
|
|
41
|
+
traits.hash
|
|
42
|
+
end
|
|
43
|
+
|
|
36
44
|
# compare the equality of 2 arrays, and I'm not sure this is the best way to
|
|
37
45
|
# do the comparisons.
|
|
38
46
|
# @params alpha [Array] first array
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: traitorous
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- scott m parrish
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-09-
|
|
11
|
+
date: 2015-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|