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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bddde1806a3f446baf620b17fa996ba29cbe75488577e72a1a3fc865332cf931
4
- data.tar.gz: af41ffa35843b478b464007c08e53531ac24259ac4fb4519d75f783e33abc6c4
3
+ metadata.gz: 1e14932031fa3c9e9fbc8291f47c77a35218cdc84796da7093514dcfb4b01e3e
4
+ data.tar.gz: 2ca40f03ffce94c6ef444e6501ed042f019005a5befa33e86190c3ad0f36809b
5
5
  SHA512:
6
- metadata.gz: 5ef34565a72c61fd99c4d23bc7033fb9c06cd90cbf6d98a7d81ad792c06f54d191e50dd26edd78e2fc9864d125da0cabfc296b1ef821bd5fddba313ee120819d
7
- data.tar.gz: 65088f0e38663f5f813ed0c05e21330fc519cbc5181ef003292613418bdd219c9f1c5f6fd519c50a5ea6733e08f69f182e1440ca194148c0506b1c180693d2fe
6
+ metadata.gz: e1e2e9ae966e33a14056618992f00804885d1f17926761a8f75852dddf0dc9421e4917142d2bc389fd0d599c58b170bf2777581484b436b31691f326a45a0462
7
+ data.tar.gz: e9da30d7b72803e27234d8e396822ca610b8b976b5b371746594c54ef293baeceaba29f7e6dd6375a0cfdaa806a552393c92c2118b6290ad95b3415c33c0a1e0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ #### 1.3.2
2
+
3
+ - Fix logging on Rails 7.1 due to default use of BroadcastLogger
4
+
1
5
  #### 1.3.1
2
6
 
3
7
  - Handle updated show_exceptions values in Rails 7.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- log_sanity (1.3.1)
4
+ log_sanity (1.3.2)
5
5
  rails (>= 5.2, < 7.2)
6
6
 
7
7
  GEM
@@ -57,10 +57,12 @@ module LogSanity
57
57
  end
58
58
 
59
59
  ActiveSupport.on_load(:action_cable) do
60
- orig_logger = logger || Rails.logger
61
- if orig_logger.level < Logger::WARN
62
- self.logger = orig_logger.clone.tap do |l|
63
- l.level = Logger::WARN
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
@@ -1,3 +1,3 @@
1
1
  module LogSanity
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
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.1
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-05-27 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails