lib/airbrake/delayed_job.rb in airbrake-7.3.0 vs lib/airbrake/delayed_job.rb in airbrake-7.3.1

- old
+ new

@@ -1,8 +1,7 @@ module Delayed module Plugins - ## # Provides integration with Delayed Job. # rubocop:disable Lint/RescueException class Airbrake < ::Delayed::Plugin callbacks do |lifecycle| lifecycle.around(:invoke_job) do |job, *args, &block| @@ -31,10 +30,9 @@ # rubocop:enable Lint/RescueException end end if RUBY_ENGINE == 'jruby' && defined?(Delayed::Backend::ActiveRecord::Job) - ## # Workaround against JRuby bug: # https://github.com/jruby/jruby/issues/3338 # rubocop:disable Style/ClassAndModuleChildren class Delayed::Backend::ActiveRecord::Job alias old_to_ary to_ary