log_sanity 2.0.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +76 -75
- data/lib/log_sanity/middleware/request_logger.rb +6 -1
- data/lib/log_sanity/railtie.rb +0 -1
- data/lib/log_sanity/version.rb +1 -1
- data/lib/log_sanity.rb +0 -1
- data/log_sanity.gemspec +1 -1
- metadata +4 -5
- data/lib/log_sanity/extensions/broadcast_logger.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aad47580de71bc5f808b70557881ed7134404f150e8b8c7893f33c3ef660327
|
4
|
+
data.tar.gz: 3cba5122b91fa6163d3d9e5e8b6cb537a577136e670ace442c30297a8ddd8a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1112c2fdc532170c33d4288806f369f077ccc1f627345bbdb5d593a051480cd5417d875c475c545096261ec095e3d1c89ab9fe25174c1ae02c9f94e1f0f96d27
|
7
|
+
data.tar.gz: f653ecf13c53ed5b8a5a3a44af7353461488a6bc6c5cac9060fcc692d5c0ceb9528b1547054dfa8285e91f369bce1281e081cc6a0961cc45a36fa33773d9cec2
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,76 +1,77 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
log_sanity (2.
|
5
|
-
rails (>= 7.1, < 7.2)
|
4
|
+
log_sanity (2.1.1)
|
5
|
+
rails (>= 7.1.2, < 7.2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (7.1.
|
11
|
-
actionpack (= 7.1.
|
12
|
-
activesupport (= 7.1.
|
10
|
+
actioncable (7.1.2)
|
11
|
+
actionpack (= 7.1.2)
|
12
|
+
activesupport (= 7.1.2)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
15
|
zeitwerk (~> 2.6)
|
16
|
-
actionmailbox (7.1.
|
17
|
-
actionpack (= 7.1.
|
18
|
-
activejob (= 7.1.
|
19
|
-
activerecord (= 7.1.
|
20
|
-
activestorage (= 7.1.
|
21
|
-
activesupport (= 7.1.
|
16
|
+
actionmailbox (7.1.2)
|
17
|
+
actionpack (= 7.1.2)
|
18
|
+
activejob (= 7.1.2)
|
19
|
+
activerecord (= 7.1.2)
|
20
|
+
activestorage (= 7.1.2)
|
21
|
+
activesupport (= 7.1.2)
|
22
22
|
mail (>= 2.7.1)
|
23
23
|
net-imap
|
24
24
|
net-pop
|
25
25
|
net-smtp
|
26
|
-
actionmailer (7.1.
|
27
|
-
actionpack (= 7.1.
|
28
|
-
actionview (= 7.1.
|
29
|
-
activejob (= 7.1.
|
30
|
-
activesupport (= 7.1.
|
26
|
+
actionmailer (7.1.2)
|
27
|
+
actionpack (= 7.1.2)
|
28
|
+
actionview (= 7.1.2)
|
29
|
+
activejob (= 7.1.2)
|
30
|
+
activesupport (= 7.1.2)
|
31
31
|
mail (~> 2.5, >= 2.5.4)
|
32
32
|
net-imap
|
33
33
|
net-pop
|
34
34
|
net-smtp
|
35
35
|
rails-dom-testing (~> 2.2)
|
36
|
-
actionpack (7.1.
|
37
|
-
actionview (= 7.1.
|
38
|
-
activesupport (= 7.1.
|
36
|
+
actionpack (7.1.2)
|
37
|
+
actionview (= 7.1.2)
|
38
|
+
activesupport (= 7.1.2)
|
39
39
|
nokogiri (>= 1.8.5)
|
40
|
+
racc
|
40
41
|
rack (>= 2.2.4)
|
41
42
|
rack-session (>= 1.0.1)
|
42
43
|
rack-test (>= 0.6.3)
|
43
44
|
rails-dom-testing (~> 2.2)
|
44
45
|
rails-html-sanitizer (~> 1.6)
|
45
|
-
actiontext (7.1.
|
46
|
-
actionpack (= 7.1.
|
47
|
-
activerecord (= 7.1.
|
48
|
-
activestorage (= 7.1.
|
49
|
-
activesupport (= 7.1.
|
46
|
+
actiontext (7.1.2)
|
47
|
+
actionpack (= 7.1.2)
|
48
|
+
activerecord (= 7.1.2)
|
49
|
+
activestorage (= 7.1.2)
|
50
|
+
activesupport (= 7.1.2)
|
50
51
|
globalid (>= 0.6.0)
|
51
52
|
nokogiri (>= 1.8.5)
|
52
|
-
actionview (7.1.
|
53
|
-
activesupport (= 7.1.
|
53
|
+
actionview (7.1.2)
|
54
|
+
activesupport (= 7.1.2)
|
54
55
|
builder (~> 3.1)
|
55
56
|
erubi (~> 1.11)
|
56
57
|
rails-dom-testing (~> 2.2)
|
57
58
|
rails-html-sanitizer (~> 1.6)
|
58
|
-
activejob (7.1.
|
59
|
-
activesupport (= 7.1.
|
59
|
+
activejob (7.1.2)
|
60
|
+
activesupport (= 7.1.2)
|
60
61
|
globalid (>= 0.3.6)
|
61
|
-
activemodel (7.1.
|
62
|
-
activesupport (= 7.1.
|
63
|
-
activerecord (7.1.
|
64
|
-
activemodel (= 7.1.
|
65
|
-
activesupport (= 7.1.
|
62
|
+
activemodel (7.1.2)
|
63
|
+
activesupport (= 7.1.2)
|
64
|
+
activerecord (7.1.2)
|
65
|
+
activemodel (= 7.1.2)
|
66
|
+
activesupport (= 7.1.2)
|
66
67
|
timeout (>= 0.4.0)
|
67
|
-
activestorage (7.1.
|
68
|
-
actionpack (= 7.1.
|
69
|
-
activejob (= 7.1.
|
70
|
-
activerecord (= 7.1.
|
71
|
-
activesupport (= 7.1.
|
68
|
+
activestorage (7.1.2)
|
69
|
+
actionpack (= 7.1.2)
|
70
|
+
activejob (= 7.1.2)
|
71
|
+
activerecord (= 7.1.2)
|
72
|
+
activesupport (= 7.1.2)
|
72
73
|
marcel (~> 1.0)
|
73
|
-
activesupport (7.1.
|
74
|
+
activesupport (7.1.2)
|
74
75
|
base64
|
75
76
|
bigdecimal
|
76
77
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -80,14 +81,14 @@ GEM
|
|
80
81
|
minitest (>= 5.1)
|
81
82
|
mutex_m
|
82
83
|
tzinfo (~> 2.0)
|
83
|
-
base64 (0.
|
84
|
+
base64 (0.2.0)
|
84
85
|
bigdecimal (3.1.4)
|
85
86
|
builder (3.2.4)
|
86
87
|
concurrent-ruby (1.2.2)
|
87
88
|
connection_pool (2.4.1)
|
88
89
|
crass (1.0.6)
|
89
|
-
date (3.3.
|
90
|
-
drb (2.
|
90
|
+
date (3.3.4)
|
91
|
+
drb (2.2.0)
|
91
92
|
ruby2_keywords
|
92
93
|
erubi (1.12.0)
|
93
94
|
globalid (1.2.1)
|
@@ -95,10 +96,10 @@ GEM
|
|
95
96
|
i18n (1.14.1)
|
96
97
|
concurrent-ruby (~> 1.0)
|
97
98
|
io-console (0.6.0)
|
98
|
-
irb (1.
|
99
|
+
irb (1.9.1)
|
99
100
|
rdoc
|
100
101
|
reline (>= 0.3.8)
|
101
|
-
loofah (2.
|
102
|
+
loofah (2.22.0)
|
102
103
|
crass (~> 1.0.2)
|
103
104
|
nokogiri (>= 1.12.0)
|
104
105
|
mail (2.8.1)
|
@@ -109,26 +110,26 @@ GEM
|
|
109
110
|
marcel (1.0.2)
|
110
111
|
mini_mime (1.1.5)
|
111
112
|
minitest (5.20.0)
|
112
|
-
mutex_m (0.
|
113
|
-
net-imap (0.4.
|
113
|
+
mutex_m (0.2.0)
|
114
|
+
net-imap (0.4.6)
|
114
115
|
date
|
115
116
|
net-protocol
|
116
117
|
net-pop (0.1.2)
|
117
118
|
net-protocol
|
118
|
-
net-protocol (0.2.
|
119
|
+
net-protocol (0.2.2)
|
119
120
|
timeout
|
120
121
|
net-smtp (0.4.0)
|
121
122
|
net-protocol
|
122
|
-
nio4r (2.
|
123
|
-
nokogiri (1.15.
|
123
|
+
nio4r (2.6.1)
|
124
|
+
nokogiri (1.15.5-arm64-darwin)
|
124
125
|
racc (~> 1.4)
|
125
|
-
nokogiri (1.15.
|
126
|
+
nokogiri (1.15.5-x86_64-darwin)
|
126
127
|
racc (~> 1.4)
|
127
|
-
nokogiri (1.15.
|
128
|
+
nokogiri (1.15.5-x86_64-linux)
|
128
129
|
racc (~> 1.4)
|
129
|
-
psych (5.1.
|
130
|
+
psych (5.1.1.1)
|
130
131
|
stringio
|
131
|
-
racc (1.7.
|
132
|
+
racc (1.7.3)
|
132
133
|
rack (3.0.8)
|
133
134
|
rack-session (2.0.0)
|
134
135
|
rack (>= 3.0.0)
|
@@ -137,20 +138,20 @@ GEM
|
|
137
138
|
rackup (2.1.0)
|
138
139
|
rack (>= 3)
|
139
140
|
webrick (~> 1.8)
|
140
|
-
rails (7.1.
|
141
|
-
actioncable (= 7.1.
|
142
|
-
actionmailbox (= 7.1.
|
143
|
-
actionmailer (= 7.1.
|
144
|
-
actionpack (= 7.1.
|
145
|
-
actiontext (= 7.1.
|
146
|
-
actionview (= 7.1.
|
147
|
-
activejob (= 7.1.
|
148
|
-
activemodel (= 7.1.
|
149
|
-
activerecord (= 7.1.
|
150
|
-
activestorage (= 7.1.
|
151
|
-
activesupport (= 7.1.
|
141
|
+
rails (7.1.2)
|
142
|
+
actioncable (= 7.1.2)
|
143
|
+
actionmailbox (= 7.1.2)
|
144
|
+
actionmailer (= 7.1.2)
|
145
|
+
actionpack (= 7.1.2)
|
146
|
+
actiontext (= 7.1.2)
|
147
|
+
actionview (= 7.1.2)
|
148
|
+
activejob (= 7.1.2)
|
149
|
+
activemodel (= 7.1.2)
|
150
|
+
activerecord (= 7.1.2)
|
151
|
+
activestorage (= 7.1.2)
|
152
|
+
activesupport (= 7.1.2)
|
152
153
|
bundler (>= 1.15.0)
|
153
|
-
railties (= 7.1.
|
154
|
+
railties (= 7.1.2)
|
154
155
|
rails-dom-testing (2.2.0)
|
155
156
|
activesupport (>= 5.0.0)
|
156
157
|
minitest
|
@@ -158,23 +159,23 @@ GEM
|
|
158
159
|
rails-html-sanitizer (1.6.0)
|
159
160
|
loofah (~> 2.21)
|
160
161
|
nokogiri (~> 1.14)
|
161
|
-
railties (7.1.
|
162
|
-
actionpack (= 7.1.
|
163
|
-
activesupport (= 7.1.
|
162
|
+
railties (7.1.2)
|
163
|
+
actionpack (= 7.1.2)
|
164
|
+
activesupport (= 7.1.2)
|
164
165
|
irb
|
165
166
|
rackup (>= 1.0.0)
|
166
167
|
rake (>= 12.2)
|
167
168
|
thor (~> 1.0, >= 1.2.2)
|
168
169
|
zeitwerk (~> 2.6)
|
169
|
-
rake (13.0
|
170
|
-
rdoc (6.
|
170
|
+
rake (13.1.0)
|
171
|
+
rdoc (6.6.0)
|
171
172
|
psych (>= 4.0.0)
|
172
|
-
reline (0.
|
173
|
+
reline (0.4.0)
|
173
174
|
io-console (~> 0.5)
|
174
175
|
ruby2_keywords (0.0.5)
|
175
|
-
stringio (3.0.
|
176
|
-
thor (1.
|
177
|
-
timeout (0.4.
|
176
|
+
stringio (3.0.9)
|
177
|
+
thor (1.3.0)
|
178
|
+
timeout (0.4.1)
|
178
179
|
tzinfo (2.0.6)
|
179
180
|
concurrent-ruby (~> 1.0)
|
180
181
|
webrick (1.8.1)
|
@@ -9,7 +9,12 @@ module LogSanity
|
|
9
9
|
request = ActionDispatch::Request.new(env)
|
10
10
|
|
11
11
|
conditionally_silence(request) do |silence|
|
12
|
-
payload = {
|
12
|
+
payload = {
|
13
|
+
env: env,
|
14
|
+
method: (request.request_method rescue 'INVALID'),
|
15
|
+
request: request,
|
16
|
+
silence: silence
|
17
|
+
}
|
13
18
|
handle = start(payload)
|
14
19
|
begin
|
15
20
|
status, headers, body = response = @app.call(env)
|
data/lib/log_sanity/railtie.rb
CHANGED
data/lib/log_sanity/version.rb
CHANGED
data/lib/log_sanity.rb
CHANGED
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: 2.
|
4
|
+
version: 2.1.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: 2023-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.1.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '7.2'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 7.1.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '7.2'
|
@@ -48,7 +48,6 @@ files:
|
|
48
48
|
- lib/log_sanity.rb
|
49
49
|
- lib/log_sanity/extensions/action_cable_connection.rb
|
50
50
|
- lib/log_sanity/extensions/action_controller_helper.rb
|
51
|
-
- lib/log_sanity/extensions/broadcast_logger.rb
|
52
51
|
- lib/log_sanity/formatter.rb
|
53
52
|
- lib/log_sanity/log_subscribers/action_cable.rb
|
54
53
|
- lib/log_sanity/log_subscribers/action_controller.rb
|