beyond_api 0.8.0.pre → 0.8.1.pre

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: 687b39004d4ab172f3a2433b310fd09b95d3aa241be7e5f782941ae0edbeb491
4
- data.tar.gz: 0524b2418f1185ae9902054381fc17ecd5e97fba16b9b2af5df80fd7bca47f65
3
+ metadata.gz: cafbee9a1f17b5eaf7a78134ec10df1c4ff63a4cef567ecdc1f235d8aa3ebd17
4
+ data.tar.gz: 16f1c1588bc245b4696eca49230d5be56b6e4354e35811aa5fa4ba4e370c01b5
5
5
  SHA512:
6
- metadata.gz: 93a00f049eb3570f335a5ea6ad1eefc323ed1ea96b9e642dafa3277ad5854ccc6edc16d5b7aae156cd46cf7311809cdad4b4eb241d2935e24895e1bd581857ce
7
- data.tar.gz: 85c9dfe12bbeb3dd6592a6371be3611f85b009a6eb050cf12bba2cf5a9f93025809a44f46364ec5e9c7c474f542108e8a0112ff16beac30e410f8d85bbe0b7a7
6
+ metadata.gz: be41a3f5211e81d24bcb40f356a1f7dde53ef2ae2ada80c23236aa2ac63c723486499394377bf4f6071a198405858b876932cf91c823a19b3aef8a42347c2358
7
+ data.tar.gz: 0d01edc9aee0110011f571139a6fdb2429b45e13f2e7c2ba050245673caf92f11db3ae220991e791c15bc704a3a2dc370bf6969054bc4d928ec32661abad035e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### v0.8.1.pre
2
+
3
+ * bug-fixes
4
+ * Fix exception handling
5
+
1
6
  ### v0.8.0.pre
2
7
 
3
8
  * deprecations
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_api (0.8.0.pre)
4
+ beyond_api (0.8.1.pre)
5
5
  faraday (~> 0.15)
6
6
 
7
7
  GEM
@@ -10,9 +10,8 @@ module BeyondApi
10
10
  response = sanitize_response(response)
11
11
  BeyondApi.configuration.object_struct_responses ? to_object_struct(response) : response
12
12
  else
13
- error = BeyondApi::Error.new(response)
14
13
  BeyondApi.logger.error "[Beyond API] #{response}"
15
- BeyondApi.configuration.raise_error_requests ? raise(error) : error
14
+ BeyondApi.configuration.raise_error_requests ? raise(response.to_s) : BeyondApi::Error.new(response)
16
15
  end
17
16
  end
18
17
 
@@ -1,3 +1,3 @@
1
1
  module BeyondApi
2
- VERSION = "0.8.0.pre".freeze
2
+ VERSION = "0.8.1.pre".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0.pre
4
+ version: 0.8.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unai Abrisketa
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-02-21 00:00:00.000000000 Z
13
+ date: 2020-03-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler