forest_liana 9.10.0 → 9.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f91ac72edcbf1db54688692ac1d6a5cc1ad7632987d17fbfc868d6e7d8ce10e2
|
4
|
+
data.tar.gz: 065c79a32c35d9a43fbe6c5348f56eabba4a8fc22cfb7cc561b628785874cf2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dde6bb3a0f721cad5f03a3add67f87fda17d8fe98614ad2505b5ffb267ea32551e9c63f26d4d17255a9c786d59e14d092fb0e8dfa22cf9124883eacd495f91e2
|
7
|
+
data.tar.gz: 31a7b78747f0c888e030a319bca43d2999da7767a0d7b721f94b0536c71a093c5368e26760915399ee938dff4b1b201917fca370a10e2b156b121312f7776ba4
|
@@ -162,7 +162,7 @@ module ForestLiana
|
|
162
162
|
else
|
163
163
|
model_association = model.reflect_on_association(relation_name.to_sym)
|
164
164
|
if model_association
|
165
|
-
model_name = model_association.
|
165
|
+
model_name = ForestLiana.name_for(model_association.klass)
|
166
166
|
# NOTICE: Join fields in case of model with self-references.
|
167
167
|
if fields[model_name]
|
168
168
|
fields[model_name] = [
|
@@ -318,9 +318,11 @@ module ForestLiana
|
|
318
318
|
end
|
319
319
|
rescue Errno::ECONNREFUSED, SocketError
|
320
320
|
FOREST_LOGGER.warn "Cannot send the apimap to Forest. Are you online?"
|
321
|
-
rescue
|
322
|
-
|
321
|
+
rescue => error
|
322
|
+
FOREST_REPORTER.report error
|
323
|
+
FOREST_LOGGER.error "Cannot send the apimap to Forest (#{forest_url}). Forest might " \
|
323
324
|
"currently be in maintenance."
|
325
|
+
FOREST_LOGGER.error "#{error}\n#{error.backtrace.join("\n\t")}"
|
324
326
|
end
|
325
327
|
end
|
326
328
|
end
|
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.10.
|
4
|
+
version: 9.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|