Sha256: ed06fc82f3212a39aaf87636a2a34ccc15de4905076049419a7670e88007eae8

Contents?: true

Size: 732 Bytes

Versions: 1

Compression:

Stored size: 732 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/version"

module SimpleAuth
  class NotAuthorized < Exception; end
end

::ActiveRecord::Base.send :include, SimpleAuth::ActiveRecord::InstanceMethods
::ActiveRecord::Base.send :extend, SimpleAuth::ActiveRecord::ClassMethods

::ActionController::Base.send :include, SimpleAuth::ActionController::Implementation
::ActionController::Base.send :include, SimpleAuth::ActionController::InstanceMethods
::ActionController::Base.send :extend, SimpleAuth::ActionController::ClassMethods

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.5 lib/simple_auth.rb