sentry-resque 5.28.0 → 6.0.0
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/Gemfile +1 -1
- data/lib/sentry/resque/version.rb +1 -1
- data/sentry-resque.gemspec +2 -2
- metadata +9 -11
- data/example/Gemfile +0 -11
- data/example/app.rb +0 -43
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2074a025abb6ecb91dafbfe43af3b4741b0651ec63f8346d110fd60e8caa6eec
|
|
4
|
+
data.tar.gz: 221e5b0083ed4ba1dd81ad5ab5c669529f178ee14335cbaab7c91683f2df7f72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2fb77ff38a7cea83fe2558cf2cf278814f42539461c68a9a8afd10ccb46ed98acbcd28f85dabfa03aca87e45f302e4addb2ca2a58cdb316519afb571f0495dcc
|
|
7
|
+
data.tar.gz: 3beb287375e8e81be4100a3cbf087b4b52d15e310846f271b5e7bd761a6dd6cc41c09b9f01c0de27569de928575d751e23a5a0868713f730a9508cd424ea0864
|
data/Gemfile
CHANGED
data/sentry-resque.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.license = 'MIT'
|
|
12
12
|
|
|
13
13
|
spec.platform = Gem::Platform::RUBY
|
|
14
|
-
spec.required_ruby_version = '>= 2.
|
|
14
|
+
spec.required_ruby_version = '>= 2.7'
|
|
15
15
|
spec.extra_rdoc_files = ["README.md", "LICENSE.txt"]
|
|
16
16
|
spec.files = `git ls-files | grep -Ev '^(spec|benchmarks|examples|\.rubocop\.yml)'`.split("\n")
|
|
17
17
|
|
|
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
|
|
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
31
31
|
spec.require_paths = ["lib"]
|
|
32
32
|
|
|
33
|
-
spec.add_dependency "sentry-ruby", "~>
|
|
33
|
+
spec.add_dependency "sentry-ruby", "~> 6.0.0"
|
|
34
34
|
spec.add_dependency "resque", ">= 1.24"
|
|
35
35
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-resque
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 6.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sentry Team
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: 6.0.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
25
|
+
version: 6.0.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: resque
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -54,22 +54,20 @@ files:
|
|
|
54
54
|
- Rakefile
|
|
55
55
|
- bin/console
|
|
56
56
|
- bin/setup
|
|
57
|
-
- example/Gemfile
|
|
58
|
-
- example/app.rb
|
|
59
57
|
- lib/sentry-resque.rb
|
|
60
58
|
- lib/sentry/resque.rb
|
|
61
59
|
- lib/sentry/resque/configuration.rb
|
|
62
60
|
- lib/sentry/resque/version.rb
|
|
63
61
|
- sentry-resque.gemspec
|
|
64
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/
|
|
62
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/6.0.0/sentry-resque
|
|
65
63
|
licenses:
|
|
66
64
|
- MIT
|
|
67
65
|
metadata:
|
|
68
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/
|
|
69
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/
|
|
70
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/
|
|
66
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/6.0.0/sentry-resque
|
|
67
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/6.0.0/sentry-resque
|
|
68
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/6.0.0/CHANGELOG.md
|
|
71
69
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
|
72
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-resque/
|
|
70
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-resque/6.0.0
|
|
73
71
|
rdoc_options: []
|
|
74
72
|
require_paths:
|
|
75
73
|
- lib
|
|
@@ -77,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
77
75
|
requirements:
|
|
78
76
|
- - ">="
|
|
79
77
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '2.
|
|
78
|
+
version: '2.7'
|
|
81
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
80
|
requirements:
|
|
83
81
|
- - ">="
|
data/example/Gemfile
DELETED
data/example/app.rb
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "active_job"
|
|
4
|
-
require "resque"
|
|
5
|
-
require "sentry-resque"
|
|
6
|
-
|
|
7
|
-
Sentry.init do |config|
|
|
8
|
-
config.breadcrumbs_logger = [:sentry_logger]
|
|
9
|
-
# replace it with your sentry dsn
|
|
10
|
-
config.dsn = 'https://2fb45f003d054a7ea47feb45898f7649@o447951.ingest.sentry.io/5434472'
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
class MyJob < ActiveJob::Base
|
|
14
|
-
self.queue_adapter = :resque
|
|
15
|
-
|
|
16
|
-
def perform
|
|
17
|
-
raise "foo"
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
worker = Resque::Worker.new(:default)
|
|
22
|
-
|
|
23
|
-
MyJob.perform_later
|
|
24
|
-
|
|
25
|
-
begin
|
|
26
|
-
worker.work(0)
|
|
27
|
-
rescue => e
|
|
28
|
-
puts("active job failed because of \"#{e.message}\"")
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
class Foo
|
|
32
|
-
def self.perform
|
|
33
|
-
1 / 0
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
Resque::Job.create(:default, Foo)
|
|
38
|
-
|
|
39
|
-
begin
|
|
40
|
-
worker.work(0)
|
|
41
|
-
rescue => e
|
|
42
|
-
puts("inline job failed because of \"#{e.message}\"")
|
|
43
|
-
end
|