sentry-sanitizer 0.10.1 → 0.10.2
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/README.md +2 -2
- data/lib/sentry/sanitizer/cleaner.rb +3 -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: e4b230cb2834f352d6ab8f0004fb4102203855c8a13177df9da84742314c566d
|
|
4
|
+
data.tar.gz: af4c8a31e8a80404d3134626005fc37a0db364dc82f18074da1f1b5b62973a5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4adc8db3eca4d2e2dcc849736e129b9a521d42336fad9808128fae2a87afd8923a7c5db505c26b21434cfdebfaec352d7e43a6a07d5ff516477ef196b8386254
|
|
7
|
+
data.tar.gz: d17e3f76516cd0bc1b6911a5a4adc9fdf5a1712f5f2cd5cc543812f0051e954c77603d5249627807f701d33d440aaae33e33cb83db3d14c5d047789e5ea8b883
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.2
|
|
4
|
+
|
|
5
|
+
- Fix span sanitizing with custom filter (ActiveSupport::ParameterFilter) [#28](https://github.com/mrexox/sentry-sanitizer/pull/28)
|
|
6
|
+
|
|
3
7
|
## 0.10.1
|
|
4
8
|
|
|
5
9
|
- Sanitize `Sentry::TransactionEvent#spans` [#27](https://github.com/mrexox/sentry-sanitizer/pull/27)
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Currently this gem provides following features
|
|
|
21
21
|
Add this line to your application's Gemfile:
|
|
22
22
|
|
|
23
23
|
```ruby
|
|
24
|
-
gem 'sentry-sanitizer', '~> 0.10.
|
|
24
|
+
gem 'sentry-sanitizer', '~> 0.10.2'
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then in the terminal:
|
|
@@ -50,7 +50,7 @@ Sentry.init do |config|
|
|
|
50
50
|
config.sanitize.fields = %w[password super_secret_token]
|
|
51
51
|
|
|
52
52
|
# Use custom filter (e.g. from activesupport).
|
|
53
|
-
# Must implement #filter(
|
|
53
|
+
# Must implement #filter(hash) and #filter_param(key, value)
|
|
54
54
|
# Don't set 'config.sanitize.fields' if using this.
|
|
55
55
|
config.sanitize.filter = ActiveSupport::ParameterFilter.new(
|
|
56
56
|
Rails.application.config.filter_parameters, mask: "[FILTERED]"
|