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

Installeer:
=

Versies:

  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)
Toon alle versies (4 totaal)

Runtime afhankelijkheden (2):

rails >= 7
sidekiq ~> 7.0

Development afhankelijkheden (6):

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

Eigenaren:

Pushed by:

Authors:

  • Zavier Miller

SHA 256 checksum:

=

Total downloads 433

Voor deze versie 172

Versie vrijgegeven:

Licentie:

LGPLv3

Required Ruby Version: >= 3.2.0

Links: