log_sanity 1.2.0 → 1.3.1

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: 4b955406c6e0a56ba3242cef72764433a08abc54fa8e0b0241eb85ed3038f5b2
4
- data.tar.gz: d663a844b8eb827ff0f7693386b7c48e13ab609c1b229978d5626d41b4c4c6f7
3
+ metadata.gz: bddde1806a3f446baf620b17fa996ba29cbe75488577e72a1a3fc865332cf931
4
+ data.tar.gz: af41ffa35843b478b464007c08e53531ac24259ac4fb4519d75f783e33abc6c4
5
5
  SHA512:
6
- metadata.gz: ebf2265262ef180c669376798887e66e92176e07fcc725f8ccfc6bdf0e642c450363d0214f0aed8519c9e1ac7369ac117e6f8ceb2f2d88cdf3da9d12bc17616b
7
- data.tar.gz: d1eaf205cd088590de19326404fc59eb076a8cd6d9d8c3dc777a1fa681d017d213cc5796c43f88efba8a8ebc52e875bf39fd5e63da3d72ffdb82111d9c23c2a2
6
+ metadata.gz: 5ef34565a72c61fd99c4d23bc7033fb9c06cd90cbf6d98a7d81ad792c06f54d191e50dd26edd78e2fc9864d125da0cabfc296b1ef821bd5fddba313ee120819d
7
+ data.tar.gz: 65088f0e38663f5f813ed0c05e21330fc519cbc5181ef003292613418bdd219c9f1c5f6fd519c50a5ea6733e08f69f182e1440ca194148c0506b1c180693d2fe
data/CHANGELOG.md ADDED
@@ -0,0 +1,28 @@
1
+ #### 1.3.1
2
+
3
+ - Handle updated show_exceptions values in Rails 7.1
4
+
5
+ #### 1.3.0
6
+
7
+ - Fix timing of gem initialization
8
+ - Support Rails 7.1
9
+ - Ensure ActionCable's logger level isn't made more permissive
10
+
11
+ #### 1.2.0
12
+
13
+ - Add support for ActionCable logs
14
+ - Fix :at on Rails 7
15
+
16
+ #### 1.1.1
17
+
18
+ - Support Rails 7.0
19
+
20
+ #### 1.1.0
21
+
22
+ - Include tags when rendering formatted strings
23
+ - Preserve string_formatter as disabled
24
+ - Place :at at the front of messages
25
+
26
+ #### 1.0.0 and prior
27
+
28
+ (see git history)
data/Gemfile.lock CHANGED
@@ -1,142 +1,159 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- log_sanity (1.2.0)
5
- rails (>= 5.2, < 7.1)
4
+ log_sanity (1.3.1)
5
+ rails (>= 5.2, < 7.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (6.1.4.6)
11
- actionpack (= 6.1.4.6)
12
- activesupport (= 6.1.4.6)
10
+ actioncable (7.0.5)
11
+ actionpack (= 7.0.5)
12
+ activesupport (= 7.0.5)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.1.4.6)
16
- actionpack (= 6.1.4.6)
17
- activejob (= 6.1.4.6)
18
- activerecord (= 6.1.4.6)
19
- activestorage (= 6.1.4.6)
20
- activesupport (= 6.1.4.6)
15
+ actionmailbox (7.0.5)
16
+ actionpack (= 7.0.5)
17
+ activejob (= 7.0.5)
18
+ activerecord (= 7.0.5)
19
+ activestorage (= 7.0.5)
20
+ activesupport (= 7.0.5)
21
21
  mail (>= 2.7.1)
22
- actionmailer (6.1.4.6)
23
- actionpack (= 6.1.4.6)
24
- actionview (= 6.1.4.6)
25
- activejob (= 6.1.4.6)
26
- activesupport (= 6.1.4.6)
22
+ net-imap
23
+ net-pop
24
+ net-smtp
25
+ actionmailer (7.0.5)
26
+ actionpack (= 7.0.5)
27
+ actionview (= 7.0.5)
28
+ activejob (= 7.0.5)
29
+ activesupport (= 7.0.5)
27
30
  mail (~> 2.5, >= 2.5.4)
31
+ net-imap
32
+ net-pop
33
+ net-smtp
28
34
  rails-dom-testing (~> 2.0)
29
- actionpack (6.1.4.6)
30
- actionview (= 6.1.4.6)
31
- activesupport (= 6.1.4.6)
32
- rack (~> 2.0, >= 2.0.9)
35
+ actionpack (7.0.5)
36
+ actionview (= 7.0.5)
37
+ activesupport (= 7.0.5)
38
+ rack (~> 2.0, >= 2.2.4)
33
39
  rack-test (>= 0.6.3)
34
40
  rails-dom-testing (~> 2.0)
35
41
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.1.4.6)
37
- actionpack (= 6.1.4.6)
38
- activerecord (= 6.1.4.6)
39
- activestorage (= 6.1.4.6)
40
- activesupport (= 6.1.4.6)
42
+ actiontext (7.0.5)
43
+ actionpack (= 7.0.5)
44
+ activerecord (= 7.0.5)
45
+ activestorage (= 7.0.5)
46
+ activesupport (= 7.0.5)
47
+ globalid (>= 0.6.0)
41
48
  nokogiri (>= 1.8.5)
42
- actionview (6.1.4.6)
43
- activesupport (= 6.1.4.6)
49
+ actionview (7.0.5)
50
+ activesupport (= 7.0.5)
44
51
  builder (~> 3.1)
45
52
  erubi (~> 1.4)
46
53
  rails-dom-testing (~> 2.0)
47
54
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.1.4.6)
49
- activesupport (= 6.1.4.6)
55
+ activejob (7.0.5)
56
+ activesupport (= 7.0.5)
50
57
  globalid (>= 0.3.6)
51
- activemodel (6.1.4.6)
52
- activesupport (= 6.1.4.6)
53
- activerecord (6.1.4.6)
54
- activemodel (= 6.1.4.6)
55
- activesupport (= 6.1.4.6)
56
- activestorage (6.1.4.6)
57
- actionpack (= 6.1.4.6)
58
- activejob (= 6.1.4.6)
59
- activerecord (= 6.1.4.6)
60
- activesupport (= 6.1.4.6)
61
- marcel (~> 1.0.0)
58
+ activemodel (7.0.5)
59
+ activesupport (= 7.0.5)
60
+ activerecord (7.0.5)
61
+ activemodel (= 7.0.5)
62
+ activesupport (= 7.0.5)
63
+ activestorage (7.0.5)
64
+ actionpack (= 7.0.5)
65
+ activejob (= 7.0.5)
66
+ activerecord (= 7.0.5)
67
+ activesupport (= 7.0.5)
68
+ marcel (~> 1.0)
62
69
  mini_mime (>= 1.1.0)
63
- activesupport (6.1.4.6)
70
+ activesupport (7.0.5)
64
71
  concurrent-ruby (~> 1.0, >= 1.0.2)
65
72
  i18n (>= 1.6, < 2)
66
73
  minitest (>= 5.1)
67
74
  tzinfo (~> 2.0)
68
- zeitwerk (~> 2.3)
69
75
  builder (3.2.4)
70
- concurrent-ruby (1.1.9)
76
+ concurrent-ruby (1.2.2)
71
77
  crass (1.0.6)
72
- erubi (1.10.0)
73
- globalid (1.0.0)
78
+ date (3.3.3)
79
+ erubi (1.12.0)
80
+ globalid (1.1.0)
74
81
  activesupport (>= 5.0)
75
- i18n (1.10.0)
82
+ i18n (1.13.0)
76
83
  concurrent-ruby (~> 1.0)
77
- loofah (2.14.0)
84
+ loofah (2.21.3)
78
85
  crass (~> 1.0.2)
79
- nokogiri (>= 1.5.9)
80
- mail (2.7.1)
86
+ nokogiri (>= 1.12.0)
87
+ mail (2.8.1)
81
88
  mini_mime (>= 0.1.1)
89
+ net-imap
90
+ net-pop
91
+ net-smtp
82
92
  marcel (1.0.2)
83
93
  method_source (1.0.0)
84
94
  mini_mime (1.1.2)
85
- minitest (5.15.0)
86
- nio4r (2.5.8)
87
- nokogiri (1.13.3-x86_64-darwin)
95
+ minitest (5.18.0)
96
+ net-imap (0.3.4)
97
+ date
98
+ net-protocol
99
+ net-pop (0.1.2)
100
+ net-protocol
101
+ net-protocol (0.2.1)
102
+ timeout
103
+ net-smtp (0.3.3)
104
+ net-protocol
105
+ nio4r (2.5.9)
106
+ nokogiri (1.15.2-arm64-darwin)
88
107
  racc (~> 1.4)
89
- racc (1.6.0)
90
- rack (2.2.3)
91
- rack-test (1.1.0)
92
- rack (>= 1.0, < 3)
93
- rails (6.1.4.6)
94
- actioncable (= 6.1.4.6)
95
- actionmailbox (= 6.1.4.6)
96
- actionmailer (= 6.1.4.6)
97
- actionpack (= 6.1.4.6)
98
- actiontext (= 6.1.4.6)
99
- actionview (= 6.1.4.6)
100
- activejob (= 6.1.4.6)
101
- activemodel (= 6.1.4.6)
102
- activerecord (= 6.1.4.6)
103
- activestorage (= 6.1.4.6)
104
- activesupport (= 6.1.4.6)
108
+ racc (1.6.2)
109
+ rack (2.2.7)
110
+ rack-test (2.1.0)
111
+ rack (>= 1.3)
112
+ rails (7.0.5)
113
+ actioncable (= 7.0.5)
114
+ actionmailbox (= 7.0.5)
115
+ actionmailer (= 7.0.5)
116
+ actionpack (= 7.0.5)
117
+ actiontext (= 7.0.5)
118
+ actionview (= 7.0.5)
119
+ activejob (= 7.0.5)
120
+ activemodel (= 7.0.5)
121
+ activerecord (= 7.0.5)
122
+ activestorage (= 7.0.5)
123
+ activesupport (= 7.0.5)
105
124
  bundler (>= 1.15.0)
106
- railties (= 6.1.4.6)
107
- sprockets-rails (>= 2.0.0)
125
+ railties (= 7.0.5)
108
126
  rails-dom-testing (2.0.3)
109
127
  activesupport (>= 4.2.0)
110
128
  nokogiri (>= 1.6)
111
- rails-html-sanitizer (1.4.2)
112
- loofah (~> 2.3)
113
- railties (6.1.4.6)
114
- actionpack (= 6.1.4.6)
115
- activesupport (= 6.1.4.6)
129
+ rails-html-sanitizer (1.6.0)
130
+ loofah (~> 2.21)
131
+ nokogiri (~> 1.14)
132
+ railties (7.0.5)
133
+ actionpack (= 7.0.5)
134
+ activesupport (= 7.0.5)
116
135
  method_source
117
- rake (>= 0.13)
136
+ rake (>= 12.2)
118
137
  thor (~> 1.0)
138
+ zeitwerk (~> 2.5)
119
139
  rake (13.0.6)
120
- sprockets (4.0.2)
121
- concurrent-ruby (~> 1.0)
122
- rack (> 1, < 3)
123
- sprockets-rails (3.4.2)
124
- actionpack (>= 5.2)
125
- activesupport (>= 5.2)
126
- sprockets (>= 3.0.0)
127
- thor (1.2.1)
128
- tzinfo (2.0.4)
140
+ thor (1.2.2)
141
+ timeout (0.3.2)
142
+ tzinfo (2.0.6)
129
143
  concurrent-ruby (~> 1.0)
130
144
  websocket-driver (0.7.5)
131
145
  websocket-extensions (>= 0.1.0)
132
146
  websocket-extensions (0.1.5)
133
- zeitwerk (2.5.4)
147
+ zeitwerk (2.6.8)
134
148
 
135
149
  PLATFORMS
150
+ arm64-darwin
136
151
  ruby
152
+ x86_64-darwin
153
+ x86_64-linux
137
154
 
138
155
  DEPENDENCIES
139
156
  log_sanity!
140
157
 
141
158
  BUNDLED WITH
142
- 2.2.22
159
+ 2.3.26
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2017-2022 thomas morgan
1
+ Copyright 2017-2023 thomas morgan
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -10,7 +10,7 @@ However, just because the primary output is a single line doesn't make it a one-
10
10
 
11
11
  Example output: (Multi-line and extra whitespace added for readability; normally all one line.)
12
12
 
13
- ```
13
+ ```json
14
14
  { "at" : "2017-01-18T00:27:50.947Z",
15
15
  "event" : "https_get",
16
16
  "ip" : "127.0.0.1",
@@ -28,12 +28,12 @@ Example output: (Multi-line and extra whitespace added for readability; normally
28
28
  ### Installation
29
29
 
30
30
  Install the usual way:
31
- ```
31
+ ```ruby
32
32
  gem 'log_sanity'
33
33
  ```
34
34
 
35
35
  By default, LogSanity does not enable itself. To do so, in `config/environments/production.rb` add:
36
- ```
36
+ ```ruby
37
37
  config.logsanity.enabled = true
38
38
  config.log_level = :info
39
39
  ```
@@ -41,16 +41,27 @@ config.log_level = :info
41
41
  You can go less verbose than `:info` (say, `:warn`), but more verbose (ie: `:debug`) is not recommended.
42
42
 
43
43
 
44
+ ##### A note on initialization order
45
+
46
+ LogSanity initializes after running `application.rb` and `config/environments/*.rb`, but before `config/initializers/*.rb`. Most `config.logsanity.*` settings must be in one of the former or they will be ignored (`config.logsanity.silence_paths` being an exception).
47
+
48
+ However, `initializers/*.rb` may be used to reduce the scope of what's logged. For example, to skip logging of ActiveJob requests only:
49
+ ```ruby
50
+ # initializers/logsanity.rb
51
+ LogSanity::LogSubscriber::ActiveJob.detach_from :active_job
52
+ ```
53
+
54
+
44
55
  ### Usage
45
56
 
46
- Basic usage may require nothing more than enable LogSanity as outlined above. Some common configuration settings include silencing logging for certain paths (like health checks) or adding information about the currently authenticated user.
57
+ Basic usage may require nothing more than enabling LogSanity as outlined above. Some common configuration settings include silencing logging for certain paths (like health checks) or adding information about the currently authenticated user.
47
58
 
48
59
  ##### Adding attributes
49
60
 
50
61
  The most common way to add attributes is via controllers. Helper methods are provided for this. For example, to log the current user's ID, you might add the following to `application_controller.rb`:
51
62
 
52
- ```
53
- after_filter do
63
+ ```ruby
64
+ after_action do
54
65
  if current_user
55
66
  log_field 'user', current_user.id
56
67
  end
@@ -58,14 +69,14 @@ end
58
69
  ```
59
70
 
60
71
  The syntax is simply `log_field(key, value)`. Since the output is JSON, `value` can even be a hash or array:
61
- ```
72
+ ```ruby
62
73
  log_field 'user', {id: current_user.id, name: current_user.name}
63
74
  ```
64
75
 
65
76
  You can log multiple fields by calling `log_field` multiple times.
66
77
 
67
78
  If you must, you can get to the full fields hash:
68
- ```
79
+ ```ruby
69
80
  LogSanity.fields['user'] ||= {}
70
81
  LogSanity.fields['user']['id'] = current_user.id
71
82
  ```
@@ -76,7 +87,7 @@ It's also possible to add attributes via Rails' existing `log_tags` facility, wh
76
87
  ##### Logging complete entries
77
88
 
78
89
  To log a complete event (a complete log entry), try something like:
79
- ```
90
+ ```ruby
80
91
  logger.info 'event'=>'user_signup', 'source'=>'ppc', 'campaign'=>'awesomeness', 'rq'=>request.uuid, 'user'=>current_user.id
81
92
  ```
82
93
 
@@ -86,13 +97,13 @@ If you pass in a hash to any `logger` method, it automatically becomes JSON outp
86
97
 
87
98
  ### Configuration options
88
99
 
89
- While the above cover most of it, there are a handful of other potentially useful settings.
100
+ While the above covers most of it, there are a handful of other potentially useful settings.
90
101
 
91
102
  ##### Silence logging for certain paths
92
103
 
93
- This is particularly useful if you have any kind of health check path, as there's no need to fill up log files with that stuff.
104
+ This is particularly useful if you have any kind of health check path, as there's no need to fill up log files with that stuff. Both exact strings and regexps are supported.
94
105
 
95
- ```
106
+ ```ruby
96
107
  config.logsanity.silence_paths += ["/health", %r{^/healthcheck}]
97
108
  ```
98
109
 
@@ -103,7 +114,7 @@ Both exact path matches (Strings) and Regex's are supported.
103
114
 
104
115
  By default, strings are logged as-is and not stuck inside a JSON object. If you prefer the opposite:
105
116
 
106
- ```
117
+ ```ruby
107
118
  config.logsanity.json_strings = true
108
119
  ```
109
120
 
@@ -112,7 +123,7 @@ With `json_strings` as `false` (default), `logger.info "This is fantastic!"` wou
112
123
  This is fantastic!
113
124
  ```
114
125
  However, if `true`, you'll see:
115
- ```
126
+ ```json
116
127
  {"at":"2017-01-18T00:27:50.947Z","message":"This is fantastic!"}
117
128
  ```
118
129
 
@@ -121,7 +132,7 @@ However, if `true`, you'll see:
121
132
 
122
133
  When LogSanity initializes, it replaces the Rails log formatter with its own, but saves the old one for outputting strings (assuming `json_strings` is `false`). This means you can still configure the formatting of those. For example, to use Logger's default formatting (instead of Rails' default):
123
134
 
124
- ```
135
+ ```ruby
125
136
  config.log_formatter = ::Logger::Formatter.new
126
137
  ```
127
138
 
@@ -130,7 +141,7 @@ config.log_formatter = ::Logger::Formatter.new
130
141
 
131
142
  As noted above, you can either add extra attributes directly or via `log_tags`. We discussed direct already. Now let's take a look at tagged logging, which is a bit different in a JSON world.
132
143
 
133
- ```
144
+ ```ruby
134
145
  config.log_tags = [ :subdomain ]
135
146
  ```
136
147
 
@@ -144,7 +155,7 @@ LogSanity takes these and adds them to the default request log entry (but _not_
144
155
  LogSanity is intended for production use at log_level info. At level debug, some logs are simply turned off. Others may continue to output as normal strings (such as ActiveRecord).
145
156
 
146
157
  If not using tags, there is no need to use ActiveSupport::TaggedLogging with your logger. Just set the logger directly (if not using the default):
147
- ```
158
+ ```ruby
148
159
  config.logger = ActiveSupport::Logger.new(STDOUT)
149
160
  ```
150
161
 
@@ -172,7 +183,7 @@ There are still some things that could be handled better (such as multi-line str
172
183
 
173
184
  Pull requests are welcomed and encouraged. The only goal is to avoid making things unnecessarily complex.
174
185
 
175
- Tested on Rails 5.2 through 7.0 (or later). Anything older is untested. Small patches for older compatibility will be considered.
186
+ Tested on Rails 5.2 through 7.1 (or later). Anything older is untested. Small patches for older compatibility will be considered.
176
187
 
177
188
  License: MIT
178
189
 
@@ -19,10 +19,20 @@ module LogSanity
19
19
 
20
20
  response
21
21
  rescue ActionController::RoutingError => exception
22
- if request.show_exceptions?
23
- render_exception(request, exception)
22
+ if Rails.version >= '7.1'
23
+ backtrace_cleaner = request.get_header('action_dispatch.backtrace_cleaner')
24
+ wrapper = ActionDispatch::ExceptionWrapper.new(backtrace_cleaner, exception)
25
+ if wrapper.show?(request)
26
+ render_exception(request, wrapper)
27
+ else
28
+ raise exception
29
+ end
24
30
  else
25
- raise exception
31
+ if request.show_exceptions?
32
+ render_exception(request, exception)
33
+ else
34
+ raise exception
35
+ end
26
36
  end
27
37
  end
28
38
 
@@ -5,7 +5,14 @@ module LogSanity
5
5
  config.logsanity.json_strings = false
6
6
  config.logsanity.silence_paths = []
7
7
 
8
- initializer "log_sanity.configure" do |app|
8
+ initializer "log_sanity.extensions" do
9
+ ActiveSupport.on_load(:action_controller) do
10
+ # runs for each of AC::Base, AC::API
11
+ include LogSanity::Extensions::ActionControllerHelper
12
+ end
13
+ end
14
+
15
+ initializer "log_sanity.configure", before: :load_config_initializers do |app|
9
16
  app.config.log_tags ||= []
10
17
  if app.config.logsanity.enabled
11
18
  orig_formatter = Rails.logger.formatter
@@ -51,8 +58,10 @@ module LogSanity
51
58
 
52
59
  ActiveSupport.on_load(:action_cable) do
53
60
  orig_logger = logger || Rails.logger
54
- self.logger = orig_logger.clone.tap do |l|
55
- l.level = Logger::WARN
61
+ if orig_logger.level < Logger::WARN
62
+ self.logger = orig_logger.clone.tap do |l|
63
+ l.level = Logger::WARN
64
+ end
56
65
  end
57
66
  end
58
67
  ActiveSupport.on_load(:action_cable_connection) do
@@ -1,3 +1,3 @@
1
1
  module LogSanity
2
- VERSION = '1.2.0'
2
+ VERSION = '1.3.1'
3
3
  end
data/lib/log_sanity.rb CHANGED
@@ -9,14 +9,12 @@
9
9
  middleware/request_logger
10
10
  middleware/routing_error_catcher
11
11
  extensions/action_cable_connection
12
- extensions/action_controller_helper
12
+ extensions/action_controller_helper
13
13
  extensions/active_support_subscriber
14
14
  ).each do |fn|
15
15
  require_relative "log_sanity/#{fn}"
16
16
  end
17
17
 
18
- ActionController::Base.include LogSanity::Extensions::ActionControllerHelper
19
- ActionController::API.include LogSanity::Extensions::ActionControllerHelper if defined?(ActionController::API)
20
18
  if Rails.version < '6'
21
19
  ActiveSupport::Subscriber.include LogSanity::Extensions::ActiveSupportSubscriber
22
20
  end
data/log_sanity.gemspec CHANGED
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_dependency 'rails', '>= 5.2', '< 7.1'
20
+ s.add_dependency 'rails', '>= 5.2', '< 7.2'
21
21
  end
@@ -5,7 +5,6 @@ require File.expand_path('../boot', __FILE__)
5
5
  require "action_controller/railtie"
6
6
  require "action_mailer/railtie"
7
7
  require "action_view/railtie"
8
- require "sprockets/railtie"
9
8
  require "rails/test_unit/railtie"
10
9
 
11
10
  Bundler.require(*Rails.groups)
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.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-13 00:00:00.000000000 Z
11
+ date: 2023-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
22
+ version: '7.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
32
+ version: '7.2'
33
33
  description: LogSanity - Bring sanity to Rails logs by reducing verbosity, using json
34
34
  output, and more.
35
35
  email:
@@ -39,6 +39,7 @@ extensions: []
39
39
  extra_rdoc_files: []
40
40
  files:
41
41
  - ".gitignore"
42
+ - CHANGELOG.md
42
43
  - Gemfile
43
44
  - Gemfile.lock
44
45
  - LICENSE
@@ -85,7 +86,6 @@ files:
85
86
  - test/dummy/config/environments/development.rb
86
87
  - test/dummy/config/environments/production.rb
87
88
  - test/dummy/config/environments/test.rb
88
- - test/dummy/config/initializers/assets.rb
89
89
  - test/dummy/config/initializers/backtrace_silencers.rb
90
90
  - test/dummy/config/initializers/cookies_serializer.rb
91
91
  - test/dummy/config/initializers/filter_parameter_logging.rb
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.2.22
126
+ rubygems_version: 3.4.10
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: LogSanity - Bring sanity to Rails logs
@@ -152,7 +152,6 @@ test_files:
152
152
  - test/dummy/config/environments/development.rb
153
153
  - test/dummy/config/environments/production.rb
154
154
  - test/dummy/config/environments/test.rb
155
- - test/dummy/config/initializers/assets.rb
156
155
  - test/dummy/config/initializers/backtrace_silencers.rb
157
156
  - test/dummy/config/initializers/cookies_serializer.rb
158
157
  - test/dummy/config/initializers/filter_parameter_logging.rb
@@ -1,11 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Add additional assets to the asset load path
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
- # Precompile additional assets.
10
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
- # Rails.application.config.assets.precompile += %w( search.js )