forest_liana 9.4.2 → 9.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/forest_liana/resources_getter.rb +11 -1
- data/lib/forest_liana/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: 4a1cf11328ad544ae68cd6f0f4b395f56cb19736b77e09ed1bf5cbabbd6bc756
|
4
|
+
data.tar.gz: 3a3e814367ac7580db4e3846a0a9fd5f9ac16ecb518420d216817a1a281b01ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8f8760b8de16b5b22d13feff78978e5860d0f95f6f05f81e5178c0e11ae022a4353e84f13e102ca72d81d65592ebaa91e979af677d9be9d055aebefc60887e
|
7
|
+
data.tar.gz: 655dd881cbd6c03ec4322fb544acd06dd00e8680e72e2820d7048aec3acda0d7bd5ef4362785e151398a8a2d2f5be26b3eb02d4f1b031887754c6399f4d40dd4
|
@@ -166,7 +166,17 @@ module ForestLiana
|
|
166
166
|
def self.related_data_params(attributes, user)
|
167
167
|
parent_model = SchemaUtils.find_model_from_collection_name(attributes[:parent_collection_name])
|
168
168
|
model = parent_model.reflect_on_association(attributes[:parent_association_name].to_sym)
|
169
|
-
|
169
|
+
|
170
|
+
[
|
171
|
+
parent_model,
|
172
|
+
model,
|
173
|
+
attributes.merge(
|
174
|
+
collection: attributes[:parent_collection_name],
|
175
|
+
id: attributes[:parent_collection_id],
|
176
|
+
association_name: attributes[:parent_association_name]
|
177
|
+
),
|
178
|
+
user
|
179
|
+
]
|
170
180
|
end
|
171
181
|
|
172
182
|
def self.fetch_ids(resources_getter)
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.4.
|
4
|
+
version: 9.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|