lib/active_validation.rb in active_validation-4.0.7 vs lib/active_validation.rb in active_validation-4.0.8
- old
+ new
@@ -1,14 +1,14 @@
require 'active_model'
require 'active_support'
require 'active_support/core_ext/time/zones'
require 'active_validation/version'
-ACTIVE_VALIDATION_VALIDATORS ||= %w(
+ACTIVE_VALIDATION_VALIDATORS ||= %w[
alpha alpha_numeric base64 boolean coordinate credit_card currency cusip email equality hex imei
ip isbn isin mac_address name password phone sedol slug ssn time_zone tracking_number type url
username uuid
-).freeze
+].freeze
ACTIVE_VALIDATION_VALIDATORS.each do |file_name|
require "active_validation/validators/#{file_name}_validator"
end