enum_help 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/enum_help/simple_form.rb +1 -1
- data/lib/enum_help/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: 3550dec4d6b768d88a1cfebed57387514d9ff703
|
4
|
+
data.tar.gz: 9a886f98131d944c37ecb15308f66eee5765480c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cbddb39d847931d90f405afbbd5b54ced2382854993a576e2528b59443e1a9c6824dcb14ceaea2c6b64a7aa53afc244aca66993f462ce011b50152fb3e9bcfb
|
7
|
+
data.tar.gz: c1c59995884bcb8f65a43397f4e316e3c466725e8b7bcc832b4caa1c23b44efbbad68275af2a85d355a68f1eec0b84b450391b12669af9ef7af09d74e653d975
|
@@ -18,7 +18,7 @@ module EnumHelp
|
|
18
18
|
|
19
19
|
|
20
20
|
def is_enum_attributes?( attribute_name )
|
21
|
-
object.class.
|
21
|
+
object.class.defined_enums.key?(attribute_name) && attribute_name.pluralize != "references"
|
22
22
|
end
|
23
23
|
|
24
24
|
|
data/lib/enum_help/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enum_help
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lester Zhao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|