sentry-sidekiq 5.19.0 → 5.21.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41e6321e26f56fb048d1c360ea5121e32f0a6dc2b015da1b4e1ed2a81b658de0
4
- data.tar.gz: b173d81283a38d46991d796ed927e052068905eafd35ac307cb90f10080cc903
3
+ metadata.gz: 5632cc22a856b3c11f324b13fc999f51ed2290add13636bdca2510c2574fccc0
4
+ data.tar.gz: 100fee7c3cc7f38c9272be199f4f9c801bfd1f1afc2af02463667997a28c8c08
5
5
  SHA512:
6
- metadata.gz: 1d3c7ca9f379c3e248a762e1f8ade65a4e66ad9e796b17a157ccdc0bca2f426764d0722072e69c119919944f69e01d9535be1b06de40333353e10579bbb0faca
7
- data.tar.gz: 072e73ad9ce4d76c9839b8a60c0fd927f2090914d4575fcf102cf16c3e499865c19a8d47be916931f368498bed67dafa737247483f2b9dcdcb07cd6d92149ef5
6
+ metadata.gz: a1cc6a6ec0f6e4ff1bb3ac0d7b166471f71328168b2d480d136c79aea5a51dabcb3e70979a02578c602693f5ac1e324704941648c53a3902154a15549c9fef4d
7
+ data.tar.gz: a1e9634862f76c9ea3216cd8b8e726f245eeb6a2f6db0d7b3e8683320545e468eea5cc7f537e427a028391fc807c6d489650616a61782a6718de0482f79d9111
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
  git_source(:github) { |name| "https://github.com/#{name}.git" }
3
5
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rspec/core/rake_task"
3
5
 
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require "bundler/setup"
4
5
  require "sentry/ruby"
data/example/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  gem "sidekiq"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "sidekiq"
2
4
  require "sentry-sidekiq"
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Sentry
2
4
  class Configuration
3
5
  attr_reader :sidekiq
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Sentry
2
4
  module Sidekiq
3
5
  class ContextFilter
4
- ACTIVEJOB_RESERVED_PREFIX_REGEX = /^_aj_/.freeze
5
- SIDEKIQ_NAME = "Sidekiq".freeze
6
+ ACTIVEJOB_RESERVED_PREFIX_REGEX = /^_aj_/
7
+ SIDEKIQ_NAME = "Sidekiq"
6
8
 
7
9
  attr_reader :context
8
10
 
@@ -28,8 +28,8 @@ module Sentry
28
28
  unless klass_const.send(:ancestors).include?(Sentry::Cron::MonitorCheckIns)
29
29
  klass_const.send(:include, Sentry::Cron::MonitorCheckIns)
30
30
  klass_const.send(:sentry_monitor_check_ins,
31
- slug: name,
32
- monitor_config: Sentry::Cron::MonitorConfig.from_crontab(cron))
31
+ slug: name.to_s,
32
+ monitor_config: Sentry::Cron::MonitorConfig.from_crontab(parsed_cron.original))
33
33
  end
34
34
 
35
35
  true
@@ -1,4 +1,6 @@
1
- require 'sentry/sidekiq/context_filter'
1
+ # frozen_string_literal: true
2
+
3
+ require "sentry/sidekiq/context_filter"
2
4
 
3
5
  module Sentry
4
6
  module Sidekiq
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'sentry/sidekiq/context_filter'
3
+ require "sentry/sidekiq/context_filter"
4
4
 
5
5
  module Sentry
6
6
  module Sidekiq
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Sentry
2
4
  module Sidekiq
3
- VERSION = "5.19.0"
5
+ VERSION = "5.21.0"
4
6
  end
5
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "sidekiq"
2
4
  require "sentry-ruby"
3
5
  require "sentry/integrable"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative "lib/sentry/sidekiq/version"
2
4
 
3
5
  Gem::Specification.new do |spec|
@@ -11,7 +13,7 @@ Gem::Specification.new do |spec|
11
13
  spec.platform = Gem::Platform::RUBY
12
14
  spec.required_ruby_version = '>= 2.4'
13
15
  spec.extra_rdoc_files = ["README.md", "LICENSE.txt"]
14
- spec.files = `git ls-files | grep -Ev '^(spec|benchmarks|examples)'`.split("\n")
16
+ spec.files = `git ls-files | grep -Ev '^(spec|benchmarks|examples|\.rubocop\.yml)'`.split("\n")
15
17
 
16
18
  github_root_uri = 'https://github.com/getsentry/sentry-ruby'
17
19
  spec.homepage = "#{github_root_uri}/tree/#{spec.version}/#{spec.name}"
@@ -28,6 +30,6 @@ Gem::Specification.new do |spec|
28
30
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
31
  spec.require_paths = ["lib"]
30
32
 
31
- spec.add_dependency "sentry-ruby", "~> 5.19.0"
33
+ spec.add_dependency "sentry-ruby", "~> 5.21.0"
32
34
  spec.add_dependency "sidekiq", ">= 3.0"
33
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.19.0
4
+ version: 5.21.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: 2024-08-13 00:00:00.000000000 Z
11
+ date: 2024-10-07 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.19.0
19
+ version: 5.21.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.19.0
26
+ version: 5.21.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sidekiq
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -69,15 +69,15 @@ files:
69
69
  - lib/sentry/sidekiq/sentry_context_middleware.rb
70
70
  - lib/sentry/sidekiq/version.rb
71
71
  - sentry-sidekiq.gemspec
72
- homepage: https://github.com/getsentry/sentry-ruby/tree/5.19.0/sentry-sidekiq
72
+ homepage: https://github.com/getsentry/sentry-ruby/tree/5.21.0/sentry-sidekiq
73
73
  licenses:
74
74
  - MIT
75
75
  metadata:
76
- homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.19.0/sentry-sidekiq
77
- source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.19.0/sentry-sidekiq
78
- changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.19.0/CHANGELOG.md
76
+ homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.21.0/sentry-sidekiq
77
+ source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.21.0/sentry-sidekiq
78
+ changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.21.0/CHANGELOG.md
79
79
  bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
80
- documentation_uri: http://www.rubydoc.info/gems/sentry-sidekiq/5.19.0
80
+ documentation_uri: http://www.rubydoc.info/gems/sentry-sidekiq/5.21.0
81
81
  post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.5.11
96
+ rubygems_version: 3.5.16
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: A gem that provides Sidekiq integration for the Sentry error logger