better_struct 0.1.0 → 0.1.1

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
  !binary "U0hBMQ==":
3
- metadata.gz: 90cfce0b4349e91d4bfffef40b43e0af19059736
4
- data.tar.gz: e884171e97bc5da9e41908273c66188e4e267bbd
3
+ metadata.gz: dc8476e9b0bfac1f0a22a964bb2c60976b4c77cb
4
+ data.tar.gz: 7891ca24813b4c89121d41c2a45df7c83b6aca0b
5
5
  SHA512:
6
- metadata.gz: 72f06837124bfe8d0b74b1335b64aaf337ace9f50259387c94a5db166bf239fa53c157f0c757a53d356496c48f08c54fb9b6091a8e031b92f2abfaa88ca147f8
7
- data.tar.gz: 5407ac5707a4a5e2bca0f607559215c5f75324b6280bae8875efd26c51c52db3d5d8dd7e731baca1d13ae0c311d2bb77c1902ceffd8d09cdd880bb8d90f6a116
6
+ metadata.gz: a00617ec16d36bdb06dc99507c18578759c91d2056e0e378ef54f77a4a062bd8edb1a4a9a293330d7affc049485d59f028f49350e49f7bfaf8c26ff5f2ff61f9
7
+ data.tar.gz: b4a52b03b5b5ed08db5e5311d193231ef2b1757112bd8594858c2ebc2028a443e1a549493386aaed3e822e2aab6791bd13e0d195fcb74a80959468571dda9612
@@ -17,7 +17,7 @@ class BetterStruct
17
17
  end
18
18
 
19
19
  def ==(other)
20
- value == other.value
20
+ other.is_a?(self.class) && value == other.value
21
21
  end
22
22
 
23
23
  def inspect
@@ -1,3 +1,3 @@
1
1
  class BetterStruct
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better_struct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeny Li
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler