Sha256: d50d4779f972af9c4ef23dd2ead6ea6749c8e20f26f8e5751aa12dc1436c618f

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

require_relative "delayed_job_prevent_duplicate/version"

module DelayedJobPreventDuplicate
  class Error < StandardError; end
 
  require 'delayed_duplicate_prevention_plugin'

  Delayed::Backend::ActiveRecord::Job.send(:include, DelayedDuplicatePreventionPlugin::SignatureConcern)
  Delayed::Worker.plugins << DelayedDuplicatePreventionPlugin
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
delayed_job_prevent_duplicate-0.1.4 lib/delayed_job_prevent_duplicate.rb
delayed_job_prevent_duplicate-0.1.3 lib/delayed_job_prevent_duplicate.rb
delayed_job_prevent_duplicate-0.1.2 lib/delayed_job_prevent_duplicate.rb
delayed_job_prevent_duplicate-0.1.1 lib/delayed_job_prevent_duplicate.rb
delayed_job_prevent_duplicate-0.1.0 lib/delayed_job_prevent_duplicate.rb