log_sanity 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/log_sanity/railtie.rb +6 -4
- data/lib/log_sanity/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: 1e14932031fa3c9e9fbc8291f47c77a35218cdc84796da7093514dcfb4b01e3e
|
4
|
+
data.tar.gz: 2ca40f03ffce94c6ef444e6501ed042f019005a5befa33e86190c3ad0f36809b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1e2e9ae966e33a14056618992f00804885d1f17926761a8f75852dddf0dc9421e4917142d2bc389fd0d599c58b170bf2777581484b436b31691f326a45a0462
|
7
|
+
data.tar.gz: e9da30d7b72803e27234d8e396822ca610b8b976b5b371746594c54ef293baeceaba29f7e6dd6375a0cfdaa806a552393c92c2118b6290ad95b3415c33c0a1e0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/log_sanity/railtie.rb
CHANGED
@@ -57,10 +57,12 @@ module LogSanity
|
|
57
57
|
end
|
58
58
|
|
59
59
|
ActiveSupport.on_load(:action_cable) do
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
60
|
+
if Rails.version < '7.1'
|
61
|
+
orig_logger = logger || Rails.logger
|
62
|
+
if orig_logger.level < Logger::WARN
|
63
|
+
self.logger = orig_logger.clone.tap do |l|
|
64
|
+
l.level = Logger::WARN
|
65
|
+
end
|
64
66
|
end
|
65
67
|
end
|
66
68
|
end
|
data/lib/log_sanity/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log_sanity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thomas morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|