forest_admin_datasource_customizer 1.0.0.pre.beta.72 → 1.0.0.pre.beta.74
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf679183775153a49d7b5e2fef5efde165f37c025c2953062f016b0ccec4718a
|
4
|
+
data.tar.gz: a596c2c2747260b156869ed611e530dde45d35d01e76982ac8bdcc5df68a828a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86dd19341cf5abb6050103202b3a242f2c71a4baa2de5c28056479cd1dfed7887af124a0c07f504048210beff4c6f907ad0222d7a82ed664376b9af11b721e05
|
7
|
+
data.tar.gz: 10e2709dc13fdef43ccbdd650b90c9257eae1923160744f77ccf6de8b58a829cd35387f2a833b91a39a62689f1966352fd600c05ce98e24266b862c201aa31d7
|
@@ -42,6 +42,10 @@ module ForestAdminDatasourceCustomizer
|
|
42
42
|
@fields = instantiate_subfields(options[:fields] || [])
|
43
43
|
end
|
44
44
|
|
45
|
+
def static?
|
46
|
+
super && fields&.all?(&:static?)
|
47
|
+
end
|
48
|
+
|
45
49
|
private
|
46
50
|
|
47
51
|
def validate_fields_presence!(options)
|
@@ -77,6 +81,10 @@ module ForestAdminDatasourceCustomizer
|
|
77
81
|
@elements = instantiate_elements(options[:elements] || [])
|
78
82
|
end
|
79
83
|
|
84
|
+
def static?
|
85
|
+
super && elements&.all?(&:static?)
|
86
|
+
end
|
87
|
+
|
80
88
|
private
|
81
89
|
|
82
90
|
def validate_elements_presence!(options)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_admin_datasource_customizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.beta.
|
4
|
+
version: 1.0.0.pre.beta.74
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthieu
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-10-
|
12
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|