sentry-delayed_job 4.2.0 → 4.2.1
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 +6 -0
- data/lib/sentry-delayed_job.rb +1 -1
- data/lib/sentry/delayed_job/plugin.rb +2 -2
- data/lib/sentry/delayed_job/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7eb64abb9fe7d687495e867798a9bbc079cd58cac16d7ac91a6a397292b57058
|
|
4
|
+
data.tar.gz: 6828b40159946e22cfa840be3bd32b6693a94eb54aba9a98279481658bf754f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 760b9e64122d71ce34dd61ac0d3ea486e2c30408497ed85f1892110c659cb80412c48b906b164ef79a2a67562f3472945e6496848ce0c29f6a10c6ae007959fa
|
|
7
|
+
data.tar.gz: d486e5e384393e0089e2067e114b60919d278c7db0cbeff7cb18cc56938ee1a6a7fcba96e8a445c77b5e37c0ac65ca15861308b437f1afe03e203e220e69e82f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.2.1
|
|
4
|
+
|
|
5
|
+
- Use ::Rails::Railtie for checking Rails definition [#1287](https://github.com/getsentry/sentry-ruby/pull/1284)
|
|
6
|
+
- Convert job id to string to avoid weird syntax error [#1285](https://github.com/getsentry/sentry-ruby/pull/1285)
|
|
7
|
+
- Fixes [#1282](https://github.com/getsentry/sentry-ruby/issues/1282)
|
|
8
|
+
|
|
3
9
|
## 4.2.0
|
|
4
10
|
|
|
5
11
|
- First release!
|
data/lib/sentry-delayed_job.rb
CHANGED
|
@@ -8,7 +8,7 @@ module Sentry
|
|
|
8
8
|
lifecycle.around(:invoke_job) do |job, *args, &block|
|
|
9
9
|
Sentry.with_scope do |scope|
|
|
10
10
|
scope.set_extras(**generate_extra(job))
|
|
11
|
-
scope.set_tags("delayed_job.queue" => job.queue, "delayed_job.id" => job.id)
|
|
11
|
+
scope.set_tags("delayed_job.queue" => job.queue, "delayed_job.id" => job.id.to_s)
|
|
12
12
|
|
|
13
13
|
begin
|
|
14
14
|
block.call(job, *args)
|
|
@@ -23,7 +23,7 @@ module Sentry
|
|
|
23
23
|
|
|
24
24
|
def self.generate_extra(job)
|
|
25
25
|
extra = {
|
|
26
|
-
"delayed_job.id": job.id,
|
|
26
|
+
"delayed_job.id": job.id.to_s,
|
|
27
27
|
"delayed_job.priority": job.priority,
|
|
28
28
|
"delayed_job.attempts": job.attempts,
|
|
29
29
|
"delayed_job.run_at": job.run_at,
|
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: 4.2.
|
|
4
|
+
version: 4.2.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: 2021-02-
|
|
11
|
+
date: 2021-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sentry-ruby-core
|