RubyGems Navigation menu

sidekiq_current_model_middleware 1.1.0

This gem provides Sidekiq middleware that extends the functionality of Sidekiq's built-in CurrentAttributes to persist and restore ActiveSupport::CurrentAttributes across Sidekiq jobs, with added support for ActiveRecord models. It uses GlobalID for serialization and deserialization of ActiveRecord objects, allowing seamless integration with Rails applications to maintain context between web requests and background jobs. The middleware supports multiple CurrentAttributes classes and handles both client-side and server-side persistence.

Gemfile:
=

安装:
=

版本列表:

  1. 1.1.0 - August 01, 2024 (6.0 KB)
  2. 1.0.2 - August 01, 2024 (6.0 KB)
  3. 1.0.1 - August 01, 2024 (6.0 KB)
显示所有版本 (共 4 个)

Runtime 依赖 (2):

rails >= 7
sidekiq ~> 7.0

Development 依赖 (6):

codecov >= 0
pg >= 0
rake >= 0
rspec >= 3.0
rubocop >= 0

业主:

推送:

作者:

  • Zavier Miller

SHA 256 校验和:

=

下载总量 433

这个版本 172

版本发布:

许可:

LGPLv3

需要的 Ruby 版本: >= 3.2.0

链接: