Sha256: 243cf08a5efb05c2b6323f520e28f6972ddcf59c4e3bd90e8717dda62ee1e6b7

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

if defined?(Rails::Railtie)
  require "memolog/railtie"
end

if defined?(Sentry::Scope)
  Sentry::Scope.prepend(Memolog::SentryScopeExtension)
end

if defined?(Sidekiq)
  Sidekiq.configure_server do |config|
    config.server_middleware do |chain|
      chain.prepend(Memolog::SentrySidekiqMiddleware)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
memolog-0.1.0 lib/memolog/init.rb