rookout 0.1.40 → 0.1.41
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/lib/rookout/augs/aug_factory.rb +1 -1
- data/lib/rookout/commit.rb +1 -1
- data/lib/rookout/config.rb +2 -2
- data/lib/rookout/version.rb +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: 07a2d9fa41fdf140e81f22c1a46f47bbaf5412b31d1ab62c1f59460c07113c03
|
|
4
|
+
data.tar.gz: 9dd40c49cc6b8417aa3424cedd26aad1b8e63813fe0e2fcc063749d03c20f602
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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? &&
|
|
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}"
|
data/lib/rookout/commit.rb
CHANGED
data/lib/rookout/config.rb
CHANGED
|
@@ -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 =
|
|
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}"
|
data/lib/rookout/version.rb
CHANGED
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.
|
|
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
|
+
date: 2022-09-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: binding_of_caller
|