muflax 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Gemfile.lock +1 -1
- data/lib/muflax/value.rb +6 -5
- data/muflax.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa6f25c7d92c5132431202f58f16136170bdb9b6
|
4
|
+
data.tar.gz: 7be7d2f57bb757e661cd270d1f00db7c420e5ca0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5454226049cbe2aeb10dcb1742980c55326558164cb42d00c54baf6652b941a99253c6dbbdb1ead1078c86e2684d8c3aa526b9413245853d5984201ab78f3e25
|
7
|
+
data.tar.gz: e6415b5c3aa07abd42b45a21ed2cd8ce178d9cbc90d41773e8ac24ce569f0b42b0530639a4ea7d9e63b9f677897daffc6a4805fe9120e61e91bfeb28464bfbd4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/Gemfile.lock
CHANGED
data/lib/muflax/value.rb
CHANGED
@@ -5,15 +5,16 @@
|
|
5
5
|
|
6
6
|
class Value
|
7
7
|
def ==(other)
|
8
|
-
eql?(other)
|
9
|
-
end
|
10
|
-
|
11
|
-
def eql?(other)
|
12
8
|
self.class == other.class && differences_with(other).empty?
|
13
9
|
end
|
10
|
+
alias :eql? :==
|
14
11
|
|
15
12
|
def inspect
|
16
|
-
"#<#{self.class.name} #{
|
13
|
+
"#<#{self.class.name} #{to_h}>"
|
14
|
+
end
|
15
|
+
|
16
|
+
def hash
|
17
|
+
to_a.hash
|
17
18
|
end
|
18
19
|
|
19
20
|
def to_h
|
data/muflax.gemspec
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|