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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fefbc5ff00cc5187c607a0cb5521821be7e73ff8cba488a55e604b77f817715
4
- data.tar.gz: 64ac53ae8c117cc57009c791f7c0b4c9050658ce52581a95fda611ca2221d14a
3
+ metadata.gz: 0f1899030fcb64e19701a911f45edeb0db3c75e8a4059983e8e08ca7d9e47abd
4
+ data.tar.gz: 5aa14ac3ed2f490f9f26e6d84de451e71b3a07ec36597283f9098cfc03d143f7
5
5
  SHA512:
6
- metadata.gz: d9b8f8b0be6ae1698b6072b17a74c68955b2d4b3a00c70339d8c156a02cd5fbf5750e70b185b5b373f89fcea57fcb518375044cabe3df531f99f4d83a8fe67bd
7
- data.tar.gz: bfe35936492b4ba9e3faf035ce6cf6740834edb704cfdfadb914c56bf8a9ba25d647a9aa6a9a74771565d3aac16f83f64499db8cbd3d0c3c57997f96c87e082e
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.0)
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 (3.3.1)
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.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.1)
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.24.1)
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.5.12)
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.3)
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
- if !fields['params'] && p2 = request.filtered_parameters.presence
31
- f2['params'] = p2
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
 
@@ -1,3 +1,3 @@
1
1
  module LogSanity
2
- VERSION = '2.4.0'
2
+ VERSION = '2.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_sanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan