rookout 0.1.40 → 0.1.41

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: 7605e9deab6fab2b1456185132e9db8100f143e0486a6cbef13a20a368047ad1
4
- data.tar.gz: 900c58be123cfad2b749a16dce8ed3e6fa572af1177ee3778fe9318c02a2f81b
3
+ metadata.gz: 07a2d9fa41fdf140e81f22c1a46f47bbaf5412b31d1ab62c1f59460c07113c03
4
+ data.tar.gz: 9dd40c49cc6b8417aa3424cedd26aad1b8e63813fe0e2fcc063749d03c20f602
5
5
  SHA512:
6
- metadata.gz: 0d4bf7792481a091c0110353cf727f44486b08dd099bba996ce83c7b05e88213f8a714dcbfb2840944876a49a8a794f2496c501c1c19ec5c341f1493ab925ace
7
- data.tar.gz: 5069a96af2a1a11b0e7d07be6def3a42bdbf0b94658bc16ff652d06ae623295f5c9b4ea02cbee21cae3d68a236f283568d0136d04edcc51937c68c4a31ba635b
6
+ metadata.gz: 7204403b2efd52cce60b533b396c93ffc963b60554d3fbf4fbc414f4a2d6a80c0ced39e7d6c6cceda6d2470ee46563cc8704871b058957599f8b6f7ad1d433ff
7
+ data.tar.gz: 2a05c92e5f984035bcbe84e5e4f2f25be8b2458032272c03fd4e94f8e94252bcaf8c11d7989c294e5a7d07773e95170bb7f479c3806945636869b2b7b491349d
@@ -77,7 +77,7 @@ module Rookout
77
77
  end
78
78
 
79
79
  def global_rate_limiter
80
- if @global_rate_limiter.nil? && !Rookout::Config.global_rate_limit.nil?
80
+ if @global_rate_limiter.nil? && Rookout::Config.global_rate_limit != ""
81
81
  rate_limit = parse_rate_limit Rookout::Config.global_rate_limit, "0", 0, 0
82
82
  @global_rate_limiter = AugRateLimiter.new(*rate_limit)
83
83
  Logger.instance.debug "Using global rate limiter with configuration: #{rate_limit}"
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- COMMIT = "c62d573f33d1f62ad05aec7d28a4757fafb9a2b4".freeze
2
+ COMMIT = "ed682099e24a661d30178506cb58f2a25d4af877".freeze
3
3
  end
@@ -79,7 +79,7 @@ module Rookout
79
79
  attr_accessor :global_rate_limit
80
80
  attr_accessor :using_global_rate_limiter
81
81
 
82
- Rookout::Config.global_rate_limit = nil
82
+ Rookout::Config.global_rate_limit = ""
83
83
  Rookout::Config.using_global_rate_limiter = false
84
84
 
85
85
  def update_config configuration
@@ -106,7 +106,7 @@ module Rookout
106
106
  global_rate_limit = configuration["RUBY_GLOBAL_RATE_LIMIT"]
107
107
  end
108
108
 
109
- return if global_rate_limit.nil?
109
+ return if global_rate_limit.nil? || global_rate_limit == ""
110
110
 
111
111
  @global_rate_limit = global_rate_limit
112
112
  Logger.instance.info "Updating global rate limit to: #{global_rate_limit}"
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- VERSION = "0.1.40".freeze
2
+ VERSION = "0.1.41".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rookout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.40
4
+ version: 0.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liran Haimovitch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-11 00:00:00.000000000 Z
11
+ date: 2022-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller