avo 2.33.3 → 2.34.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/avo/fields/belongs_to_field.rb +2 -2
- data/lib/avo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 100010b64c0a8976cb22791e925717c9c57532e7474d12b4f6e5e108d5e51616
|
4
|
+
data.tar.gz: 332a9b69a5dd23607edcb0dd54f513d6346025e5657dcb52463f19689021fd82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddf3b94c575b8a73d03022bd567494f3b25db186f0ce4ad4fc79dcbc99f4c9f8898f107d2abb735a6bc7bb177daa666f47f6673b76809bcd94fd91eb891a4294
|
7
|
+
data.tar.gz: dd0a86a715d33bb56f6a9685eae10acaf0b055e3bc0accbaff64e16123270eedcc48b03480eb6a088eb4d6660d4dbbeb43e3660a90a9dd066016d2377ba8ba10
|
data/Gemfile.lock
CHANGED
@@ -199,9 +199,9 @@ module Avo
|
|
199
199
|
def fill_field(model, key, value, params)
|
200
200
|
return model unless model.methods.include? key.to_sym
|
201
201
|
|
202
|
-
valid_model_class = valid_polymorphic_class params["#{polymorphic_as}_type"]
|
203
|
-
|
204
202
|
if polymorphic_as.present?
|
203
|
+
valid_model_class = valid_polymorphic_class params["#{polymorphic_as}_type"]
|
204
|
+
|
205
205
|
model.send("#{polymorphic_as}_type=", valid_model_class)
|
206
206
|
|
207
207
|
# If the type is blank, reset the id too.
|
data/lib/avo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.34.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-06-
|
12
|
+
date: 2023-06-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|