sentry-sanitizer 0.3.0 → 0.4.0

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: 16cde722dcf8631c3a3df7df204288c7c018ec9e4fad8fbb970704a9605f2cc3
4
+ data.tar.gz: 18d86b32e0acc2d877ca9173e1b4ed132fcdd6af10c20c202bd9f3628bbc3aff
5
5
  SHA512:
6
- metadata.gz: 9bfb1c9f69345cfaee791e3802e2bc52845244d06b58b4b64b6b43529608cbe60dfc42fb51ad8ca6a1cdb888e6ed091ff4d13602035450a1fcb338f3f02fa973
7
- data.tar.gz: 8d3a339ee6a5fc3da5eda0a35012c2bf00f8f6cc8e304fcdadac5f17eecd7bf742cdee4ab9540077564362c1b861b46bd7ddc623e374522789612b935f2d94ec
6
+ metadata.gz: f39e8a4a5b753d2a7e1191d16943e2d4f7aa0901280b91a17dd669dea2d7926bb1df654f7706d03db157d5e89ab7ad0723ed0940fb5ac3ab4688a928b7c2c376
7
+ data.tar.gz: 11abf30d58c883e1a1830109db2dc8b70def5d4fdbb49920378f8ebcf526365095fe302b317d5eae636ad72ba41b9c54d4c2235008bdbf06fedbcf67dcc4c1fc
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sentry-sanitizer (0.3.0)
5
- sentry-ruby (~> 4.3.0)
4
+ sentry-sanitizer (1.0.0)
5
+ sentry-ruby (~> 4.8.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,10 +12,30 @@ GEM
12
12
  concurrent-ruby (1.1.10)
13
13
  diff-lcs (1.4.4)
14
14
  docile (1.3.5)
15
- faraday (2.3.0)
16
- faraday-net_http (~> 2.0)
15
+ faraday (1.10.0)
16
+ faraday-em_http (~> 1.0)
17
+ faraday-em_synchrony (~> 1.0)
18
+ faraday-excon (~> 1.1)
19
+ faraday-httpclient (~> 1.0)
20
+ faraday-multipart (~> 1.0)
21
+ faraday-net_http (~> 1.0)
22
+ faraday-net_http_persistent (~> 1.0)
23
+ faraday-patron (~> 1.0)
24
+ faraday-rack (~> 1.0)
25
+ faraday-retry (~> 1.0)
17
26
  ruby2_keywords (>= 0.0.4)
18
- faraday-net_http (2.0.3)
27
+ faraday-em_http (1.0.0)
28
+ faraday-em_synchrony (1.0.0)
29
+ faraday-excon (1.1.0)
30
+ faraday-httpclient (1.0.1)
31
+ faraday-multipart (1.0.4)
32
+ multipart-post (~> 2)
33
+ faraday-net_http (1.0.1)
34
+ faraday-net_http_persistent (1.2.0)
35
+ faraday-patron (1.0.0)
36
+ faraday-rack (1.0.0)
37
+ faraday-retry (1.0.3)
38
+ multipart-post (2.2.3)
19
39
  rack (2.2.3)
20
40
  rake (10.5.0)
21
41
  rspec (3.10.0)
@@ -32,11 +52,11 @@ GEM
32
52
  rspec-support (~> 3.10.0)
33
53
  rspec-support (3.10.2)
34
54
  ruby2_keywords (0.0.5)
35
- sentry-ruby (4.3.2)
55
+ sentry-ruby (4.8.3)
36
56
  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)
57
+ faraday (~> 1.0)
58
+ sentry-ruby-core (= 4.8.3)
59
+ sentry-ruby-core (4.8.3)
40
60
  concurrent-ruby
41
61
  faraday
42
62
  simplecov (0.18.5)
@@ -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.4.0'
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', '~> 4.8.0'
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.4.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: 2022-06-25 00:00:00.000000000 Z
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: 4.3.0
103
+ version: 4.8.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: 4.3.0
110
+ version: 4.8.0
111
111
  description: Add missing sanitizing support for sentry-ruby (previous sentry-raven)
112
112
  email:
113
113
  - mrexox@outlook.com