sentry-resque 5.16.1 → 5.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +0 -6
- data/Gemfile_with_rails.rb +4 -0
- data/Rakefile +1 -1
- data/example/Gemfile +0 -1
- data/example/app.rb +0 -3
- data/lib/sentry/resque/version.rb +1 -1
- data/lib/sentry/resque.rb +5 -1
- data/sentry-resque.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b36519aa68ded8a6bf27408efc696bac7bc4b0449e30892cad098af6607602b6
|
4
|
+
data.tar.gz: ce49c2eaa8bfffd27dcbbb4720a1d93f4a9ef0a7b65ad5a51ba54932e28979ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c5ddbd36cb6e67b8e2c29df7103d01f7a8badd0aa264d3e13b7c38a599e6da5f239fc1e16a6dcbf2e145291b7bbd4bb758ccb39db1937d9dcfb2fa3e17de204
|
7
|
+
data.tar.gz: 1d616b52f722148c60063948c82e1b62d5f027846d1f5e5088b0c261f7aa6fc2280f71cb8d92394ba585313114311a873b2a19194eb7f4401d2d10643b46bd8b
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -4,12 +4,6 @@ git_source(:github) { |name| "https://github.com/#{name}.git" }
|
|
4
4
|
# Specify your gem's dependencies in sentry-ruby.gemspec
|
5
5
|
gemspec
|
6
6
|
gem "sentry-ruby", path: "../sentry-ruby"
|
7
|
-
gem "sentry-rails", path: "../sentry-rails"
|
8
|
-
|
9
|
-
gem "rails"
|
10
|
-
|
11
|
-
# For https://github.com/ruby/psych/issues/655
|
12
|
-
gem "psych", "5.1.0"
|
13
7
|
|
14
8
|
gem "resque-retry", "~> 1.8"
|
15
9
|
|
data/Rakefile
CHANGED
data/example/Gemfile
CHANGED
data/example/app.rb
CHANGED
data/lib/sentry/resque.rb
CHANGED
@@ -32,7 +32,11 @@ module Sentry
|
|
32
32
|
|
33
33
|
finish_transaction(transaction, 200)
|
34
34
|
rescue Exception => exception
|
35
|
-
klass = payload['class'].constantize
|
35
|
+
klass = if payload['class'].respond_to?(:constantize)
|
36
|
+
payload['class'].constantize
|
37
|
+
else
|
38
|
+
Object.const_get(payload['class'])
|
39
|
+
end
|
36
40
|
|
37
41
|
raise if Sentry.configuration.resque.report_after_job_retries &&
|
38
42
|
defined?(::Resque::Plugins::Retry) == 'constant' &&
|
data/sentry-resque.gemspec
CHANGED
@@ -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", "~> 5.
|
25
|
+
spec.add_dependency "sentry-ruby", "~> 5.17.1"
|
26
26
|
spec.add_dependency "resque", ">= 1.24"
|
27
27
|
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.17.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-03-15 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.17.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.17.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: resque
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- ".gitignore"
|
50
50
|
- ".rspec"
|
51
51
|
- Gemfile
|
52
|
+
- Gemfile_with_rails.rb
|
52
53
|
- LICENSE.txt
|
53
54
|
- Makefile
|
54
55
|
- README.md
|