sentry-good_job 7.0.1 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/sentry/good_job/active_job_extensions.rb +2 -25
- data/lib/sentry/good_job/version.rb +1 -1
- data/sentry-good_job.gemspec +0 -1
- metadata +3 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 740327f519a850c9fb926b5fb19d4fe652e6dd76c83f687abbf3183467499931
|
|
4
|
+
data.tar.gz: 107119bc71b17c6b01d7bbfb1a9e247d92726e131bd93fc6bfaab7afd251592d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 111177382cda58646a6569856680d0b627fcb0cc05017249dbf2c7bc122cd3a1847e84e99e325916bfc0e354bc169f4c866c61a8d4367cf156ef7f6ead24f719
|
|
7
|
+
data.tar.gz: c64f832c28d47d76f87fcc879c82f96620160b137bb3c59d751bb1ff1c2cf55e9cd3b997e72f0728142d65f129c016904b93592046515aa5b7510e1129b1477b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.0.2 (2026-10-30)
|
|
4
|
+
|
|
5
|
+
- Fail closed when release confirmation input reaches EOF
|
|
6
|
+
- Require a matching `CHANGELOG.md` version heading before `gem push`
|
|
7
|
+
|
|
3
8
|
## 7.0.1 (2026-09-09)
|
|
4
9
|
|
|
5
10
|
- Warn when Good Job cron is empty while leaving setup available for a later reload
|
|
@@ -9,35 +9,12 @@ module Sentry
|
|
|
9
9
|
module ActiveJobExtensions
|
|
10
10
|
# Enhance sentry-rails ActiveJob context with GoodJob-specific data
|
|
11
11
|
def self.enhance_sentry_context(job, base_context)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# Add GoodJob-specific context to the existing sentry-rails context
|
|
15
|
-
good_job_context = {
|
|
16
|
-
queue_name: job.queue_name,
|
|
17
|
-
executions: job.executions,
|
|
18
|
-
enqueued_at: job.enqueued_at,
|
|
19
|
-
priority: job.respond_to?(:priority) ? job.priority : nil
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
# Merge with base context, preserving existing structure
|
|
23
|
-
base_context.merge(good_job: good_job_context)
|
|
12
|
+
ContextHelpers.add_context(job, base_context)
|
|
24
13
|
end
|
|
25
14
|
|
|
26
15
|
# Enhance sentry-rails ActiveJob tags with GoodJob-specific data
|
|
27
16
|
def self.enhance_sentry_tags(job, base_tags)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
good_job_tags = {
|
|
31
|
-
queue_name: job.queue_name,
|
|
32
|
-
executions: job.executions
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
# Add priority if available
|
|
36
|
-
if job.respond_to?(:priority)
|
|
37
|
-
good_job_tags[:priority] = job.priority
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
base_tags.merge(good_job_tags)
|
|
17
|
+
ContextHelpers.add_tags(job, base_tags)
|
|
41
18
|
end
|
|
42
19
|
|
|
43
20
|
# Set up GoodJob-specific ActiveJob extensions
|
data/sentry-good_job.gemspec
CHANGED
|
@@ -50,7 +50,6 @@ Gem::Specification.new do |spec|
|
|
|
50
50
|
spec.add_development_dependency "polyrun", ">= 2.2.0"
|
|
51
51
|
spec.add_development_dependency "rake", "~> 13.0"
|
|
52
52
|
spec.add_development_dependency "rspec", "~> 3"
|
|
53
|
-
spec.add_development_dependency "rspec_junit_formatter", "~> 0.6"
|
|
54
53
|
spec.add_development_dependency "rubocop-rspec", "~> 3.8"
|
|
55
54
|
spec.add_development_dependency "rubocop-thread_safety", "~> 0.7"
|
|
56
55
|
spec.add_development_dependency "standard", "~> 1.52"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-good_job
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.0.
|
|
4
|
+
version: 7.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sentry Team
|
|
@@ -120,20 +120,6 @@ dependencies:
|
|
|
120
120
|
- - "~>"
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: '3'
|
|
123
|
-
- !ruby/object:Gem::Dependency
|
|
124
|
-
name: rspec_junit_formatter
|
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
|
126
|
-
requirements:
|
|
127
|
-
- - "~>"
|
|
128
|
-
- !ruby/object:Gem::Version
|
|
129
|
-
version: '0.6'
|
|
130
|
-
type: :development
|
|
131
|
-
prerelease: false
|
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
133
|
-
requirements:
|
|
134
|
-
- - "~>"
|
|
135
|
-
- !ruby/object:Gem::Version
|
|
136
|
-
version: '0.6'
|
|
137
123
|
- !ruby/object:Gem::Dependency
|
|
138
124
|
name: rubocop-rspec
|
|
139
125
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -253,7 +239,7 @@ metadata:
|
|
|
253
239
|
source_code_uri: https://github.com/amkisko/sentry-good_job/tree/main
|
|
254
240
|
changelog_uri: https://github.com/amkisko/sentry-good_job/blob/main/CHANGELOG.md
|
|
255
241
|
bug_tracker_uri: https://github.com/amkisko/sentry-good_job/issues
|
|
256
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-good_job/7.0.
|
|
242
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-good_job/7.0.2
|
|
257
243
|
rdoc_options: []
|
|
258
244
|
require_paths:
|
|
259
245
|
- lib
|
|
@@ -268,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
268
254
|
- !ruby/object:Gem::Version
|
|
269
255
|
version: '0'
|
|
270
256
|
requirements: []
|
|
271
|
-
rubygems_version: 4.0.
|
|
257
|
+
rubygems_version: 4.0.20
|
|
272
258
|
specification_version: 4
|
|
273
259
|
summary: GoodJob integration for the Sentry error logger
|
|
274
260
|
test_files: []
|