Skip to content

Commit 9006479

Browse files
authored
Update to latest Sidekiq-Cron stable (#760)
1 parent f876c72 commit 9006479

File tree

4 files changed

+13
-17
lines changed

4 files changed

+13
-17
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gem 'prawn', '~> 2.5.0'
2121
gem 'prawn-table', '~> 0.2.2'
2222
gem 'pg_search', '~> 2.3.5'
2323
gem 'sidekiq', '~> 6.5'
24-
gem 'sidekiq-cron', '~> 1.9.1'
24+
gem 'sidekiq-cron', '~> 1.12.0'
2525
gem 'aws-sdk-s3', '~> 1.94', require: false
2626
gem 'image_processing', '~> 1.12'
2727
gem 'active_storage_validations', '~> 1.1.3'

Gemfile.lock

+10-9
Original file line numberDiff line numberDiff line change
@@ -225,22 +225,22 @@ GEM
225225
net-smtp
226226
marcel (1.0.4)
227227
matrix (0.4.2)
228-
method_source (1.0.0)
228+
method_source (1.1.0)
229229
mime-types (3.5.2)
230230
mime-types-data (~> 3.2015)
231231
mime-types-data (3.2023.1205)
232232
mini_magick (4.12.0)
233233
mini_mime (1.1.5)
234234
minitest (5.25.1)
235235
msgpack (1.7.2)
236-
net-imap (0.4.10)
236+
net-imap (0.5.0)
237237
date
238238
net-protocol
239239
net-pop (0.1.2)
240240
net-protocol
241241
net-protocol (0.2.2)
242242
timeout
243-
net-smtp (0.4.0.1)
243+
net-smtp (0.5.0)
244244
net-protocol
245245
netrc (0.11.0)
246246
nio4r (2.7.3)
@@ -310,7 +310,7 @@ GEM
310310
thor (~> 1.0)
311311
zeitwerk (~> 2.5)
312312
rainbow (3.1.1)
313-
rake (13.1.0)
313+
rake (13.2.1)
314314
ransack (3.2.1)
315315
activerecord (>= 6.1.5)
316316
activesupport (>= 6.1.5)
@@ -388,9 +388,10 @@ GEM
388388
connection_pool (>= 2.2.5, < 3)
389389
rack (~> 2.0)
390390
redis (>= 4.5.0, < 5)
391-
sidekiq-cron (1.9.1)
391+
sidekiq-cron (1.12.0)
392392
fugit (~> 1.8)
393-
sidekiq (>= 4.2.1)
393+
globalid (>= 1.0.1)
394+
sidekiq (>= 6)
394395
simple_form (5.0.3)
395396
actionpack (>= 5.0)
396397
activemodel (>= 5.0)
@@ -408,7 +409,7 @@ GEM
408409
activesupport (>= 5.2)
409410
sprockets (>= 3.0.0)
410411
strscan (3.1.0)
411-
thor (1.3.1)
412+
thor (1.3.2)
412413
tilt (2.3.0)
413414
timeout (0.4.1)
414415
ttfunk (1.8.0)
@@ -431,7 +432,7 @@ GEM
431432
websocket-extensions (0.1.5)
432433
xpath (3.2.0)
433434
nokogiri (~> 1.8)
434-
zeitwerk (2.6.13)
435+
zeitwerk (2.7.1)
435436

436437
PLATFORMS
437438
arm64-darwin-22
@@ -479,7 +480,7 @@ DEPENDENCIES
479480
selenium-webdriver (~> 4.16)
480481
shoulda-matchers (~> 4.4)
481482
sidekiq (~> 6.5)
482-
sidekiq-cron (~> 1.9.1)
483+
sidekiq-cron (~> 1.12.0)
483484
simple_form (~> 5.0.2)
484485
simplecov (~> 0.22)
485486
uglifier (~> 4.2.0)

config/initializers/sidekiq.rb

-5
This file was deleted.

config/schedule.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
send_push_notifications_job:
2-
cron: '*/5 * * * *'
2+
cron: 'every 5 minutes'
33
class: 'SendPushNotificationsJob'
44
queue: cron
55
weekly_digest:
6-
cron: '0 9 * * 1' # every monday at 9am
6+
cron: 'every monday at 9am'
77
class: 'OrganizationNotifierJob'
88
queue: cron

0 commit comments

Comments
 (0)