Sha256: 06027afa5f6f01637cc12ee74c824ac1e4ccecce47aa8583d506b451c7d7434b

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 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/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

3 entries across 3 versions & 1 rubygems

Version Path
delayed_job_groups_plugin-0.8.0 lib/delayed_job_groups_plugin.rb
delayed_job_groups_plugin-0.7.0 lib/delayed_job_groups_plugin.rb
delayed_job_groups_plugin-0.6.2 lib/delayed_job_groups_plugin.rb