log_sanity 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/lib/log_sanity/log_subscribers/action_dispatch.rb +3 -2
- data/lib/log_sanity/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f1899030fcb64e19701a911f45edeb0db3c75e8a4059983e8e08ca7d9e47abd
|
|
4
|
+
data.tar.gz: 5aa14ac3ed2f490f9f26e6d84de451e71b3a07ec36597283f9098cfc03d143f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d62206dcd11f34c8c57459ffd853a2a4b5a4368e5e48030a34c846df7be696684da24025ece71ff8b689797873c0cdf647f108a1439ee5f7a3e41d1ebb1a2183
|
|
7
|
+
data.tar.gz: 12fb61d8bd50d1d3d8bb9837209a6f93ae40b697b64fc0210f2b4a112b163c211946117f9a4e5a2e0ef471175535e950cc558c554babb6c332731a67b2c0b51c
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
log_sanity (2.4.
|
|
4
|
+
log_sanity (2.4.1)
|
|
5
5
|
rails (>= 7.1.2, < 8.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -82,27 +82,27 @@ GEM
|
|
|
82
82
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
83
83
|
uri (>= 0.13.1)
|
|
84
84
|
base64 (0.3.0)
|
|
85
|
-
bigdecimal (
|
|
85
|
+
bigdecimal (4.0.0)
|
|
86
86
|
builder (3.3.0)
|
|
87
87
|
concurrent-ruby (1.3.6)
|
|
88
88
|
connection_pool (3.0.2)
|
|
89
89
|
crass (1.0.6)
|
|
90
90
|
date (3.5.1)
|
|
91
91
|
drb (2.2.3)
|
|
92
|
-
erb (6.0.
|
|
92
|
+
erb (6.0.1)
|
|
93
93
|
erubi (1.13.1)
|
|
94
94
|
globalid (1.3.0)
|
|
95
95
|
activesupport (>= 6.1)
|
|
96
96
|
i18n (1.14.7)
|
|
97
97
|
concurrent-ruby (~> 1.0)
|
|
98
|
-
io-console (0.8.
|
|
98
|
+
io-console (0.8.2)
|
|
99
99
|
irb (1.15.3)
|
|
100
100
|
pp (>= 0.6.0)
|
|
101
101
|
rdoc (>= 4.0.0)
|
|
102
102
|
reline (>= 0.4.2)
|
|
103
103
|
json (2.18.0)
|
|
104
104
|
logger (1.7.0)
|
|
105
|
-
loofah (2.
|
|
105
|
+
loofah (2.25.0)
|
|
106
106
|
crass (~> 1.0.2)
|
|
107
107
|
nokogiri (>= 1.12.0)
|
|
108
108
|
mail (2.9.0)
|
|
@@ -114,7 +114,7 @@ GEM
|
|
|
114
114
|
marcel (1.1.0)
|
|
115
115
|
mini_mime (1.1.5)
|
|
116
116
|
minitest (5.27.0)
|
|
117
|
-
net-imap (0.
|
|
117
|
+
net-imap (0.6.0)
|
|
118
118
|
date
|
|
119
119
|
net-protocol
|
|
120
120
|
net-pop (0.1.2)
|
|
@@ -197,7 +197,7 @@ GEM
|
|
|
197
197
|
base64
|
|
198
198
|
websocket-extensions (>= 0.1.0)
|
|
199
199
|
websocket-extensions (0.1.5)
|
|
200
|
-
zeitwerk (2.7.
|
|
200
|
+
zeitwerk (2.7.4)
|
|
201
201
|
|
|
202
202
|
PLATFORMS
|
|
203
203
|
aarch64-linux
|
|
@@ -27,8 +27,9 @@ module LogSanity
|
|
|
27
27
|
f2['path'] = request.filtered_env['action_dispatch.original_path']
|
|
28
28
|
f2['path'] ||= request.path
|
|
29
29
|
end
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
unless fields['params']
|
|
31
|
+
fp = request.filtered_parameters rescue {parse_error: "#{$!.class}: #{$!.message.truncate(100)}"}
|
|
32
|
+
f2['params'] = fp if fp.present?
|
|
32
33
|
end
|
|
33
34
|
end
|
|
34
35
|
|
data/lib/log_sanity/version.rb
CHANGED