Sha256: 0b3e0efe37d6360092f9a80148a3466637858c10568edaa3af9e66823d154421

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

require 'with_advisory_lock/version'
require 'active_support'

module WithAdvisoryLock
  extend ActiveSupport::Autoload

  autoload :Concern
  autoload :Base
  autoload :DatabaseAdapterSupport
  autoload :Flock
  autoload :MySQL, 'with_advisory_lock/mysql'
  autoload :NestedAdvisoryLockError
  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-4.0.0 lib/with_advisory_lock.rb