shopify_graphql 1.2.1 → 1.2.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: d369baa765d2026c9ccc02017bb2b6a490b202ad30b6a789eec1f0d2dfc313c6
4
- data.tar.gz: c4054cbd4b4c5432e53c810374e1ec1acd4b64c0af6a4059858946aa0795056c
3
+ metadata.gz: 156829c756078d3acf1611b6a913337924259387e7c72968e601020286a49c92
4
+ data.tar.gz: 1fd62af50279f6ebcb667007265773760a1daa110ad15557a0c95e0fa6ec9fcd
5
5
  SHA512:
6
- metadata.gz: 6d2b5610659195319c502304bd1b0a7f741d46da3c4342b1afd0224a39a421463a39b2e0c7132c67aa90c20aa114a7baf9a0bda4611ccfdcdc30bf6a503b038d
7
- data.tar.gz: f8f2ee0d61394d5fcd20ab25c75d87eb404b545685da95cdbd65f4cecc477b63ac8c226b0acaf2be57f9cc6c6be848ca725846ef40aefea15eb12425e958b67f
6
+ metadata.gz: b9741270fd1e3f46d946ab38fa05996717bbaac2057227499260ca737c439c3bbda2b1829d0da299b59f75aa9c2a5cf8df0e716dc564dd256cb88f9d71591003
7
+ data.tar.gz: d83bb4edb850b5d9aedc11ff519684e242e49623a3f815a018524e45e2b1b0dfa8ebbef9241f66a78f3ae24917702d8e694c774e74f25b015cc7d0f2ef3590ab
@@ -11,7 +11,7 @@ module ShopifyGraphql
11
11
  Response.new(handle_response(e.response))
12
12
  rescue JSON::ParserError => e
13
13
  raise ServerError.new(e, "Invalid JSON response")
14
- rescue Errno::ECONNRESET, Errno::EPIPE, Net::ReadTimeout, Net::OpenTimeout, OpenSSL::SSL::SSLError => e
14
+ rescue Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNREFUSED, Net::ReadTimeout, Net::OpenTimeout, OpenSSL::SSL::SSLError, EOFError => e
15
15
  raise ServerError.new(e, "Network error")
16
16
  end
17
17
 
@@ -47,7 +47,7 @@ module ShopifyGraphql
47
47
  raise PreconditionFailed.new(parsed_body(response), code: response.code)
48
48
  when 422
49
49
  raise ResourceInvalid.new(parsed_body(response), code: response.code)
50
- when 429
50
+ when 429, 430
51
51
  raise TooManyRequests.new(parsed_body(response), code: response.code)
52
52
  when 401...500
53
53
  raise ClientError.new(parsed_body(response), code: response.code)
@@ -1,3 +1,3 @@
1
1
  module ShopifyGraphql
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Platonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-14 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails