shopify_api_rate_limiter 0.0.6 → 0.0.7
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a76017dd857e7c41cc9b25967e0e8cd7b594a4d
|
4
|
+
data.tar.gz: 866897795a797da7f6d4161ca4b37db86b5830a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 347551c43d33f58d45adfbdc26ba76a54ebe3d8bdf5b5af3f0c08c75a59afe8cdf389e3689bcd43b4cc7413718dfe50a07676d2482675727e457a445fa4b8903
|
7
|
+
data.tar.gz: 30b783fe1169c7458ca915a38abf49980e03fc3e2362d7b71dc2b19604abeff0f206e031838ad93a8d525295c808c9ddb5dba993408f8d1b31058c49008c6585
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module ShopifyApiRateLimiter
|
2
|
-
class DailySkuLimitError <
|
2
|
+
class DailySkuLimitError < StandardError ; end
|
3
3
|
|
4
4
|
module ThrottledConnection
|
5
5
|
SHOPIFY_SLEEP_TIME = 0.5
|
@@ -26,7 +26,7 @@ module ShopifyApiRateLimiter
|
|
26
26
|
else
|
27
27
|
super
|
28
28
|
end
|
29
|
-
rescue ShopifyAPI::Limits::LimitUnavailable =>
|
29
|
+
rescue ShopifyAPI::Limits::LimitUnavailable => _
|
30
30
|
# Either Shopify API stopped sending the limit header, or we're in a stubby test
|
31
31
|
super
|
32
32
|
end
|