shopify_graphql 1.2.0 → 1.2.2

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: '028218d246ffa0ba8a2e65131c5abf7f9b70f1030818d41ed17e07dafd4ae273'
4
- data.tar.gz: 703a8d3c95b26c26ca500016aa3f68057a6e25cd9afef55d89b5e9aaea17d61f
3
+ metadata.gz: 0d83a0174d62d09f3f95f13b3b4f2daed175125c1f8479fe9abcca040d501c5e
4
+ data.tar.gz: 9ab294af22fdcb843bc67cbfe734dc582c28561e60cbc5e89cab71261fbca688
5
5
  SHA512:
6
- metadata.gz: 78cbd2465f2803330e6427539a9ca7dccdccdeab7d17bf9556f1d34e3b1dc0bd6a29d0fd6bbfb2b08276e2e2cf49957f2b420745bfa8dddaf090494e194c54dd
7
- data.tar.gz: 947365b6f1c8042ee08071dc548506875c9810b1337b2b7ebc0114365e238d2ad046e9f7604b023a5baf26382db09e002cc77a3ff22e80643abfa7060738872c
6
+ metadata.gz: c7b99d43364b1c505299ac7c96c8bbf86b00b8a074f39eada0b14244a72123284850680ee998e456ae5a74482f5fddb6eb808d726d6030b6bd460019fc217c0b
7
+ data.tar.gz: 9c35b9d28b1f673c2a8f61fe61a1b18e1efcda3a0062b317adc4d3e8695c46babb71b929a84236ce749362162cc29e0cf9e7d0c64f3d465efef83dae388e8346
@@ -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
 
@@ -4,6 +4,8 @@ module ShopifyGraphql
4
4
  ShopifyGraphql.configuration.webhooks_manager_queue_name
5
5
  end
6
6
 
7
+ retry_on ShopifyGraphql::TooManyRequests
8
+
7
9
  def perform(shop_domain:, shop_token:)
8
10
  webhooks = ShopifyGraphql.configuration.webhooks
9
11
 
@@ -1,3 +1,3 @@
1
1
  module ShopifyGraphql
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.2"
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.0
4
+ version: 1.2.2
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-07-26 00:00:00.000000000 Z
11
+ date: 2023-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails