sentry-sanitizer 0.2.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/Gemfile.lock +7 -16
- data/lib/sentry/sanitizer/configuration_mixin.rb +2 -2
- data/lib/sentry/sanitizer/version.rb +1 -1
- data/sentry-sanitizer.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb6c212971a72b8442ab45d9a20b59329e9f96f8c08225659158b6a06c879b59
|
4
|
+
data.tar.gz: 2c84a79a9f0f2935b52261deef3ab6440e98a1885441c9d5fbb935a50c29574c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c818383927f7313cacfd3df2b747e5e30949f7821fe4c8268234b65dd73d562792bbbddef7290f8c831bddf9049808d64d13524a003563c6b65b929688c7b259
|
7
|
+
data.tar.gz: a41a5b9bc70822f4fbec12ad4de89c7e7b0bfaca5a048f4feb30a3538093a5a9883552dcae2efa3169da60afe8b5eae8066d450247acb143485f323315a62cf9
|
data/CHANGELOG.md
CHANGED
@@ -2,5 +2,16 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 0.5.0
|
6
|
+
|
7
|
+
- Bump `sentry-ruby` till the latest version
|
8
|
+
|
9
|
+
## 0.4.0
|
10
|
+
|
11
|
+
- Support `nil` instead of `false` in `before_send=` setting
|
12
|
+
|
13
|
+
## 0.3.0
|
14
|
+
- Update compatibility with sentry-rails 4.3 releases [#3](https://github.com/mrexox/sentry-sanitizer/pull/3)
|
15
|
+
|
5
16
|
## 0.2.1
|
6
|
-
- Rework header cleaning to adhere to documentation in readme and not crash without configuration [#1](https://github.com/mrexox/sentry-sanitizer/pull/1)
|
17
|
+
- Rework header cleaning to adhere to documentation in readme and not crash without configuration [#1](https://github.com/mrexox/sentry-sanitizer/pull/1)
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,17 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sentry-sanitizer (0.
|
5
|
-
sentry-ruby (~>
|
4
|
+
sentry-sanitizer (0.5.0)
|
5
|
+
sentry-ruby (~> 5.3.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
codecov (0.4.3)
|
11
11
|
simplecov (>= 0.15, < 0.22)
|
12
|
-
concurrent-ruby (1.1.
|
12
|
+
concurrent-ruby (1.1.10)
|
13
13
|
diff-lcs (1.4.4)
|
14
14
|
docile (1.3.5)
|
15
|
-
faraday (1.3.0)
|
16
|
-
faraday-net_http (~> 1.0)
|
17
|
-
multipart-post (>= 1.2, < 3)
|
18
|
-
ruby2_keywords
|
19
|
-
faraday-net_http (1.0.1)
|
20
|
-
multipart-post (2.1.1)
|
21
15
|
rack (2.2.3)
|
22
16
|
rake (10.5.0)
|
23
17
|
rspec (3.10.0)
|
@@ -33,14 +27,11 @@ GEM
|
|
33
27
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
28
|
rspec-support (~> 3.10.0)
|
35
29
|
rspec-support (3.10.2)
|
36
|
-
|
37
|
-
sentry-ruby (4.2.0)
|
30
|
+
sentry-ruby (5.3.1)
|
38
31
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
39
|
-
|
40
|
-
|
41
|
-
sentry-ruby-core (4.2.0)
|
32
|
+
sentry-ruby-core (= 5.3.1)
|
33
|
+
sentry-ruby-core (5.3.1)
|
42
34
|
concurrent-ruby
|
43
|
-
faraday
|
44
35
|
simplecov (0.18.5)
|
45
36
|
docile (~> 1.1)
|
46
37
|
simplecov-html (~> 0.11)
|
@@ -59,4 +50,4 @@ DEPENDENCIES
|
|
59
50
|
simplecov (~> 0.18.5)
|
60
51
|
|
61
52
|
BUNDLED WITH
|
62
|
-
2.
|
53
|
+
2.2.14
|
@@ -3,11 +3,11 @@ module Sentry
|
|
3
3
|
module ConfigurationMixin
|
4
4
|
# Allow adding multiple hooks for this extension
|
5
5
|
def before_send=(value)
|
6
|
-
unless value ==
|
6
|
+
unless value == nil || value.respond_to?(:call)
|
7
7
|
raise ArgumentError, "before_send must be callable (or false to disable)"
|
8
8
|
end
|
9
9
|
|
10
|
-
return
|
10
|
+
return if value == nil
|
11
11
|
|
12
12
|
@before_send_hook_list ||= []
|
13
13
|
@before_send_hook_list << value
|
data/sentry-sanitizer.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-sanitizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentine Kiselev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: codecov
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 5.3.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 5.3.0
|
111
111
|
description: Add missing sanitizing support for sentry-ruby (previous sentry-raven)
|
112
112
|
email:
|
113
113
|
- mrexox@outlook.com
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
|
-
rubygems_version: 3.1.
|
159
|
+
rubygems_version: 3.1.6
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Sanitizing middleware for sentry-ruby gem
|