Sha256: e692a720e87e6ef1a4f744529e258a471dae9943d109ffba0ad2b063152e8ec2

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

require 'with_advisory_lock/version'
require 'active_support'
require_relative 'with_advisory_lock/failed_to_acquire_lock'

module WithAdvisoryLock
  extend ActiveSupport::Autoload

  autoload :Concern
  autoload :Base
  autoload :DatabaseAdapterSupport
  autoload :Flock
  autoload :MySQL, 'with_advisory_lock/mysql'
  autoload :PostgreSQL, 'with_advisory_lock/postgresql'
end

ActiveSupport.on_load :active_record do
  include WithAdvisoryLock::Concern
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
with_advisory_lock-5.0.0 lib/with_advisory_lock.rb