lib/simple_auth.rb in simple_auth-1.1.0 vs lib/simple_auth.rb in simple_auth-1.2.0
- old
+ new
@@ -1,12 +1,16 @@
require "digest/sha2"
require "simple_auth/railtie"
require "simple_auth/config"
require "simple_auth/action_controller"
-require "simple_auth/active_record"
+require "simple_auth/orm/base"
+require "simple_auth/orm/active_record"
+require "simple_auth/orm/mongo_mapper"
require "simple_auth/session"
require "simple_auth/helper"
require "simple_auth/version"
module SimpleAuth
- class NotAuthorized < Exception; end
+ class RecordNotFound < StandardError; end
+ class NotAuthorized < StandardError; end
+ class AbstractMethodError < StandardError; end
end