Sha256: 35172f0e29f269365032ec5599bfef05044442fefa275212dd722b4c030befb1

Contents?: true

Size: 722 Bytes

Versions: 16

Compression:

Stored size: 722 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
  # @deprecated Use `Gem::Specification` API if you need to access Clearance's
  #   Gem root.
  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

16 entries across 16 versions & 1 rubygems

Version Path
clearance-1.17.0 lib/clearance.rb
clearance-1.16.2 lib/clearance.rb
clearance-1.16.1 lib/clearance.rb
clearance-1.16.0 lib/clearance.rb
clearance-1.15.1 lib/clearance.rb
clearance-1.15.0 lib/clearance.rb
clearance-1.14.2 lib/clearance.rb
clearance-1.14.1 lib/clearance.rb
clearance-1.14.0 lib/clearance.rb
clearance-1.13.0 lib/clearance.rb
clearance-1.12.1 lib/clearance.rb
clearance-1.12.0 lib/clearance.rb
clearance-1.11.0 lib/clearance.rb
clearance-1.10.1 lib/clearance.rb
clearance-1.9.0 lib/clearance.rb
clearance-1.8.1 lib/clearance.rb