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 (6KB)
  2. 1.0.2 - August 01, 2024 (6KB)
  3. 1.0.1 - August 01, 2024 (6KB)
全てのバージョンを表示(全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

リンク: