forest_liana 9.6.3 → 9.6.4
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/forest_api_requester.rb +8 -10
- 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: 654d11ad9ebc49989ce8f011c901cd93a8ec42d524242e4fb81a28c6ddf82028
|
4
|
+
data.tar.gz: 653d6d504a67d2bfbd34a73bbe4d091a8f076f3eaf72161da83cd72f0ce0dd23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecfe2712fe3abab2c261ee042b40964747d7d8f1b7289538e4fe1072f4f999bae6c2cbc7b3c165e3b170d7fd548e5041d85d29f10f9eb9ec04262ed6cf9383cc
|
7
|
+
data.tar.gz: 21589dd2b1f38b9d12d32fd92b41af0f449dad28b3139ca6692fe6729482eb0a16474dd83763c0702902c5a2c4514f6b33c4fee201442199688a8f7302dfe136
|
@@ -9,11 +9,10 @@ module ForestLiana
|
|
9
9
|
headers: base_headers.merge(headers),
|
10
10
|
query: query,
|
11
11
|
}).response
|
12
|
-
rescue
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
raise
|
12
|
+
rescue => error
|
13
|
+
FOREST_LOGGER.error "Cannot reach Forest API at #{forest_api_url}#{route}, it seems to be down right now."
|
14
|
+
FOREST_REPORTER.report error
|
15
|
+
raise error
|
17
16
|
end
|
18
17
|
end
|
19
18
|
|
@@ -31,11 +30,10 @@ module ForestLiana
|
|
31
30
|
query: query,
|
32
31
|
body: body.to_json,
|
33
32
|
}).response
|
34
|
-
rescue
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
raise
|
33
|
+
rescue => error
|
34
|
+
FOREST_LOGGER.error "Cannot reach Forest API at #{post_route}, it seems to be down right now."
|
35
|
+
FOREST_REPORTER.report error
|
36
|
+
raise error
|
39
37
|
end
|
40
38
|
end
|
41
39
|
|
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.6.
|
4
|
+
version: 9.6.4
|
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-12-
|
11
|
+
date: 2024-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|