plenty_client 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: 3b1ce1f9899a6d120944ae078627fe676c3af95c773c3aa2c0a9d347a4727b33
4
- data.tar.gz: c96480546c1ce74d997439685960918f9ceed35d2ad78fa403b105d3be0dfa99
3
+ metadata.gz: 054b065baffc15eb98c50f9227cc5b839ae334a6b30d2df2d062a8698b648b1f
4
+ data.tar.gz: 2fa0a2c078e9032eec8930752b2f9cb061d0103cc2322b195d0a5b2b3b3cc659
5
5
  SHA512:
6
- metadata.gz: 63da84709428e75cc89b05079e5fcc81e8b083f5be250fe62c398232e4e073fb73b14f6c5cf122a1ebb7a5e2d8b61bedda96d53c6bd9e5b7a962e6e16951806e
7
- data.tar.gz: f2bdee10c09c20eae6b332045b327db9fe22632931f5c6340396f7f956d889cdedcb6a6c49cff03c93b203b98eb6de3f41341008d3b6644e388d80365d7494bb
6
+ metadata.gz: 4bd548af217f5e425744324c151479eafb2c0a53cf348999c394235063446b343a9a48e1d808de796a1c87e46c7fbbcf33ffbdbd964c39344c44df788c62096e
7
+ data.tar.gz: 0cd44a57b9264926954d26c42c08500fe8dd68811007c890b220b0d39c34a9aa69bd9d818d4b43d77d7c14e4f8d1d783d29238dd3d6b8441b9dc78d81f4b17ad
@@ -159,11 +159,11 @@ module PlentyClient
159
159
  def assert_success_status_code(response)
160
160
  case response.status
161
161
  when 300..399
162
- raise RedirectionError, "Invalid response: HTTP status: #{response.status}"
162
+ raise RedirectionError, "Invalid response: HTTP status: #{response.status}: #{response.body}"
163
163
  when 400..499
164
- raise ClientError, "Invalid response: HTTP status: #{response.status}"
164
+ raise ClientError, "Invalid response: HTTP status: #{response.status}: #{response.body}"
165
165
  when 500..599
166
- raise ServerError, "Invalid response: HTTP status: #{response.status}"
166
+ raise ServerError, "Invalid response: HTTP status: #{response.status}: #{response.body}"
167
167
  end
168
168
  end
169
169
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlentyClient
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plenty_client
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
  - Dariusch Ochlast
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-21 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -319,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
319
  version: '0'
320
320
  requirements: []
321
321
  rubyforge_project:
322
- rubygems_version: 2.7.7
322
+ rubygems_version: 2.7.9
323
323
  signing_key:
324
324
  specification_version: 4
325
325
  summary: This the first draft of a PlentyMarkets Rest Client for Ruby.