Sha256: 2f14b3f87da0bd95cdd1ae190a06a13b2a2fbb72b448e85d01293d2eab39b978

Contents?: true

Size: 682 Bytes

Versions: 5

Compression:

Stored size: 682 Bytes

Contents

require "digest/sha2"
require "simple_auth/config"
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

5 entries across 5 versions & 1 rubygems

Version Path
simple_auth-0.1.4 lib/simple_auth.rb
simple_auth-0.1.3 lib/simple_auth.rb
simple_auth-0.1.2 lib/simple_auth.rb
simple_auth-0.1.1 lib/simple_auth.rb
simple_auth-0.1.0 lib/simple_auth.rb