Skip to content

v0.1.4

Choose a tag to compare

@dezsirazvan dezsirazvan released this 16 May 23:32
· 11 commits to master since this release

Fixed

  • ActiveJobCapturer#sidekiq_adapter? no longer triggers Rails to
    autoload ActiveJob::QueueAdapters::SidekiqAdapter. Rails registers
    that constant for lazy autoload even when sidekiq isn't in the host's
    bundle; the old is_a? check forced the adapter file to load, which
    requires sidekiq and raised Gem::LoadError: sidekiq is not part of the bundle on every job run for hosts using SolidQueue, GoodJob, or
    any other non-Sidekiq adapter. The check now compares the adapter
    class name string and never references the constant.