Bump sidekiq and sidekiq-unique-jobs dependencies in tandem (#20131)

* bump sidekiq and sidekiq-unique-jobs in tandem

* ensure Articles::UpdatePageViewsWorker arg is a hash
This commit is contained in:
PJ 2023-09-18 17:22:35 +01:00 committed by GitHub
parent 9332ef7123
commit 2a1c20b57f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 15 additions and 13 deletions

View file

@ -97,9 +97,9 @@ gem "rouge", "~> 3.30" # A pure-ruby code highlighter
gem "rss", "~> 0.2.9" # Ruby's standard library for RSS
gem "rubyzip", "~> 2.3" # Rubyzip is a ruby library for reading and writing zip files
gem "s3_direct_upload", "~> 0.1" # Direct Upload to Amazon S3
gem "sidekiq", "~> 6.5.3" # Sidekiq is used to process background jobs with the help of Redis
gem "sidekiq", "~> 7.1.4" # Sidekiq is used to process background jobs with the help of Redis
gem "sidekiq-cron", "~> 1.7" # Allows execution of scheduled cron jobs as specific times
gem "sidekiq-unique-jobs", "~> 7.1.27" # Ensures that Sidekiq jobs are unique when enqueued
gem "sidekiq-unique-jobs", "~> 8.0.3" # Ensures that Sidekiq jobs are unique when enqueued
gem "slack-notifier", "~> 2.4" # A slim ruby wrapper for posting to slack webhooks
gem "sprockets-rails", "~> 3.4" # Sprockets Rails integration
gem "staccato", "~> 0.5" # Ruby Google Analytics Measurement

View file

@ -680,6 +680,8 @@ GEM
actionpack (>= 5, < 8)
redis-rack (>= 2.1.0, < 3)
redis-store (>= 1.1.0, < 2)
redis-client (0.17.0)
connection_pool
redis-rack (2.1.4)
rack (>= 2.0.8, < 3)
redis-store (>= 1.2, < 2)
@ -823,20 +825,20 @@ GEM
shellany (0.0.1)
shoulda-matchers (5.3.0)
activesupport (>= 5.2.0)
sidekiq (6.5.9)
connection_pool (>= 2.2.5, < 3)
rack (~> 2.0)
redis (>= 4.5.0, < 5)
sidekiq (7.1.4)
concurrent-ruby (< 2)
connection_pool (>= 2.3.0)
rack (>= 2.2.4)
redis-client (>= 0.14.0)
sidekiq-cron (1.10.1)
fugit (~> 1.8)
globalid (>= 1.0.1)
sidekiq (>= 6)
sidekiq-unique-jobs (7.1.30)
sidekiq-unique-jobs (8.0.3)
brpoplpush-redis_script (> 0.1.1, <= 2.0.0)
concurrent-ruby (~> 1.0, >= 1.0.5)
redis (< 5.0)
sidekiq (>= 5.0, < 7.0)
thor (>= 0.20, < 3.0)
sidekiq (>= 7.0.0, < 8.0.0)
thor (>= 1.0, < 3.0)
simple_oauth (0.3.1)
simplecov (0.21.2)
docile (~> 1.1)
@ -1096,9 +1098,9 @@ DEPENDENCIES
s3_direct_upload (~> 0.1)
sassc-rails (~> 2.1.2)
shoulda-matchers (~> 5.3)
sidekiq (~> 6.5.3)
sidekiq (~> 7.1.4)
sidekiq-cron (~> 1.7)
sidekiq-unique-jobs (~> 7.1.27)
sidekiq-unique-jobs (~> 8.0.3)
simplecov (~> 0.21.2)
slack-notifier (~> 2.4)
solargraph (~> 0.45)

View file

@ -24,7 +24,7 @@ class PageViewsController < ApplicationMetalController
Articles::UpdatePageViewsWorker.perform_at(
2.minutes.from_now,
page_view_create_params,
page_view_create_params.to_h,
)
head :ok

BIN
vendor/cache/redis-client-0.17.0.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/sidekiq-7.1.4.gem vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.