shopify_api_retry 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/shopify_api_retry.rb +3 -3
- data/shopify_api_retry.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6fc6421fa29a2afa3ac5bd59992763760b4162b7260bfb0412c627e3d555107f
|
|
4
|
+
data.tar.gz: 36faa3c81f9970c0afabfbbed9e171121730c78de5104a73bbf904db36fb1ddb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a893cd88ad10b59ee8c75263729215fbd88ce6cea0fe31b53209450c15d7e401aad5bbc99acd7584be0e015a3e5f0910318cd4e56911bebfb6560a9988660bb
|
|
7
|
+
data.tar.gz: cac5e9bd541bcca0452bd4fa80473194612e690d23a0d00432c74cd34386669b6b156c03748a6e42d06655c4af5fbd51d3c6b47893fc73cb70d6e215150b2152
|
data/README.md
CHANGED
data/lib/shopify_api_retry.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
require "shopify_api"
|
|
4
4
|
|
|
5
5
|
module ShopifyAPIRetry
|
|
6
|
-
VERSION = "0.1.
|
|
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 =>
|
|
111
|
-
warn "passing an Integer to retry is deprecated and will be removed, use
|
|
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
|
data/shopify_api_retry.gemspec
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2021-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: shopify_api
|