sentry-resque 5.16.1 → 5.17.0
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: ef2c562ff7e13dd92d676b0188899198e3fcb17ab796ff71165714b41b66707a
|
4
|
+
data.tar.gz: 9964e74e0b0fc322e7e034c4ea16837b589f659b8afde5b30d5e8ec4558ea523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f97837418bed8df63017198a1db83bc062800aa9b2091b2acae1f5283408a7ae113ba232e447359810a6b426d6c8c7bb5a282b8dc35ff77dca1b599f7f0a9343
|
7
|
+
data.tar.gz: dad1cbc85d7fea114e6240b7d8522bb97ff39d91c913c02c79c2364201894a3dce314bfb65bad0708c2c2b82ce5b672f33cdd1f38754aa826b080c415bd3b637
|
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.0"
|
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.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-03-13 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.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.17.0
|
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
|