lib/mongoid-history.rb in mongoid-history-0.4.0 vs lib/mongoid-history.rb in mongoid-history-0.4.1

- old
+ new

@@ -1,10 +1,9 @@ -require 'easy_diff' - -require File.expand_path(File.dirname(__FILE__) + '/mongoid/history') -require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/tracker') -require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/trackable') -require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/sweeper') - -Mongoid::History.modifier_class_name = "User" -Mongoid::History.trackable_class_options = {} -Mongoid::History.current_user_method ||= :current_user +require 'easy_diff' + +require File.expand_path(File.dirname(__FILE__) + '/mongoid/history') +require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/tracker') +require File.expand_path(File.dirname(__FILE__) + '/mongoid/history/trackable') + +Mongoid::History.modifier_class_name = "User" +Mongoid::History.trackable_class_options = {} +Mongoid::History.current_user_method ||= :current_user