sentry-resque 5.4.1 → 5.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 263b38f6ce802aeec44d90f4ab2c45dccb0bad3d94ff0f52829fe0b1e4aa862e
4
- data.tar.gz: 6144de1a204e7e079d963e7584af76ecb8d4706094197046b63a5feb526b5d45
3
+ metadata.gz: 1613083f528d0f5d6b177394faacb22eb9db056451a6b3c32e59c265302eeca5
4
+ data.tar.gz: b5c6273e848a631f4e4bd56807d0a1b44ad333c86a50d2310a54761387db1e2d
5
5
  SHA512:
6
- metadata.gz: 105ed006488e29a91cc9431c3ab77f5acda85c62d15808d635e48bf14b76cf3b98eb25a928dae1d259019cbeb4a444e6e69d3f6a7af651071939e27fb32caa91
7
- data.tar.gz: 02a552fb4f786644149fcd67bb260a25f2ca43bb23926c942c3bb061ff0fe7075174ec567a840d4156749bac1fe924a0475fad15ecab15ed025fda51da1eaf42
6
+ metadata.gz: c36e20fe295ca055470f79284e419f9e32fa97ff18c0c68d08a5003ebe3dfca2d5a8b73527b9d6c275450c3515f56eacafd1a310bf17fc19d5f791b8d7bf8cc3
7
+ data.tar.gz: 5c3d28253c516c63a86c35fa59cd54949dac6e290c7b043da42cd3ee081b8ed5f7e04ee3d28750e19e47a25d4cf2c6488f762a59a13f6b11fe261642256c4ece
@@ -1,5 +1,5 @@
1
1
  module Sentry
2
2
  module Resque
3
- VERSION = "5.4.1"
3
+ VERSION = "5.5.0"
4
4
  end
5
5
  end
data/lib/sentry/resque.rb CHANGED
@@ -23,8 +23,9 @@ module Sentry
23
23
  scope.set_contexts(**contexts)
24
24
  scope.set_tags("resque.queue" => queue)
25
25
 
26
- scope.set_transaction_name(contexts.dig(:"Active-Job", :job_class) || contexts.dig(:"Resque", :job_class))
27
- transaction = Sentry.start_transaction(name: scope.transaction_name, op: "resque")
26
+ name = contexts.dig(:"Active-Job", :job_class) || contexts.dig(:"Resque", :job_class)
27
+ scope.set_transaction_name(name, source: :task)
28
+ transaction = Sentry.start_transaction(name: scope.transaction_name, source: scope.transaction_source, op: "resque")
28
29
  scope.set_span(transaction) if transaction
29
30
 
30
31
  yield
@@ -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.4.1"
25
+ spec.add_dependency "sentry-ruby", "~> 5.5.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.1
4
+ version: 5.5.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: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-10-03 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.4.1
19
+ version: 5.5.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.4.1
26
+ version: 5.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: resque
29
29
  requirement: !ruby/object:Gem::Requirement