lib/active_archive.rb in active_archive-4.0.0 vs lib/active_archive.rb in active_archive-4.0.1
- old
+ new
@@ -1,9 +1,7 @@
require 'rails'
-require 'active_archive/version'
-require 'active_archive/railtie'
-require 'active_archive/settings'
-require 'active_archive/table_definition'
-require 'active_archive/methods'
-require 'active_archive/scopes'
-require 'active_archive/base'
+
+%w(version railtie settings table_definition methods scopes base).each do |file_name|
+ require "active_archive/#{file_name}"
+end
+
require 'generators/active_archive/install_generator'