sentry-sidekiq 5.19.0 → 5.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Rakefile +2 -0
- data/bin/console +1 -0
- data/example/Gemfile +2 -0
- data/example/error_worker.rb +2 -0
- data/lib/sentry/sidekiq/configuration.rb +2 -0
- data/lib/sentry/sidekiq/context_filter.rb +4 -2
- data/lib/sentry/sidekiq/cron/job.rb +2 -2
- data/lib/sentry/sidekiq/error_handler.rb +3 -1
- data/lib/sentry/sidekiq/sentry_context_middleware.rb +1 -1
- data/lib/sentry/sidekiq/version.rb +3 -1
- data/lib/sentry-sidekiq.rb +2 -0
- data/sentry-sidekiq.gemspec +4 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5632cc22a856b3c11f324b13fc999f51ed2290add13636bdca2510c2574fccc0
|
4
|
+
data.tar.gz: 100fee7c3cc7f38c9272be199f4f9c801bfd1f1afc2af02463667997a28c8c08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1cc6a6ec0f6e4ff1bb3ac0d7b166471f71328168b2d480d136c79aea5a51dabcb3e70979a02578c602693f5ac1e324704941648c53a3902154a15549c9fef4d
|
7
|
+
data.tar.gz: a1e9634862f76c9ea3216cd8b8e726f245eeb6a2f6db0d7b3e8683320545e468eea5cc7f537e427a028391fc807c6d489650616a61782a6718de0482f79d9111
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/bin/console
CHANGED
data/example/Gemfile
CHANGED
data/example/error_worker.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Sentry
|
2
4
|
module Sidekiq
|
3
5
|
class ContextFilter
|
4
|
-
ACTIVEJOB_RESERVED_PREFIX_REGEX = /^_aj_
|
5
|
-
SIDEKIQ_NAME = "Sidekiq"
|
6
|
+
ACTIVEJOB_RESERVED_PREFIX_REGEX = /^_aj_/
|
7
|
+
SIDEKIQ_NAME = "Sidekiq"
|
6
8
|
|
7
9
|
attr_reader :context
|
8
10
|
|
@@ -28,8 +28,8 @@ module Sentry
|
|
28
28
|
unless klass_const.send(:ancestors).include?(Sentry::Cron::MonitorCheckIns)
|
29
29
|
klass_const.send(:include, Sentry::Cron::MonitorCheckIns)
|
30
30
|
klass_const.send(:sentry_monitor_check_ins,
|
31
|
-
slug: name,
|
32
|
-
monitor_config: Sentry::Cron::MonitorConfig.from_crontab(
|
31
|
+
slug: name.to_s,
|
32
|
+
monitor_config: Sentry::Cron::MonitorConfig.from_crontab(parsed_cron.original))
|
33
33
|
end
|
34
34
|
|
35
35
|
true
|
data/lib/sentry-sidekiq.rb
CHANGED
data/sentry-sidekiq.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require_relative "lib/sentry/sidekiq/version"
|
2
4
|
|
3
5
|
Gem::Specification.new do |spec|
|
@@ -11,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
11
13
|
spec.platform = Gem::Platform::RUBY
|
12
14
|
spec.required_ruby_version = '>= 2.4'
|
13
15
|
spec.extra_rdoc_files = ["README.md", "LICENSE.txt"]
|
14
|
-
spec.files = `git ls-files | grep -Ev '^(spec|benchmarks|examples)'`.split("\n")
|
16
|
+
spec.files = `git ls-files | grep -Ev '^(spec|benchmarks|examples|\.rubocop\.yml)'`.split("\n")
|
15
17
|
|
16
18
|
github_root_uri = 'https://github.com/getsentry/sentry-ruby'
|
17
19
|
spec.homepage = "#{github_root_uri}/tree/#{spec.version}/#{spec.name}"
|
@@ -28,6 +30,6 @@ Gem::Specification.new do |spec|
|
|
28
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
31
|
spec.require_paths = ["lib"]
|
30
32
|
|
31
|
-
spec.add_dependency "sentry-ruby", "~> 5.
|
33
|
+
spec.add_dependency "sentry-ruby", "~> 5.21.0"
|
32
34
|
spec.add_dependency "sidekiq", ">= 3.0"
|
33
35
|
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.
|
4
|
+
version: 5.21.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: 2024-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sentry-ruby
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.
|
19
|
+
version: 5.21.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.
|
26
|
+
version: 5.21.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sidekiq
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,15 +69,15 @@ files:
|
|
69
69
|
- lib/sentry/sidekiq/sentry_context_middleware.rb
|
70
70
|
- lib/sentry/sidekiq/version.rb
|
71
71
|
- sentry-sidekiq.gemspec
|
72
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/5.
|
72
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/5.21.0/sentry-sidekiq
|
73
73
|
licenses:
|
74
74
|
- MIT
|
75
75
|
metadata:
|
76
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.
|
77
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.
|
78
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.
|
76
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.21.0/sentry-sidekiq
|
77
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.21.0/sentry-sidekiq
|
78
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.21.0/CHANGELOG.md
|
79
79
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
80
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-sidekiq/5.
|
80
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-sidekiq/5.21.0
|
81
81
|
post_install_message:
|
82
82
|
rdoc_options: []
|
83
83
|
require_paths:
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
|
-
rubygems_version: 3.5.
|
96
|
+
rubygems_version: 3.5.16
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: A gem that provides Sidekiq integration for the Sentry error logger
|