Sha256: 30aeaabb8e15e1e62008e3f78b84f62820c5db6d809ccdcc40bd7fda9906ffc4
Contents?: true
Size: 447 Bytes
Versions: 3
Compression:
Stored size: 447 Bytes
Contents
require 'active_model' require 'ostruct' module FileValidators module Utils extend ActiveSupport::Autoload autoload :ContentTypeDetector autoload :MediaTypeSpoofDetector end end Dir[File.dirname(__FILE__) + "/file_validators/validators/*.rb"].each { |file| require file } locale_path = Dir.glob(File.dirname(__FILE__) + '/file_validators/locale/*.yml') I18n.load_path += locale_path unless I18n.load_path.include?(locale_path)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
file_validators-2.3.0 | lib/file_validators.rb |
file_validators-2.2.0.beta1 | lib/file_validators.rb |
file_validators-2.1.0 | lib/file_validators.rb |