phlexi-field 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/phlexi/field/options/multiple.rb +1 -1
- data/lib/phlexi/field/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: 70fdd02c6979235fa18a95692de12b4ebefec2468e2bb71bb0a2a25d7692de78
|
4
|
+
data.tar.gz: 40feabf408438dc28b7907c8e66b5d04aa5d336e986ab5cbfc08c6a51b290f33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae593aa3bc1c50f6a4f4ff93caf9553de907ddf53759d282ab2ede1b5cba99b0a001ff8853f01fcf205e8eb0dfe237a0a5c378866dd4b7cc1793a901fefbfd24
|
7
|
+
data.tar.gz: 7abc8faa67e3a6b7a4baf232f507dc0d7923bb3e722852ff9b63e2d8b8771e09de538d5db05eb5a18ec97e16a4776d7b5bd93dafa6d30cef79162e45155761a5
|
@@ -17,7 +17,7 @@ module Phlexi
|
|
17
17
|
|
18
18
|
def calculate_multiple_field_value
|
19
19
|
return true if attachment_reflection&.macro == :has_many_attached
|
20
|
-
return true if association_reflection&.macro
|
20
|
+
return true if %i[has_many has_and_belongs_to_many].include?(association_reflection&.macro)
|
21
21
|
return true if multiple_field_array_attribute?
|
22
22
|
|
23
23
|
check_multiple_field_from_validators
|
data/lib/phlexi/field/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phlexi-field
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Froelich
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: phlex
|