sentry-delayed_job 5.13.0 → 5.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sentry/delayed_job/plugin.rb +2 -1
- data/lib/sentry/delayed_job/version.rb +1 -1
- data/sentry-delayed_job.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9439035809b88160385b43ac7ab24b5b22396ebee0362234d9f270e2104fd7a4
|
4
|
+
data.tar.gz: abef2b7554cd7275c4202d4067e96787e546f1ba1f2bf46e63b86f817ddf00b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6be89a19fca79f9d7ec6a4b92a4d98ba1313506d6c556d9a917ca7f3af2a9e740cc7a533a73328ebf826ed505a4af228fdc19208484a56f8bb0fba7372fe9a64
|
7
|
+
data.tar.gz: 0d8fa1cfd97cf415d1ac11cf7c56ff14338ef0ec9f1cc45628f7fc6f79f99f10b8dabf878807f90c7b13862aca1c40a84e1aebb5a60a09097bc858cc14cedbc6
|
@@ -87,7 +87,8 @@ module Sentry
|
|
87
87
|
|
88
88
|
# We use the predecessor because the job's attempts haven't been increased to the new
|
89
89
|
# count at this point.
|
90
|
-
job
|
90
|
+
max_attempts = job&.max_attempts&.pred || Delayed::Worker.max_attempts.pred
|
91
|
+
job.attempts >= max_attempts
|
91
92
|
end
|
92
93
|
|
93
94
|
def self.finish_transaction(transaction, status)
|
data/sentry-delayed_job.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.14.0"
|
26
26
|
spec.add_dependency "delayed_job", ">= 4.0"
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-delayed_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.14.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: 2023-11-
|
11
|
+
date: 2023-11-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.14.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.14.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: delayed_job
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|