create_custom_attributes 0.5.6 → 0.5.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf890370327f165ba9bc5a081172e4a69a678274
|
4
|
+
data.tar.gz: 70488210483c66dcf987ffdb423cfccff4cb0a94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 550beb6f9701b3ca8ddf7be358b225e59fa01f2c9bda1ed438d04bc80d1da3d93f1ef5a7b952000e6a3a1aa793034ea6960e41816784ef1b3ec3587bf70a7943
|
7
|
+
data.tar.gz: 97eea32a160ff736fa2ae34ad550ff8da4502e9b4689e0e8ecbdce6d4682b13dbd22ed871b47bfc5ec24685675e10413f086716c0d812f50ae1ead26575f6c2d
|
@@ -119,7 +119,7 @@ module CustomAttributes
|
|
119
119
|
def populate_custom_field_value(field)
|
120
120
|
x = CustomAttributes::CustomFieldValue.new
|
121
121
|
x.custom_field = field
|
122
|
-
x.customizable =
|
122
|
+
x.customizable = self
|
123
123
|
if field.multiple?
|
124
124
|
values = custom_values.select { |v| v.custom_field == field }
|
125
125
|
if values.empty?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: create_custom_attributes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Grützmacher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|