log_sanity 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/Gemfile.lock +109 -85
- data/LICENSE +1 -1
- data/README.md +29 -18
- data/lib/log_sanity/railtie.rb +12 -3
- data/lib/log_sanity/version.rb +1 -1
- data/lib/log_sanity.rb +1 -3
- data/log_sanity.gemspec +1 -1
- data/test/dummy/config/application.rb +0 -1
- metadata +6 -7
- data/test/dummy/config/initializers/assets.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44be27b46cf3a8abec840218bd28a4b9e24ed041c7838c94061edebc60d919a9
|
4
|
+
data.tar.gz: b30eedf81fdcaacc3edb88aa56527744f459ed1a7d4bcbd38f10015f5253c9a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7a1013c535badbb4f12e2fde5050adf79b1213952bce25a0e78ccb18924774ea34cf5371efc211b83a62b2b8de33e9cdfa2cb3877372486dd2251e11411639e
|
7
|
+
data.tar.gz: 0c619b8f5db59c702230da3b74c5b8cbe941a91ad0b07641e326733f41046a4481ef10d0ff4863b45511873ab0bd4d675ea41525ee5dff99a1d78f4e3cec76c6
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#### 1.3.0
|
2
|
+
|
3
|
+
- Fix timing of gem initialization
|
4
|
+
- Support Rails 7.1
|
5
|
+
- Ensure ActionCable's logger level isn't made more permissive
|
6
|
+
|
7
|
+
#### 1.2.0
|
8
|
+
|
9
|
+
- Add support for ActionCable logs
|
10
|
+
- Fix :at on Rails 7
|
11
|
+
|
12
|
+
#### 1.1.1
|
13
|
+
|
14
|
+
- Support Rails 7.0
|
15
|
+
|
16
|
+
#### 1.1.0
|
17
|
+
|
18
|
+
- Include tags when rendering formatted strings
|
19
|
+
- Preserve string_formatter as disabled
|
20
|
+
- Place :at at the front of messages
|
21
|
+
|
22
|
+
#### 1.0.0 and prior
|
23
|
+
|
24
|
+
(see git history)
|
data/Gemfile.lock
CHANGED
@@ -1,142 +1,166 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
log_sanity (1.
|
5
|
-
rails (>= 5.2, < 7.
|
4
|
+
log_sanity (1.3.0)
|
5
|
+
rails (>= 5.2, < 7.2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (
|
11
|
-
actionpack (=
|
12
|
-
activesupport (=
|
10
|
+
actioncable (7.0.4.3)
|
11
|
+
actionpack (= 7.0.4.3)
|
12
|
+
activesupport (= 7.0.4.3)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (
|
16
|
-
actionpack (=
|
17
|
-
activejob (=
|
18
|
-
activerecord (=
|
19
|
-
activestorage (=
|
20
|
-
activesupport (=
|
15
|
+
actionmailbox (7.0.4.3)
|
16
|
+
actionpack (= 7.0.4.3)
|
17
|
+
activejob (= 7.0.4.3)
|
18
|
+
activerecord (= 7.0.4.3)
|
19
|
+
activestorage (= 7.0.4.3)
|
20
|
+
activesupport (= 7.0.4.3)
|
21
21
|
mail (>= 2.7.1)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
net-imap
|
23
|
+
net-pop
|
24
|
+
net-smtp
|
25
|
+
actionmailer (7.0.4.3)
|
26
|
+
actionpack (= 7.0.4.3)
|
27
|
+
actionview (= 7.0.4.3)
|
28
|
+
activejob (= 7.0.4.3)
|
29
|
+
activesupport (= 7.0.4.3)
|
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 (
|
30
|
-
actionview (=
|
31
|
-
activesupport (=
|
32
|
-
rack (~> 2.0, >= 2.0
|
35
|
+
actionpack (7.0.4.3)
|
36
|
+
actionview (= 7.0.4.3)
|
37
|
+
activesupport (= 7.0.4.3)
|
38
|
+
rack (~> 2.0, >= 2.2.0)
|
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 (
|
37
|
-
actionpack (=
|
38
|
-
activerecord (=
|
39
|
-
activestorage (=
|
40
|
-
activesupport (=
|
42
|
+
actiontext (7.0.4.3)
|
43
|
+
actionpack (= 7.0.4.3)
|
44
|
+
activerecord (= 7.0.4.3)
|
45
|
+
activestorage (= 7.0.4.3)
|
46
|
+
activesupport (= 7.0.4.3)
|
47
|
+
globalid (>= 0.6.0)
|
41
48
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (
|
43
|
-
activesupport (=
|
49
|
+
actionview (7.0.4.3)
|
50
|
+
activesupport (= 7.0.4.3)
|
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 (
|
49
|
-
activesupport (=
|
55
|
+
activejob (7.0.4.3)
|
56
|
+
activesupport (= 7.0.4.3)
|
50
57
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (
|
52
|
-
activesupport (=
|
53
|
-
activerecord (
|
54
|
-
activemodel (=
|
55
|
-
activesupport (=
|
56
|
-
activestorage (
|
57
|
-
actionpack (=
|
58
|
-
activejob (=
|
59
|
-
activerecord (=
|
60
|
-
activesupport (=
|
61
|
-
marcel (~> 1.0
|
58
|
+
activemodel (7.0.4.3)
|
59
|
+
activesupport (= 7.0.4.3)
|
60
|
+
activerecord (7.0.4.3)
|
61
|
+
activemodel (= 7.0.4.3)
|
62
|
+
activesupport (= 7.0.4.3)
|
63
|
+
activestorage (7.0.4.3)
|
64
|
+
actionpack (= 7.0.4.3)
|
65
|
+
activejob (= 7.0.4.3)
|
66
|
+
activerecord (= 7.0.4.3)
|
67
|
+
activesupport (= 7.0.4.3)
|
68
|
+
marcel (~> 1.0)
|
62
69
|
mini_mime (>= 1.1.0)
|
63
|
-
activesupport (
|
70
|
+
activesupport (7.0.4.3)
|
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.
|
76
|
+
concurrent-ruby (1.2.2)
|
71
77
|
crass (1.0.6)
|
72
|
-
|
73
|
-
|
78
|
+
date (3.3.3)
|
79
|
+
erubi (1.12.0)
|
80
|
+
globalid (1.1.0)
|
74
81
|
activesupport (>= 5.0)
|
75
|
-
i18n (1.
|
82
|
+
i18n (1.12.0)
|
76
83
|
concurrent-ruby (~> 1.0)
|
77
|
-
loofah (2.
|
84
|
+
loofah (2.20.0)
|
78
85
|
crass (~> 1.0.2)
|
79
86
|
nokogiri (>= 1.5.9)
|
80
|
-
mail (2.
|
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
|
-
|
86
|
-
|
87
|
-
|
95
|
+
mini_portile2 (2.8.1)
|
96
|
+
minitest (5.18.0)
|
97
|
+
net-imap (0.3.4)
|
98
|
+
date
|
99
|
+
net-protocol
|
100
|
+
net-pop (0.1.2)
|
101
|
+
net-protocol
|
102
|
+
net-protocol (0.2.1)
|
103
|
+
timeout
|
104
|
+
net-smtp (0.3.3)
|
105
|
+
net-protocol
|
106
|
+
nio4r (2.5.9)
|
107
|
+
nokogiri (1.14.3)
|
108
|
+
mini_portile2 (~> 2.8.0)
|
88
109
|
racc (~> 1.4)
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
110
|
+
nokogiri (1.14.3-arm64-darwin)
|
111
|
+
racc (~> 1.4)
|
112
|
+
nokogiri (1.14.3-x86_64-darwin)
|
113
|
+
racc (~> 1.4)
|
114
|
+
nokogiri (1.14.3-x86_64-linux)
|
115
|
+
racc (~> 1.4)
|
116
|
+
racc (1.6.2)
|
117
|
+
rack (2.2.6.4)
|
118
|
+
rack-test (2.1.0)
|
119
|
+
rack (>= 1.3)
|
120
|
+
rails (7.0.4.3)
|
121
|
+
actioncable (= 7.0.4.3)
|
122
|
+
actionmailbox (= 7.0.4.3)
|
123
|
+
actionmailer (= 7.0.4.3)
|
124
|
+
actionpack (= 7.0.4.3)
|
125
|
+
actiontext (= 7.0.4.3)
|
126
|
+
actionview (= 7.0.4.3)
|
127
|
+
activejob (= 7.0.4.3)
|
128
|
+
activemodel (= 7.0.4.3)
|
129
|
+
activerecord (= 7.0.4.3)
|
130
|
+
activestorage (= 7.0.4.3)
|
131
|
+
activesupport (= 7.0.4.3)
|
105
132
|
bundler (>= 1.15.0)
|
106
|
-
railties (=
|
107
|
-
sprockets-rails (>= 2.0.0)
|
133
|
+
railties (= 7.0.4.3)
|
108
134
|
rails-dom-testing (2.0.3)
|
109
135
|
activesupport (>= 4.2.0)
|
110
136
|
nokogiri (>= 1.6)
|
111
|
-
rails-html-sanitizer (1.
|
112
|
-
loofah (~> 2.
|
113
|
-
railties (
|
114
|
-
actionpack (=
|
115
|
-
activesupport (=
|
137
|
+
rails-html-sanitizer (1.5.0)
|
138
|
+
loofah (~> 2.19, >= 2.19.1)
|
139
|
+
railties (7.0.4.3)
|
140
|
+
actionpack (= 7.0.4.3)
|
141
|
+
activesupport (= 7.0.4.3)
|
116
142
|
method_source
|
117
|
-
rake (>=
|
143
|
+
rake (>= 12.2)
|
118
144
|
thor (~> 1.0)
|
145
|
+
zeitwerk (~> 2.5)
|
119
146
|
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
147
|
thor (1.2.1)
|
128
|
-
|
148
|
+
timeout (0.3.2)
|
149
|
+
tzinfo (2.0.6)
|
129
150
|
concurrent-ruby (~> 1.0)
|
130
151
|
websocket-driver (0.7.5)
|
131
152
|
websocket-extensions (>= 0.1.0)
|
132
153
|
websocket-extensions (0.1.5)
|
133
|
-
zeitwerk (2.
|
154
|
+
zeitwerk (2.6.7)
|
134
155
|
|
135
156
|
PLATFORMS
|
157
|
+
arm64-darwin
|
136
158
|
ruby
|
159
|
+
x86_64-darwin
|
160
|
+
x86_64-linux
|
137
161
|
|
138
162
|
DEPENDENCIES
|
139
163
|
log_sanity!
|
140
164
|
|
141
165
|
BUNDLED WITH
|
142
|
-
2.
|
166
|
+
2.3.26
|
data/LICENSE
CHANGED
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
|
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
|
-
|
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
|
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.
|
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
|
|
data/lib/log_sanity/railtie.rb
CHANGED
@@ -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.
|
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
|
-
|
55
|
-
|
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
|
data/lib/log_sanity/version.rb
CHANGED
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
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.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thomas morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-15 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.
|
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.
|
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.
|
126
|
+
rubygems_version: 3.3.26
|
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 )
|