sentry-sidekiq 5.16.1 → 5.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/example/Gemfile +0 -1
- data/lib/sentry/sidekiq/version.rb +1 -1
- data/lib/sentry/sidekiq-scheduler/scheduler.rb +3 -2
- data/sentry-sidekiq.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f2899fc1c8b06018add695b2d57a365092ce0bdc26be40b395379b8b89a3317
|
4
|
+
data.tar.gz: a3eae5d00475739f5dbc81f84bc2d8da60224ae34b9f930ad5803077cd89a279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd256f4ba4315749560102b5e66996e5a1ceabb318a6f4b72ac5a21f300e089eff77e07e15cf9f82cc9499394c79cc8d1120ba9ac9909140be4ae20c8ecab218
|
7
|
+
data.tar.gz: 7e9e2540ae2e6811bb68b485e2f71a72300db9c8752781b2430bb75dafd677becadd6331824f367db2be2ff2e20a6c186b2f2915a19c9064372a5c57894552a5
|
data/Rakefile
CHANGED
data/example/Gemfile
CHANGED
@@ -35,7 +35,8 @@ module Sentry
|
|
35
35
|
# For cron, every, or interval jobs — grab their schedule.
|
36
36
|
# Rufus::Scheduler::EveryJob stores it's frequency in seconds,
|
37
37
|
# so we convert it to minutes before passing in to the monitor.
|
38
|
-
monitor_config =
|
38
|
+
monitor_config =
|
39
|
+
case interval_type
|
39
40
|
when "cron"
|
40
41
|
# fugit is a second order dependency of sidekiq-scheduler via rufus-scheduler
|
41
42
|
parsed_cron = ::Fugit.parse_cron(schedule)
|
@@ -52,7 +53,7 @@ module Sentry
|
|
52
53
|
end
|
53
54
|
when "every", "interval"
|
54
55
|
Sentry::Cron::MonitorConfig.from_interval(rufus_job.frequency.to_i / 60, :minute)
|
55
|
-
|
56
|
+
end
|
56
57
|
|
57
58
|
# If we couldn't build a monitor config, it's either an error, or
|
58
59
|
# it's a one-time job (interval_type is in, or at), in which case
|
data/sentry-sidekiq.gemspec
CHANGED
@@ -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.
|
25
|
+
spec.add_dependency "sentry-ruby", "~> 5.17.0"
|
26
26
|
spec.add_dependency "sidekiq", ">= 3.0"
|
27
27
|
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.
|
4
|
+
version: 5.17.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-
|
11
|
+
date: 2024-03-13 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
|
+
version: 5.17.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.
|
26
|
+
version: 5.17.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sidekiq
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|