sentry-resque 5.19.0 → 5.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/lib/sentry/resque/version.rb +1 -1
- data/lib/sentry/resque.rb +4 -4
- data/sentry-resque.gemspec +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79c42617557b0d040d49b6369bd66c5077185f99da55e8eaf05e4fbd2e11a9df
|
4
|
+
data.tar.gz: b368243974158d3edee51bc2af5300c51b796e2e0b97d2810fa85d5450356318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a439a26da05dd9517867a1d95dd51632415af9a8d3b003a3cae8b4dba645c9716e152655e9a1c09d0b6bb0788f6f5c966cd1a8aef7ea851b3c0d19c3922e7824
|
7
|
+
data.tar.gz: df65e261374cb316ddae87efa1307bb9d93384941e7cd5a221eafa3f476cfe0718544a7dbbd669d23225b45f753a6907f33d54ac5d75654e7f4ff5ce4c773fce
|
data/.rubocop.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
../.rubocop.yml
|
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
@@ -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.0"
|
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.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-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.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.20.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: resque
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -48,6 +48,7 @@ extra_rdoc_files:
|
|
48
48
|
files:
|
49
49
|
- ".gitignore"
|
50
50
|
- ".rspec"
|
51
|
+
- ".rubocop.yml"
|
51
52
|
- Gemfile
|
52
53
|
- Gemfile_with_rails.rb
|
53
54
|
- LICENSE.txt
|
@@ -63,15 +64,15 @@ files:
|
|
63
64
|
- lib/sentry/resque/configuration.rb
|
64
65
|
- lib/sentry/resque/version.rb
|
65
66
|
- sentry-resque.gemspec
|
66
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/5.
|
67
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/5.20.0/sentry-resque
|
67
68
|
licenses:
|
68
69
|
- MIT
|
69
70
|
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.
|
71
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.20.0/sentry-resque
|
72
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.20.0/sentry-resque
|
73
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.20.0/CHANGELOG.md
|
73
74
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
74
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-resque/5.
|
75
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-resque/5.20.0
|
75
76
|
post_install_message:
|
76
77
|
rdoc_options: []
|
77
78
|
require_paths:
|
@@ -87,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
88
|
- !ruby/object:Gem::Version
|
88
89
|
version: '0'
|
89
90
|
requirements: []
|
90
|
-
rubygems_version: 3.5.
|
91
|
+
rubygems_version: 3.5.16
|
91
92
|
signing_key:
|
92
93
|
specification_version: 4
|
93
94
|
summary: A gem that provides Resque integration for the Sentry error logger
|