Sha256: 19261957a2b18fb8ed0ea99c2bdc1c2ff0a3634d6cb608beda2bb906ab3131e8
Contents?: true
Size: 691 Bytes
Versions: 139
Compression:
Stored size: 691 Bytes
Contents
require 'honeybadger/plugin' module Honeybadger Plugin.register do requirement { defined?(::Delayed::Plugin) } requirement { defined?(::Delayed::Worker.plugins) } requirement do if delayed_job_honeybadger = defined?(::Delayed::Plugins::Honeybadger) logger.warn("Support for Delayed Job has been moved " \ "to the honeybadger gem. Please remove " \ "delayed_job_honeybadger from your " \ "Gemfile.") end !delayed_job_honeybadger end execution do require 'honeybadger/plugins/delayed_job/plugin' ::Delayed::Worker.plugins << Plugins::DelayedJob::Plugin end end end
Version data entries
139 entries across 139 versions & 2 rubygems