log_sanity 2.1.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 +4 -0
- data/Gemfile.lock +8 -8
- data/lib/log_sanity/middleware/request_logger.rb +6 -1
- 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: 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,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
log_sanity (2.1.
|
4
|
+
log_sanity (2.1.1)
|
5
5
|
rails (>= 7.1.2, < 7.2)
|
6
6
|
|
7
7
|
GEM
|
@@ -96,10 +96,10 @@ GEM
|
|
96
96
|
i18n (1.14.1)
|
97
97
|
concurrent-ruby (~> 1.0)
|
98
98
|
io-console (0.6.0)
|
99
|
-
irb (1.9.
|
99
|
+
irb (1.9.1)
|
100
100
|
rdoc
|
101
101
|
reline (>= 0.3.8)
|
102
|
-
loofah (2.
|
102
|
+
loofah (2.22.0)
|
103
103
|
crass (~> 1.0.2)
|
104
104
|
nokogiri (>= 1.12.0)
|
105
105
|
mail (2.8.1)
|
@@ -111,7 +111,7 @@ GEM
|
|
111
111
|
mini_mime (1.1.5)
|
112
112
|
minitest (5.20.0)
|
113
113
|
mutex_m (0.2.0)
|
114
|
-
net-imap (0.4.
|
114
|
+
net-imap (0.4.6)
|
115
115
|
date
|
116
116
|
net-protocol
|
117
117
|
net-pop (0.1.2)
|
@@ -120,12 +120,12 @@ GEM
|
|
120
120
|
timeout
|
121
121
|
net-smtp (0.4.0)
|
122
122
|
net-protocol
|
123
|
-
nio4r (2.
|
124
|
-
nokogiri (1.15.
|
123
|
+
nio4r (2.6.1)
|
124
|
+
nokogiri (1.15.5-arm64-darwin)
|
125
125
|
racc (~> 1.4)
|
126
|
-
nokogiri (1.15.
|
126
|
+
nokogiri (1.15.5-x86_64-darwin)
|
127
127
|
racc (~> 1.4)
|
128
|
-
nokogiri (1.15.
|
128
|
+
nokogiri (1.15.5-x86_64-linux)
|
129
129
|
racc (~> 1.4)
|
130
130
|
psych (5.1.1.1)
|
131
131
|
stringio
|
@@ -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/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: 2.1.
|
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-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|