rack-timeout 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/rack/timeout/logging-observer.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9227dd3e15be49573b85cff836c363d2046d91167d7a3f5731f7002550912beb
|
4
|
+
data.tar.gz: 5454236eff00e74096e5d6818ff80fc0663d12d3f52848847e5fefb02d5110cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdb616f8274f70fffc7a0aef4c4ffc8bcadba8fd0968a58980e2027c3b7131aebf34f49c5d8cf7f69d871deccb27785dc671524501b7021a5f152314a62a4309
|
7
|
+
data.tar.gz: 0ce8bf83eb28973c064a56da114c32276dcc5961a5a761f46850c0e48d39170361f1dcb6ac483e1284bf703c819ba6c84a8b2c6329a207b03266b558e37b87d0
|
data/CHANGELOG.md
CHANGED
@@ -32,7 +32,7 @@ class Rack::Timeout::StateChangeLoggingObserver
|
|
32
32
|
|
33
33
|
def logger(env = nil)
|
34
34
|
@logger ||
|
35
|
-
(defined?(::Rails) && ::Rails.logger) ||
|
35
|
+
(defined?(::Rails) && ::Rails.respond_to?(:logger) && ::Rails.logger) ||
|
36
36
|
(env && !env["rack.logger"].is_a?(::Rack::NullLogger) && env["rack.logger"]) ||
|
37
37
|
(env && env["rack.errors"] && self.class.mk_logger(env["rack.errors"])) ||
|
38
38
|
(@fallback_logger ||= self.class.mk_logger($stderr))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-timeout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caio Chassot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -91,8 +91,8 @@ licenses:
|
|
91
91
|
- MIT
|
92
92
|
metadata:
|
93
93
|
bug_tracker_uri: https://github.com/zombocom/rack-timeout/issues
|
94
|
-
changelog_uri: https://github.com/zombocom/rack-timeout/blob/v0.6.
|
95
|
-
documentation_uri: https://rubydoc.info/gems/rack-timeout/0.6.
|
94
|
+
changelog_uri: https://github.com/zombocom/rack-timeout/blob/v0.6.3/CHANGELOG.md
|
95
|
+
documentation_uri: https://rubydoc.info/gems/rack-timeout/0.6.3/
|
96
96
|
source_code_uri: https://github.com/zombocom/rack-timeout
|
97
97
|
post_install_message:
|
98
98
|
rdoc_options: []
|