sentry-sidekiq 5.2.0 → 5.3.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: 81e9e7ce2753b10fcc2b82e21b79571f88cdc657fe7ce81a897c9a12429cbf82
4
- data.tar.gz: 0f5ff0cef41e5d513ac8d09c467fac51f6fa17364174b411b29d53b2cae65b8e
3
+ metadata.gz: e8732abbcde88b2a9399b0c4b81b1dda8837fb688b3de5c08138e53660c7d41c
4
+ data.tar.gz: 1e3a534cd890ad29e3cfe92696cd60fee88f1dd618b1c3e35a348c8c9e34e1c9
5
5
  SHA512:
6
- metadata.gz: e1be3fe293ef3e3abb38950e2b15045750c891a68182359bdde64af8a8427f4cfba503659acaf49e2fe43bda8eb8482fabb7f6b09cc42b0339b723d58bc14286
7
- data.tar.gz: '091d9326bbaeabc5a07b099d1442a33afa3b06771dae4c79c7251ad6a2f346f8c095d1dfb680b5be354d4730e6697459ce6124c1db68d5f9d39f7ea0b40fbcbd'
6
+ metadata.gz: 0cdbbcb530b5e91e37d85072ba2510788ea522211d81521f07f60664656e3427df07357084d346b3cbc1721ceb27438b6236173750e9b6e8ee908759779483bf
7
+ data.tar.gz: 80f966439ea52e3d869f2a40d914ceb63028216b6ede3c9e84735c8052a42773c47c4da58eb061d1dfb3932aa70ec7cf07c46ef7a04182639cba729309d7d4ac
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source "https://rubygems.org"
2
+ git_source(:github) { |name| "https://github.com/#{name}.git" }
2
3
 
3
4
  # Specify your gem's dependencies in sentry-ruby.gemspec
4
5
  gemspec
@@ -4,10 +4,13 @@ module Sentry
4
4
 
5
5
  add_post_initialization_callback do
6
6
  @sidekiq = Sentry::Sidekiq::Configuration.new
7
+ @excluded_exceptions = @excluded_exceptions.concat(Sentry::Sidekiq::IGNORE_DEFAULT)
7
8
  end
8
9
  end
9
10
 
10
11
  module Sidekiq
12
+ IGNORE_DEFAULT = ["Sidekiq::JobRetry::Skip"]
13
+
11
14
  class Configuration
12
15
  # Set this option to true if you want Sentry to only capture the last job
13
16
  # retry if it fails.
@@ -1,5 +1,5 @@
1
1
  module Sentry
2
2
  module Sidekiq
3
- VERSION = "5.2.0"
3
+ VERSION = "5.3.1"
4
4
  end
5
5
  end
@@ -29,6 +29,9 @@ Sidekiq.configure_server do |config|
29
29
  config.server_middleware do |chain|
30
30
  chain.add Sentry::Sidekiq::SentryContextServerMiddleware
31
31
  end
32
+ config.client_middleware do |chain|
33
+ chain.add Sentry::Sidekiq::SentryContextClientMiddleware
34
+ end
32
35
  end
33
36
 
34
37
  Sidekiq.configure_client do |config|
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "sentry-ruby-core", "~> 5.2.0"
25
+ spec.add_dependency "sentry-ruby-core", "~> 5.3.1"
26
26
  spec.add_dependency "sidekiq", ">= 3.0"
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-08 00:00:00.000000000 Z
11
+ date: 2022-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sentry-ruby-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 5.3.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: 5.3.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sidekiq
29
29
  requirement: !ruby/object:Gem::Requirement