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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d599d440f2533c2cbe89b0417da49adc8d6e759c
4
- data.tar.gz: 9d670362bbcabbc26995eab9a445f64878a58865
3
+ metadata.gz: fa6f25c7d92c5132431202f58f16136170bdb9b6
4
+ data.tar.gz: 7be7d2f57bb757e661cd270d1f00db7c420e5ca0
5
5
  SHA512:
6
- metadata.gz: 47d5a83edba3f61c5f7ea0ea9699ef9d25f09a16e3d454b2f467f3895de8554f001d926283eaa1ea91ed98579a8d83dcf6b30e199493ec289960699424f05cd7
7
- data.tar.gz: ee5c953e573f73376e75793dfbe0a8e5f6fd9f56620598ad726beff9db4621b4fd067f0efea9968381633e54c5e88f8cfd9910b8a113eada9e8ce7c20b163b82
6
+ metadata.gz: 5454226049cbe2aeb10dcb1742980c55326558164cb42d00c54baf6652b941a99253c6dbbdb1ead1078c86e2684d8c3aa526b9413245853d5984201ab78f3e25
7
+ data.tar.gz: e6415b5c3aa07abd42b45a21ed2cd8ce178d9cbc90d41773e8ac24ce569f0b42b0530639a4ea7d9e63b9f677897daffc6a4805fe9120e61e91bfeb28464bfbd4
checksums.yaml.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- muflax (0.2.1)
4
+ muflax (0.2.2)
5
5
  activesupport (~> 5)
6
6
  awesome_print
7
7
  debug_inspector
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} #{self.class.attributes}>"
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "muflax"
3
- s.version = "0.2.1"
3
+ s.version = "0.2.2"
4
4
 
5
5
  s.authors = ["muflax"]
6
6
  s.summary = "muflax standard library"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muflax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
metadata.gz.sig CHANGED
Binary file