lib/authtrail.rb in authtrail-0.4.3 vs lib/authtrail.rb in authtrail-0.5.0
- old
+ new
@@ -1,13 +1,14 @@
# dependencies
require "warden"
# modules
-require "auth_trail/engine"
-require "auth_trail/manager"
-require "auth_trail/version"
+require_relative "auth_trail/manager"
+require_relative "auth_trail/version"
module AuthTrail
+ autoload :GeocodeJob, "auth_trail/geocode_job"
+
class << self
attr_accessor :exclude_method, :geocode, :track_method, :identity_method, :job_queue, :transform_method
end
self.geocode = false
self.identity_method = lambda do |request, opts, user|