Sha256: c99b8fb32aa9cfabb190aaf24e959d18c57a36eb352b8e4e06c6bdff5df536c3

Contents?: true

Size: 741 Bytes

Versions: 5

Compression:

Stored size: 741 Bytes

Contents

# frozen_string_literal: true

require 'active_support'
require 'active_record'
require 'delayed_job'
require 'delayed_job_active_record'
require 'delayed/job_groups/compatibility'
require 'delayed/job_groups/complete_stuck_job_groups_job'
require 'delayed/job_groups/job_extensions'
require 'delayed/job_groups/job_group'
require 'delayed/job_groups/plugin'
require 'delayed/job_groups/yaml_loader'
require 'delayed/job_groups/version'

if defined?(Rails::Railtie)
  # Postpone initialization to railtie for correct order
  require 'delayed/job_groups/railtie'
else
  # Do the same as in the railtie
  Delayed::Backend::ActiveRecord::Job.include(Delayed::JobGroups::JobExtensions)
end

Delayed::Worker.plugins << Delayed::JobGroups::Plugin

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
delayed_job_groups_plugin-0.12.0 lib/delayed_job_groups_plugin.rb
delayed_job_groups_plugin-0.11.0 lib/delayed_job_groups_plugin.rb
delayed_job_groups_plugin-0.10.1 lib/delayed_job_groups_plugin.rb
delayed_job_groups_plugin-0.10.0 lib/delayed_job_groups_plugin.rb
delayed_job_groups_plugin-0.9.0 lib/delayed_job_groups_plugin.rb