Sha256: eba5f70cfe2dcc6368876beab99dec88997f95fa359dc9869f5c716fcdd5c8f2

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

require 'clearance/configuration'
require 'clearance/sign_in_guard'
require 'clearance/session'
require 'clearance/rack_session'
require 'clearance/back_door'
require 'clearance/controller'
require 'clearance/user'
require 'clearance/engine'
require 'clearance/password_strategies'
require 'clearance/constraints'

module Clearance
  def self.root
    warn "#{Kernel.caller.first}: [DEPRECATION] `Clearance.root` is " +
      "deprecated and will be removed in the next major release. If you need " +
      "to find Clearance's root, you can use the `Gem::Specification` API."
    File.expand_path('../..', __FILE__)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clearance-1.8.0 lib/clearance.rb
clearance-1.7.0 lib/clearance.rb