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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 001d2ffb5bebe39d7f349f992f426cb53a08422b59b0a9d916477c0800d35d75
4
- data.tar.gz: 48841d0763734c89c155737b07f1f774b3405aeb121ca2773b9f7dd384b1d9d8
3
+ metadata.gz: f5e72465155d2d2f7cfca7b160dfced31c2c85543670e7b863fae6cd73c6d0a7
4
+ data.tar.gz: 0fd2e9911a2a89ff07be1dd899cbf02e000ac277c81bc55f8f09ddab3d3ac5fe
5
5
  SHA512:
6
- metadata.gz: 9bfb1c9f69345cfaee791e3802e2bc52845244d06b58b4b64b6b43529608cbe60dfc42fb51ad8ca6a1cdb888e6ed091ff4d13602035450a1fcb338f3f02fa973
7
- data.tar.gz: 8d3a339ee6a5fc3da5eda0a35012c2bf00f8f6cc8e304fcdadac5f17eecd7bf742cdee4ab9540077564362c1b861b46bd7ddc623e374522789612b935f2d94ec
6
+ metadata.gz: 32d5b51b6426f5ee5fd808e5cf2c2483170d16128e211091f8040a34364a7f0a6b049ed2d65c96c555ece5825332327e4af6eb5818e94a71f244a85c57af2c41
7
+ data.tar.gz: 1ba0f966fb062fdf220751af4af907db6a323f3b982051e62ec7b599e3e9f4c95a51003853cee0afcdb8b1b14bacc78861642c4deb8a0a75938e4380fa11cd6a
@@ -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
- ## (not released)
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.3.0)
5
- sentry-ruby (~> 4.3.0)
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.4.3)
10
+ codecov (0.6.0)
11
11
  simplecov (>= 0.15, < 0.22)
12
12
  concurrent-ruby (1.1.10)
13
- diff-lcs (1.4.4)
14
- docile (1.3.5)
15
- faraday (2.3.0)
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.10.0)
22
- rspec-core (~> 3.10.0)
23
- rspec-expectations (~> 3.10.0)
24
- rspec-mocks (~> 3.10.0)
25
- rspec-core (3.10.1)
26
- rspec-support (~> 3.10.0)
27
- rspec-expectations (3.10.1)
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.10.0)
30
- rspec-mocks (3.10.2)
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.10.0)
33
- rspec-support (3.10.2)
34
- ruby2_keywords (0.0.5)
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.2.14
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 == false || value.respond_to?(:call)
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 value if value == false
10
+ return if value == nil
11
11
 
12
12
  @before_send_hook_list ||= []
13
13
  @before_send_hook_list << value
@@ -1,5 +1,5 @@
1
1
  module Sentry
2
2
  module Sanitizer
3
- VERSION = '0.3.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
@@ -36,5 +36,5 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency 'rspec', '~> 3.0'
37
37
  spec.add_development_dependency 'rack'
38
38
 
39
- spec.add_runtime_dependency 'sentry-ruby', '~> 4.3.0'
39
+ spec.add_runtime_dependency 'sentry-ruby', '~> 5.3'
40
40
  end
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.3.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-06-25 00:00:00.000000000 Z
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: 4.3.0
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: 4.3.0
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.6
159
+ rubygems_version: 3.1.2
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Sanitizing middleware for sentry-ruby gem