lib/lite/form.rb in lite-form-1.1.1 vs lib/lite/form.rb in lite-form-1.1.2
- old
+ new
@@ -3,13 +3,11 @@
require 'active_model' unless defined?(ActiveModel)
require 'generators/rails/form_generator' if defined?(Rails::Generators)
require 'lite/form/version'
-
-%w[propagation persistence errors].each do |name|
- require "lite/form/helpers/#{name}"
-end
-
-%w[exceptions states base].each do |name|
- require "lite/form/#{name}"
-end
+require 'lite/form/helpers/propagation'
+require 'lite/form/helpers/persistence'
+require 'lite/form/helpers/errors'
+require 'lite/form/exceptions'
+require 'lite/form/states'
+require 'lite/form/base'