Sha256: e07ebe8e8050fd0022b46638ace765f1c666830523882cc85b964a771e3536a6

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

require "digest/sha2"
require "simple_auth/config"
require "simple_auth/action_controller"
require "simple_auth/active_record"
require "simple_auth/session"
require "simple_auth/helper"
require "simple_auth/version"

module SimpleAuth
  class NotAuthorized < Exception; end
end

::ActionController::Base.send :include, SimpleAuth::ActionController::Implementation
::ActionController::Base.send :include, SimpleAuth::ActionController::InstanceMethods
::ActionController::Base.send :extend, SimpleAuth::ActionController::ClassMethods
::ApplicationController.helper SimpleAuth::Helper if defined?(::ApplicationController)

I18n.load_path += Dir[File.dirname(__FILE__) + "/../config/locales/*.yml"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_auth-0.1.8 lib/simple_auth.rb