sentry-sidekiq 5.1.1 → 5.3.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: 443d2b1c5a835142e2cc659de7febd94caa7c98cd5fedae114eaf3c159e3ea52
4
- data.tar.gz: 32440d395f870117af8444d29c887f29b7afbdf1794a74da3fd7c78d586583cc
3
+ metadata.gz: 1584357111f05e18e82d62df9b3b048177f2c0383d8e40d4a01f4f69d068289a
4
+ data.tar.gz: 76ba2a9c731b52e99bf2945e30a4a6dcbcb62d7ccaf41466721f3af7f41ccd6f
5
5
  SHA512:
6
- metadata.gz: 29e41712e89af44184c8accd74b2444a7e760356c0981e77ba216fd606c453918d1dfa0897373ffa3b62f413862c94bf46fbe8d0bb12ff94ed0097f96523e060
7
- data.tar.gz: e301adf15c956758380ceeef6258186b94565685ca4edede60bc4889751d5be02f47cbbd4141ded62e7dc15c5c0fd6e06f0a33b7fcd979f6d01391db08a2231a
6
+ metadata.gz: 4367783995f3910ada62d72e7cecafd40dfba48735ec65ddbc13a9726a7dee865b1c2a59d47a80df4cac919df482d4552fd41df0b2fb60d13a219a932920c109
7
+ data.tar.gz: 5fec11d42210ed3f12b295bbee5a1c7f01fe421a872c560b8910cea28024597f9d615a8e2424091fc7a9860723a4c0059c7b8eb5bc136f8aa67e14fcf8762b18
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.1.1"
3
+ VERSION = "5.3.0"
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.1.1"
25
+ spec.add_dependency "sentry-ruby-core", "~> 5.3.0"
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.1.1
4
+ version: 5.3.0
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-02-24 00:00:00.000000000 Z
11
+ date: 2022-04-27 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.1.1
19
+ version: 5.3.0
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.1.1
26
+ version: 5.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sidekiq
29
29
  requirement: !ruby/object:Gem::Requirement