lib/auto_increment.rb in auto_increment-1.1.1 vs lib/auto_increment.rb in auto_increment-1.2.0
- old
+ new
@@ -1,13 +1,14 @@
-require "date"
-require "i18n"
-require "active_record"
-require "active_support"
-require "active_support/time_with_zone"
-require "auto_increment/version"
+require 'date'
+require 'i18n'
+require 'active_record'
+require 'active_support'
+require 'active_support/time_with_zone'
+require 'auto_increment/version'
+# +AutoIncrement+
module AutoIncrement
- autoload :Incrementor, "auto_increment/incrementor"
- autoload :ActiveRecord , "auto_increment/active_record"
+ autoload :Incrementor, 'auto_increment/incrementor'
+ autoload :ActiveRecord, 'auto_increment/active_record'
end
ActiveRecord::Base.send :include, AutoIncrement::ActiveRecord