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:
=

installieren:
=

Versionen:

  1. 1.1.0 August 01, 2024 (6 KB)
  2. 1.0.2 August 01, 2024 (6 KB)
  3. 1.0.1 August 01, 2024 (6 KB)
Zeige alle Versionen (4 total)

Runtime Abhängigkeiten (2):

rails >= 7
sidekiq ~> 7.0

Development Abhängigkeiten (6):

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

Besitzer:

Pushed by:

Autoren:

  • Zavier Miller

SHA 256-Prüfsumme:

=

Downloads insgesamt 495

Für diese Version 197

Version veröffentlicht:

Lizenz:

LGPLv3

Erforderliche Ruby-Version: >= 3.2.0

Links: