sentry-sidekiq 5.28.1 → 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 +2 -6
- data/lib/sentry/sidekiq/version.rb +1 -1
- data/sentry-sidekiq.gemspec +3 -3
- metadata +11 -15
- data/example/Gemfile +0 -9
- data/example/README.md +0 -8
- data/example/config/sidekiq.yml +0 -8
- data/example/error_worker.rb +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6411c2f95c9a6a3de25a9c63a728d8b0aebd9ad5a20256a29293817b1236d2fb
|
4
|
+
data.tar.gz: 498481dd98fc7f79aca1b8d0468892bcaad7916b11ca022bca7a527de1cc38fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04ab7bdff6fa178be5f5074f1c27072f21c7e96325a1c39b6fbb39bb407fd13e116e7d53d542f03c3c20bfb9f3b790d35d32473dfca3920bf12ccc8e6beabac8
|
7
|
+
data.tar.gz: 93e77e2f7115347ebc48448f556fef20778f9ecf3fb531f0fcfef5298e34543283dc4c19edf0e26a4037060d08c8512ec7b6894d9426d855572c85ecc4d14f92
|
data/Gemfile
CHANGED
@@ -11,10 +11,6 @@ gemspec
|
|
11
11
|
gem "sentry-ruby", path: "../sentry-ruby"
|
12
12
|
gem "sentry-rails", path: "../sentry-rails"
|
13
13
|
|
14
|
-
# https://github.com/flavorjones/loofah/pull/267
|
15
|
-
# loofah changed the required ruby version in a patch so we need to explicitly pin it
|
16
|
-
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
|
17
|
-
|
18
14
|
if ENV["SIDEKIQ_MAIN"]
|
19
15
|
gem "sidekiq", github: "sidekiq/sidekiq", branch: "main"
|
20
16
|
sidekiq_version = "main"
|
@@ -26,7 +22,7 @@ else
|
|
26
22
|
gem "sidekiq", "~> #{sidekiq_version}"
|
27
23
|
end
|
28
24
|
|
29
|
-
if sidekiq_version == "main" ||
|
25
|
+
if sidekiq_version == "main" || sidekiq_version >= Gem::Version.new("6.0")
|
30
26
|
gem "sidekiq-cron"
|
31
27
|
|
32
28
|
if sidekiq_version == "main" || sidekiq_version >= Gem::Version.new("8.0")
|
@@ -36,7 +32,7 @@ if sidekiq_version == "main" || RUBY_VERSION.to_f >= 2.7 && sidekiq_version >= G
|
|
36
32
|
end
|
37
33
|
end
|
38
34
|
|
39
|
-
gem "rails", "> 5.
|
35
|
+
gem "rails", "> 5.2.0"
|
40
36
|
|
41
37
|
gem "timecop"
|
42
38
|
|
data/sentry-sidekiq.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", "~>
|
34
|
-
spec.add_dependency "sidekiq", ">=
|
33
|
+
spec.add_dependency "sentry-ruby", "~> 6.0.0"
|
34
|
+
spec.add_dependency "sidekiq", ">= 5.0"
|
35
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-sidekiq
|
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,28 +15,28 @@ 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: sidekiq
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '5.0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '5.0'
|
40
40
|
description: A gem that provides Sidekiq integration for the Sentry error logger
|
41
41
|
email: accounts@sentry.io
|
42
42
|
executables: []
|
@@ -55,10 +55,6 @@ files:
|
|
55
55
|
- Rakefile
|
56
56
|
- bin/console
|
57
57
|
- bin/setup
|
58
|
-
- example/Gemfile
|
59
|
-
- example/README.md
|
60
|
-
- example/config/sidekiq.yml
|
61
|
-
- example/error_worker.rb
|
62
58
|
- lib/sentry-sidekiq.rb
|
63
59
|
- lib/sentry/sidekiq-scheduler/scheduler.rb
|
64
60
|
- lib/sentry/sidekiq/configuration.rb
|
@@ -69,15 +65,15 @@ files:
|
|
69
65
|
- lib/sentry/sidekiq/sentry_context_middleware.rb
|
70
66
|
- lib/sentry/sidekiq/version.rb
|
71
67
|
- sentry-sidekiq.gemspec
|
72
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/
|
68
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/6.0.0/sentry-sidekiq
|
73
69
|
licenses:
|
74
70
|
- MIT
|
75
71
|
metadata:
|
76
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/
|
77
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/
|
78
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/
|
72
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/6.0.0/sentry-sidekiq
|
73
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/6.0.0/sentry-sidekiq
|
74
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/6.0.0/CHANGELOG.md
|
79
75
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
80
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-sidekiq/
|
76
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-sidekiq/6.0.0
|
81
77
|
rdoc_options: []
|
82
78
|
require_paths:
|
83
79
|
- lib
|
@@ -85,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
81
|
requirements:
|
86
82
|
- - ">="
|
87
83
|
- !ruby/object:Gem::Version
|
88
|
-
version: '2.
|
84
|
+
version: '2.7'
|
89
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
86
|
requirements:
|
91
87
|
- - ">="
|
data/example/Gemfile
DELETED
data/example/README.md
DELETED
data/example/config/sidekiq.yml
DELETED
data/example/error_worker.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "sidekiq"
|
4
|
-
require "sentry-sidekiq"
|
5
|
-
|
6
|
-
Sentry.init do |config|
|
7
|
-
config.breadcrumbs_logger = [:sentry_logger]
|
8
|
-
# replace it with your sentry dsn
|
9
|
-
config.dsn = 'https://2fb45f003d054a7ea47feb45898f7649@o447951.ingest.sentry.io/5434472'
|
10
|
-
end
|
11
|
-
|
12
|
-
class ErrorWorker
|
13
|
-
include Sidekiq::Worker
|
14
|
-
|
15
|
-
sidekiq_options retry: 0
|
16
|
-
|
17
|
-
def perform
|
18
|
-
1 / 0
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
ErrorWorker.perform_async
|