sentry-resque 5.19.0 → 5.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sentry/resque/version.rb +1 -1
- data/lib/sentry/resque.rb +4 -4
- data/sentry-resque.gemspec +2 -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: 26c715bf7ee2d91ae6afe76de5780ca0d3e8d7f17a030556a9a47deac4d189f2
|
4
|
+
data.tar.gz: cb603e647439022dcf87242bcac61085c45fd8f03f4c41f52e17e79717f3000c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55d351e02f430f4beeb025a531cc121e3aaf41d3e8e1b66913e3809dc7c23913c996a3f0934e092e2f6f325336ac1208a58d82058126a70893fa941e32ac4bab
|
7
|
+
data.tar.gz: 5e1aede8f4c785aef554383d8f07ad1427280efdf14bff58203a9c94ba9ce9c62c0f9ea4f2b5cfc8121433295f8e748788ae484c95a92b583f4fa28ae9f1bb63
|
data/lib/sentry/resque.rb
CHANGED
@@ -40,14 +40,14 @@ module Sentry
|
|
40
40
|
|
41
41
|
finish_transaction(transaction, 200)
|
42
42
|
rescue Exception => exception
|
43
|
-
klass = if payload[
|
44
|
-
payload[
|
43
|
+
klass = if payload["class"].respond_to?(:constantize)
|
44
|
+
payload["class"].constantize
|
45
45
|
else
|
46
|
-
Object.const_get(payload[
|
46
|
+
Object.const_get(payload["class"])
|
47
47
|
end
|
48
48
|
|
49
49
|
raise if Sentry.configuration.resque.report_after_job_retries &&
|
50
|
-
defined?(::Resque::Plugins::Retry) ==
|
50
|
+
defined?(::Resque::Plugins::Retry) == "constant" &&
|
51
51
|
klass.is_a?(::Resque::Plugins::Retry) &&
|
52
52
|
!klass.retry_limit_reached?
|
53
53
|
|
data/sentry-resque.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.platform = Gem::Platform::RUBY
|
12
12
|
spec.required_ruby_version = '>= 2.4'
|
13
13
|
spec.extra_rdoc_files = ["README.md", "LICENSE.txt"]
|
14
|
-
spec.files = `git ls-files | grep -Ev '^(spec|benchmarks|examples)'`.split("\n")
|
14
|
+
spec.files = `git ls-files | grep -Ev '^(spec|benchmarks|examples|\.rubocop\.yml)'`.split("\n")
|
15
15
|
|
16
16
|
github_root_uri = 'https://github.com/getsentry/sentry-ruby'
|
17
17
|
spec.homepage = "#{github_root_uri}/tree/#{spec.version}/#{spec.name}"
|
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
|
-
spec.add_dependency "sentry-ruby", "~> 5.
|
31
|
+
spec.add_dependency "sentry-ruby", "~> 5.20.1"
|
32
32
|
spec.add_dependency "resque", ">= 1.24"
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-resque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.20.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: 2024-
|
11
|
+
date: 2024-09-27 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.20.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.
|
26
|
+
version: 5.20.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: resque
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,15 +63,15 @@ files:
|
|
63
63
|
- lib/sentry/resque/configuration.rb
|
64
64
|
- lib/sentry/resque/version.rb
|
65
65
|
- sentry-resque.gemspec
|
66
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/5.
|
66
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/5.20.1/sentry-resque
|
67
67
|
licenses:
|
68
68
|
- MIT
|
69
69
|
metadata:
|
70
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.
|
71
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.
|
72
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.
|
70
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.20.1/sentry-resque
|
71
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.20.1/sentry-resque
|
72
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.20.1/CHANGELOG.md
|
73
73
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
74
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-resque/5.
|
74
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-resque/5.20.1
|
75
75
|
post_install_message:
|
76
76
|
rdoc_options: []
|
77
77
|
require_paths:
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
|
-
rubygems_version: 3.5.
|
90
|
+
rubygems_version: 3.5.16
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: A gem that provides Resque integration for the Sentry error logger
|