shopify_api_rate_limiter 0.0.7 → 0.0.8

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: 1a76017dd857e7c41cc9b25967e0e8cd7b594a4d
4
- data.tar.gz: 866897795a797da7f6d4161ca4b37db86b5830a6
3
+ metadata.gz: 47f905af134de5c198e734f25990c9ac6a7df88f
4
+ data.tar.gz: ab40c398decbc2764798d5bb5c8b40c922367c27
5
5
  SHA512:
6
- metadata.gz: 347551c43d33f58d45adfbdc26ba76a54ebe3d8bdf5b5af3f0c08c75a59afe8cdf389e3689bcd43b4cc7413718dfe50a07676d2482675727e457a445fa4b8903
7
- data.tar.gz: 30b783fe1169c7458ca915a38abf49980e03fc3e2362d7b71dc2b19604abeff0f206e031838ad93a8d525295c808c9ddb5dba993408f8d1b31058c49008c6585
6
+ metadata.gz: e07d9d5a450f5bdc06f359d4d9f1b96623a0c2e2d91cecb5f23ef99295e5dcaf9844c794b488b27e6a3819802d84d22653cf37ed0868b0fab71b1dde831eea76
7
+ data.tar.gz: 1ee71cb04dd53da9d80ec484931db7258418f6c9789f8f1797a7310afd68014e389eb194f7adebce7497e5025d6b04764aa5916ff67aa99333bae4e83bcdc53e
@@ -2,7 +2,7 @@ module ShopifyApiRateLimiter
2
2
  class DailySkuLimitError < StandardError ; end
3
3
 
4
4
  module ThrottledConnection
5
- SHOPIFY_SLEEP_TIME = 0.5
5
+ SHOPIFY_SLEEP_TIME = ENV['SHOPIFY_API_RATE_LIMITER_TIMEOUT'] || 0.5
6
6
 
7
7
  def request(method, path, *arguments)
8
8
  if self === ShopifyAPI::Base.connection
@@ -1,3 +1,3 @@
1
1
  module ShopifyApiRateLimiter
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Buehler
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.6.14.3
78
+ rubygems_version: 2.6.8
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Rate limits API requests to the Shopify API.