sentry-sanitizer 0.3.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -2
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +19 -29
- 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: f5e72465155d2d2f7cfca7b160dfced31c2c85543670e7b863fae6cd73c6d0a7
|
4
|
+
data.tar.gz: 0fd2e9911a2a89ff07be1dd899cbf02e000ac277c81bc55f8f09ddab3d3ac5fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d5b51b6426f5ee5fd808e5cf2c2483170d16128e211091f8040a34364a7f0a6b049ed2d65c96c555ece5825332327e4af6eb5818e94a71f244a85c57af2c41
|
7
|
+
data.tar.gz: 1ba0f966fb062fdf220751af4af907db6a323f3b982051e62ec7b599e3e9f4c95a51003853cee0afcdb8b1b14bacc78861642c4deb8a0a75938e4380fa11cd6a
|
data/.github/workflows/ci.yml
CHANGED
@@ -12,11 +12,10 @@ jobs:
|
|
12
12
|
strategy:
|
13
13
|
matrix:
|
14
14
|
include:
|
15
|
-
- { ruby_version: 2.4 }
|
16
15
|
- { ruby_version: 2.5 }
|
17
|
-
- { ruby_version: 2.4 }
|
18
16
|
- { ruby_version: 2.7 }
|
19
17
|
- { ruby_version: 3.0 }
|
18
|
+
- { ruby_version: 3.1 }
|
20
19
|
- { ruby_version: jruby }
|
21
20
|
steps:
|
22
21
|
- uses: actions/checkout@v1
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,15 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
-
##
|
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
|
6
14
|
- Update compatibility with sentry-rails 4.3 releases [#3](https://github.com/mrexox/sentry-sanitizer/pull/3)
|
7
15
|
|
8
16
|
## 0.2.1
|
data/Gemfile.lock
CHANGED
@@ -1,44 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sentry-sanitizer (0.
|
5
|
-
sentry-ruby (~>
|
4
|
+
sentry-sanitizer (0.5.1)
|
5
|
+
sentry-ruby (~> 5.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
codecov (0.
|
10
|
+
codecov (0.6.0)
|
11
11
|
simplecov (>= 0.15, < 0.22)
|
12
12
|
concurrent-ruby (1.1.10)
|
13
|
-
diff-lcs (1.
|
14
|
-
docile (1.
|
15
|
-
|
16
|
-
faraday-net_http (~> 2.0)
|
17
|
-
ruby2_keywords (>= 0.0.4)
|
18
|
-
faraday-net_http (2.0.3)
|
19
|
-
rack (2.2.3)
|
13
|
+
diff-lcs (1.5.0)
|
14
|
+
docile (1.4.0)
|
15
|
+
rack (2.2.3.1)
|
20
16
|
rake (10.5.0)
|
21
|
-
rspec (3.
|
22
|
-
rspec-core (~> 3.
|
23
|
-
rspec-expectations (~> 3.
|
24
|
-
rspec-mocks (~> 3.
|
25
|
-
rspec-core (3.
|
26
|
-
rspec-support (~> 3.
|
27
|
-
rspec-expectations (3.
|
17
|
+
rspec (3.11.0)
|
18
|
+
rspec-core (~> 3.11.0)
|
19
|
+
rspec-expectations (~> 3.11.0)
|
20
|
+
rspec-mocks (~> 3.11.0)
|
21
|
+
rspec-core (3.11.0)
|
22
|
+
rspec-support (~> 3.11.0)
|
23
|
+
rspec-expectations (3.11.0)
|
28
24
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
-
rspec-support (~> 3.
|
30
|
-
rspec-mocks (3.
|
25
|
+
rspec-support (~> 3.11.0)
|
26
|
+
rspec-mocks (3.11.1)
|
31
27
|
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
-
rspec-support (~> 3.
|
33
|
-
rspec-support (3.
|
34
|
-
|
35
|
-
sentry-ruby (4.3.2)
|
28
|
+
rspec-support (~> 3.11.0)
|
29
|
+
rspec-support (3.11.0)
|
30
|
+
sentry-ruby (5.4.1)
|
36
31
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
37
|
-
faraday (>= 1.0)
|
38
|
-
sentry-ruby-core (= 4.3.2)
|
39
|
-
sentry-ruby-core (4.3.2)
|
40
|
-
concurrent-ruby
|
41
|
-
faraday
|
42
32
|
simplecov (0.18.5)
|
43
33
|
docile (~> 1.1)
|
44
34
|
simplecov-html (~> 0.11)
|
@@ -57,4 +47,4 @@ DEPENDENCIES
|
|
57
47
|
simplecov (~> 0.18.5)
|
58
48
|
|
59
49
|
BUNDLED WITH
|
60
|
-
2.
|
50
|
+
2.3.16
|
@@ -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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valentine Kiselev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-08 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'
|
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'
|
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.2
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: Sanitizing middleware for sentry-ruby gem
|