sentry-sanitizer 0.8.0 → 0.8.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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/sentry/sanitizer/cleaner.rb +1 -1
- data/lib/sentry/sanitizer/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: 8e3ae07df2c33f9b3645f0373930e8f65e7e4f6a534de04f4c99b72ecf18d5fc
|
|
4
|
+
data.tar.gz: 134ed7f4cc8543c9adef837d496b9b4cd373559e2b7df2e4af050b26a82323a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99bcd59ea6868db8200f06f5bf4fa8024d3d4b1b39b2ea1c28571ea3acbffe34f1250c06ff2439c3a395325b07b98e83d45281e85c9150395f62a0528a33fd75
|
|
7
|
+
data.tar.gz: 15268636d41bbedaed9b45ef48b947ef27eb0c6d4243efa1530bf7dcbb77b292afab492d2da0e2b56711df30aa7aaabb93a1060e32a5511ec4c217fa2c3200a2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.1
|
|
4
|
+
|
|
5
|
+
- Fix breadcrumb data[:body] == nil handling [#20](https://github.com/mrexox/sentry-sanitizer/pull/20)
|
|
6
|
+
|
|
3
7
|
## 0.8.0
|
|
4
8
|
|
|
5
9
|
- Add `breadcrumbs.json_data_fields` configuration option [#18](https://github.com/mrexox/sentry-sanitizer/pull/18)
|
data/Gemfile.lock
CHANGED
|
@@ -64,12 +64,12 @@ module Sentry
|
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
def sanitize_breadcrumb!(breadcrumb)
|
|
67
|
-
return unless breadcrumbs_json_data_fields
|
|
68
67
|
return unless breadcrumbs_json_data_fields.size.positive?
|
|
69
68
|
return unless breadcrumb.data
|
|
70
69
|
|
|
71
70
|
breadcrumbs_json_data_fields.each do |field|
|
|
72
71
|
next unless breadcrumb.data.key?(field)
|
|
72
|
+
next if breadcrumb.data[field].nil?
|
|
73
73
|
|
|
74
74
|
json_data = JSON.parse(breadcrumb.data[field])
|
|
75
75
|
|