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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ba2b1f8d8557f9d5627817377b70bb733804ab8cba4f8f5c63868261f9e00ad
4
- data.tar.gz: 8d493de4d0148d02e826338b6bb2287c1015094333dfe9891de39be17cc7de8b
3
+ metadata.gz: 654d11ad9ebc49989ce8f011c901cd93a8ec42d524242e4fb81a28c6ddf82028
4
+ data.tar.gz: 653d6d504a67d2bfbd34a73bbe4d091a8f076f3eaf72161da83cd72f0ce0dd23
5
5
  SHA512:
6
- metadata.gz: 1e136b9bfe6ba3bb94a5c525f04c6db27a88989fa8b2bff0b2a4341266b8ae901c5cac8c53111d4d0e1b443a9b4dfffdb5954f40a72ac31d1a62ff89a8f2a83b
7
- data.tar.gz: a8e80f6812a1146af8f3faaa5c20733d3cb731f9a0cd79e63bf93118daa1daadb4e6e5e18d5ae6c54d8f09c4bb567b953af474e63b29ffac365c89424c8fcc92
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
- message = "Cannot reach Forest API at #{forest_api_url}#{route}, it seems to be down right now."
14
- FOREST_LOGGER.error message
15
- FOREST_REPORTER.report message
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
- message = "Cannot reach Forest API at #{post_route}, it seems to be down right now."
36
- FOREST_LOGGER.error message
37
- FOREST_REPORTER.report message
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
 
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "9.6.3"
2
+ VERSION = "9.6.4"
3
3
  end
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.3
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-24 00:00:00.000000000 Z
11
+ date: 2024-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails