apicco-sdk 0.1.2 → 0.1.3

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: 915274552c21d88c9e9213be7b65a57754b1a354bb5f8caf4116a417156a10fe
4
- data.tar.gz: b6af1ad00531d1663f4fbf6aff95cd03f3b53a97eb12ae26e1720425c945ba09
3
+ metadata.gz: 9f3f4086f070fe98d60785845ab6b8c6eb758b143b24c1a1b6a2734f2dbd2366
4
+ data.tar.gz: b306f1cd957abfa8f6087d709373674b28d89678565d5435384a85dfcbf24449
5
5
  SHA512:
6
- metadata.gz: 134d9054a50f3c1091a0d9d097b018b76e275dff0671ed6a46d155ae1d8e6dff4a9e1bc55cd08fec3aef2537a5ec002341cdf06156ae5f0fdef4b8cde3813d72
7
- data.tar.gz: 4a2ecd1285e90b4dfaf678df321086a83738a8532ea367c3f314f5ea365390a6c5edb03b641ccf1639031b07882cafb42eb5986bbc262a383ba8cbd5238ee479
6
+ metadata.gz: 748508762564b18a403a283e2e00c1746a26e2d0d50acb4e35c84a207c969fb0dad55c58ece2c270312a0c706af869fffbea67e0ccc122cb0eb8f57cd7e2af63
7
+ data.tar.gz: b2b8d68b3fac384d99f2ae2f0568379f18d430247848cb6560aea856b4f55b0f99528c116b182f35f687f7a8badad6b6c5a8c4a760a4896a277f8bfd0d7f1223
@@ -57,7 +57,7 @@ module ApiccoSDK
57
57
  response = _execute(method, url, payload, headers)
58
58
  parse_response(response) unless response.code == 204
59
59
  rescue ::RestClient::ExceptionWithResponse => e
60
- raise e if e.http_code > 501
60
+ raise e if !e.http_code || e.http_code > 501
61
61
  parse_response(e.response)
62
62
  end
63
63
 
@@ -1,3 +1,3 @@
1
1
  module ApiccoSDK
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apicco-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitris Klouvas
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-19 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -157,12 +157,11 @@ files:
157
157
  - lib/apicco-sdk/client.rb
158
158
  - lib/apicco-sdk/helpers.rb
159
159
  - lib/apicco-sdk/version.rb
160
- - package.json
161
160
  homepage: https://github.com/sokratisvidros/apicco#readme
162
161
  licenses:
163
162
  - MIT
164
163
  metadata: {}
165
- post_install_message:
164
+ post_install_message:
166
165
  rdoc_options: []
167
166
  require_paths:
168
167
  - lib
@@ -178,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
177
  version: '0'
179
178
  requirements: []
180
179
  rubygems_version: 3.0.3
181
- signing_key:
180
+ signing_key:
182
181
  specification_version: 4
183
182
  summary: Apicco Ruby SDK
184
183
  test_files: []
data/package.json DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "name": "apicco-ruby-sdk",
3
- "version": "0.1.1",
4
- "scripts": {
5
- "test": "rake test"
6
- },
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/klouvas/apicco.git"
10
- },
11
- "author": "Dimitris Klouvas <dimitris.klouvas@gmail.com>",
12
- "contributors": [
13
- {
14
- "name": "Dimitris Klouvas",
15
- "email": "dimitris.klouvas@gmail.com"
16
- }
17
- ],
18
- "license": "MIT"
19
- }