yinum 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/enum/enum_value.rb +2 -0
- data/lib/enum/version.rb +1 -1
- 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: e24df9f61d740e78795fb6e840706c900f6f780c
|
4
|
+
data.tar.gz: 3164bbd9a5bed1b2eb66b0cb0c216944638fe572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82f7be9c6e8c31aa991e471119aecc5b30096907569a87ef5e5ccced6fb0a53b2fac8b61f20e315d5ce28e868ea8083011b16dddb15c04fe6dba28f9e5f16668
|
7
|
+
data.tar.gz: 4b72c621ab5a68a60fb2c2e29f9ee1f149d024a695058b83284504878d1856b83a58b9c871b9752ddc242a8c5fabd6000cb04aa0f5d8d4d01f80b8a72c5f33f8
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/enum/enum_value.rb
CHANGED
@@ -24,12 +24,14 @@ class Enum::EnumValue < BasicObject
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def ==(other)
|
27
|
+
return true if super
|
27
28
|
return true if @value == other or @value_s == other
|
28
29
|
|
29
30
|
not @name.nil? and (@name == other or @name_s == other)
|
30
31
|
end
|
31
32
|
|
32
33
|
def ===(other)
|
34
|
+
return true if self == other or super
|
33
35
|
return true if @value === other or @value_s === other
|
34
36
|
|
35
37
|
not @name.nil? and (@name === other or @name_s === other)
|
data/lib/enum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yinum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oded Niv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: generate_method
|