shopify_api_retry 0.1.0 → 0.1.1

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: 949d65d19ed205d18a64ea886ef817bcd9d8b26895036228dddc3dcf4d91f0ca
4
- data.tar.gz: 6b776cf5985be1593e791a81c6f4ce31c88ca4f029c7ba03bd8e24ca5f44f26f
3
+ metadata.gz: 6fc6421fa29a2afa3ac5bd59992763760b4162b7260bfb0412c627e3d555107f
4
+ data.tar.gz: 36faa3c81f9970c0afabfbbed9e171121730c78de5104a73bbf904db36fb1ddb
5
5
  SHA512:
6
- metadata.gz: 781e898074a0f3b9aaed28f1202087173e42483920375f7921384854437f9ed40ad77a0ef37be5d1221f5e76141c988a35e50368da22e83b5e8722c185558e70
7
- data.tar.gz: 243547c486e88cfabed0ea4a2c4fbba9524aa44234c5852110cf4a485f28c551309e78a055222576da2bcc6240232d783706807ebeee31c41956dddd6e130495
6
+ metadata.gz: 9a893cd88ad10b59ee8c75263729215fbd88ce6cea0fe31b53209450c15d7e401aad5bbc99acd7584be0e015a3e5f0910318cd4e56911bebfb6560a9988660bb
7
+ data.tar.gz: cac5e9bd541bcca0452bd4fa80473194612e690d23a0d00432c74cd34386669b6b156c03748a6e42d06655c4af5fbd51d3c6b47893fc73cb70d6e215150b2152
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ShopifyAPIRetry
1
+ # Shopify API Retry
2
2
 
3
3
  ![CI](https://github.com/ScreenStaring/shopify_api_retry/workflows/CI/badge.svg)
4
4
 
@@ -3,7 +3,7 @@
3
3
  require "shopify_api"
4
4
 
5
5
  module ShopifyAPIRetry
6
- VERSION = "0.1.0"
6
+ VERSION = "0.1.1"
7
7
 
8
8
  HTTP_RETRY_AFTER = "Retry-After"
9
9
  HTTP_RETRY_STATUS = "429"
@@ -107,8 +107,8 @@ module ShopifyAPIRetry
107
107
  return config unless userconfig
108
108
 
109
109
  if userconfig.is_a?(Integer)
110
- userconfig = { :wait => cfg }
111
- warn "passing an Integer to retry is deprecated and will be removed, use an :wait => #{cfg} instead"
110
+ userconfig = { :wait => config }
111
+ warn "passing an Integer to retry is deprecated and will be removed, use :wait => #{config} instead"
112
112
  elsif !userconfig.is_a?(Hash)
113
113
  raise ArgumentError, "config must be a Hash"
114
114
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "shopify_api_retry"
3
- spec.version = "0.1.0"
3
+ spec.version = "0.1.1"
4
4
  spec.authors = ["Skye Shaw"]
5
5
  spec.email = ["skye.shaw@gmail.com"]
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_api_retry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Skye Shaw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-01 00:00:00.000000000 Z
11
+ date: 2021-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shopify_api