Sha256: dbdb29328479dde0bfd8ca69132dae69eca129ec0b69e7bf97574e9e2a2b6bda

Contents?: true

Size: 638 Bytes

Versions: 13

Compression:

Stored size: 638 Bytes

Contents

require "delayed_job"
require "sentry-ruby"
require "sentry/integrable"
require "sentry/delayed_job/configuration"
require "sentry/delayed_job/version"
require "sentry/delayed_job/plugin"

module Sentry
  module DelayedJob
    extend Sentry::Integrable

    register_integration name: "delayed_job", version: Sentry::DelayedJob::VERSION

    if defined?(::Rails::Railtie)
      class Railtie < ::Rails::Railtie
        config.after_initialize do
          next unless Sentry.initialized?

          Sentry.configuration.rails.skippable_job_adapters << "ActiveJob::QueueAdapters::DelayedJobAdapter"
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sentry-delayed_job-4.6.5 lib/sentry-delayed_job.rb
sentry-delayed_job-4.6.4 lib/sentry-delayed_job.rb
sentry-delayed_job-4.6.3 lib/sentry-delayed_job.rb
sentry-delayed_job-4.6.2 lib/sentry-delayed_job.rb
sentry-delayed_job-4.6.1 lib/sentry-delayed_job.rb
sentry-delayed_job-4.6.0 lib/sentry-delayed_job.rb
sentry-delayed_job-4.6.0.pre.beta.0 lib/sentry-delayed_job.rb
sentry-delayed_job-4.5.2 lib/sentry-delayed_job.rb
sentry-delayed_job-4.5.1 lib/sentry-delayed_job.rb
sentry-delayed_job-4.5.0 lib/sentry-delayed_job.rb
sentry-delayed_job-4.5.0.pre.beta.1 lib/sentry-delayed_job.rb
sentry-delayed_job-4.4.0 lib/sentry-delayed_job.rb
sentry-delayed_job-4.4.0.pre.beta.0 lib/sentry-delayed_job.rb