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: 2e90c911f0de74607d1ab9baeb6544ca31e6431f
4
- data.tar.gz: adaaf6350af34558329b6cb845b0c786307b317c
3
+ metadata.gz: 1a76017dd857e7c41cc9b25967e0e8cd7b594a4d
4
+ data.tar.gz: 866897795a797da7f6d4161ca4b37db86b5830a6
5
5
  SHA512:
6
- metadata.gz: 29254f53f4d9a0716b6a8edeae37f95647c1dca30bfd9e68c4c19f4a61a7ffa30e997d05ee38fa302ebf49434bb14f7544bfc9d0922f53357565bc2920628688
7
- data.tar.gz: 45f896d133cacdff96f1cb37b877c129cd85628ec613e50999dc7cd29fb8f12b84eb470a670008eb6a4084d2c22779a5fccc6ec49e4edc136d3ff75619cd5766
6
+ metadata.gz: 347551c43d33f58d45adfbdc26ba76a54ebe3d8bdf5b5af3f0c08c75a59afe8cdf389e3689bcd43b4cc7413718dfe50a07676d2482675727e457a445fa4b8903
7
+ data.tar.gz: 30b783fe1169c7458ca915a38abf49980e03fc3e2362d7b71dc2b19604abeff0f206e031838ad93a8d525295c808c9ddb5dba993408f8d1b31058c49008c6585
@@ -1,5 +1,5 @@
1
1
  module ShopifyApiRateLimiter
2
- class DailySkuLimitError < ::ActiveResource::ClientError ; end
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 => limit_unavailable
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
@@ -1,3 +1,3 @@
1
1
  module ShopifyApiRateLimiter
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_api_rate_limiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Buehler