lib/memolog/init.rb in memolog-0.2.1 vs lib/memolog/init.rb in memolog-0.2.2

- old
+ new

@@ -9,9 +9,11 @@ private def init_rails! return unless defined?(Rails) && Memolog.config.initializers.include?(:rails) + return if defined?(Sidekiq) && Sidekiq.server? + Rails.application.middleware.insert_before(0, Memolog::Middleware) end def init_sentry! return unless defined?(Sentry::Scope) && Memolog.config.initializers.include?(:sentry)