forest_admin_datasource_customizer 1.0.0.pre.beta.72 → 1.0.0.pre.beta.73
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: d87a2beab2434ed7e6bbbea36b416894d9a8434f7b848b41d3bfafc252810d54
|
4
|
+
data.tar.gz: 5c6fd553fbe2f7605d6140545c9cfc4477e620c41a3ef80c132140249d60d318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b8b268a153d3c22325ed24153a13217813625a71598f626cb5a617a8d99238f240e90241aa0b3386bed471e706c51278a1809d83cbdd3e660c657c3500623b
|
7
|
+
data.tar.gz: 1473d96b63ea47d0ccebcea540e526339f8a201d12e6f6e5dbd636525e3ad0acbbedc51cdbb2b908b54f6cc525ca0c37fb378dc6e589199d9b8e732c46f494c4
|
@@ -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.73
|
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
|