Module: ActiveStorageValidations

Defined in:
lib/active_storage_validations.rb,
lib/active_storage_validations/engine.rb,
lib/active_storage_validations/railtie.rb,
lib/active_storage_validations/version.rb,
lib/active_storage_validations/analyzer.rb,
lib/active_storage_validations/matchers.rb,
lib/active_storage_validations/form_builder.rb,
lib/active_storage_validations/size_validator.rb,
lib/active_storage_validations/limit_validator.rb,
lib/active_storage_validations/pages_validator.rb,
lib/active_storage_validations/attached_validator.rb,
lib/active_storage_validations/duration_validator.rb,
lib/active_storage_validations/dimension_validator.rb,
lib/active_storage_validations/shared/asv_loggable.rb,
lib/active_storage_validations/shared/asv_errorable.rb,
lib/active_storage_validations/total_size_validator.rb,
lib/active_storage_validations/with_audio_validator.rb,
lib/active_storage_validations/analyzer/pdf_analyzer.rb,
lib/active_storage_validations/shared/asv_analyzable.rb,
lib/active_storage_validations/shared/asv_attachable.rb,
lib/active_storage_validations/shared/asv_optionable.rb,
lib/active_storage_validations/analyzer/null_analyzer.rb,
lib/active_storage_validations/aspect_ratio_validator.rb,
lib/active_storage_validations/content_type_validator.rb,
lib/active_storage_validations/shared/asv_commandable.rb,
lib/active_storage_validations/analyzer/audio_analyzer.rb,
lib/active_storage_validations/analyzer/image_analyzer.rb,
lib/active_storage_validations/analyzer/video_analyzer.rb,
lib/active_storage_validations/shared/asv_symbolizable.rb,
lib/active_storage_validations/base_comparison_validator.rb,
lib/active_storage_validations/processable_file_validator.rb,
lib/active_storage_validations/analyzer/image_analyzer/vips.rb,
lib/active_storage_validations/matchers/shared/asv_rspecable.rb,
lib/active_storage_validations/shared/asv_active_storageable.rb,
lib/active_storage_validations/analyzer/content_type_analyzer.rb,
lib/active_storage_validations/extensors/asv_blob_metadatable.rb,
lib/active_storage_validations/matchers/shared/asv_attachable.rb,
lib/active_storage_validations/analyzer/shared/asv_ff_probable.rb,
lib/active_storage_validations/matchers/shared/asv_contextable.rb,
lib/active_storage_validations/matchers/shared/asv_messageable.rb,
lib/active_storage_validations/matchers/shared/asv_timeoutable.rb,
lib/active_storage_validations/matchers/shared/asv_validatable.rb,
lib/active_storage_validations/matchers/size_validator_matcher.rb,
lib/active_storage_validations/matchers/limit_validator_matcher.rb,
lib/active_storage_validations/matchers/pages_validator_matcher.rb,
lib/active_storage_validations/matchers/shared/asv_except_onable.rb,
lib/active_storage_validations/analyzer/content_type_analyzer/file.rb,
lib/active_storage_validations/matchers/attached_validator_matcher.rb,
lib/active_storage_validations/matchers/duration_validator_matcher.rb,
lib/active_storage_validations/matchers/shared/asv_allow_blankable.rb,
lib/active_storage_validations/analyzer/image_analyzer/image_magick.rb,
lib/active_storage_validations/matchers/dimension_validator_matcher.rb,
lib/active_storage_validations/analyzer/content_type_analyzer/magika.rb,
lib/active_storage_validations/matchers/total_size_validator_matcher.rb,
lib/active_storage_validations/matchers/with_audio_validator_matcher.rb,
lib/active_storage_validations/matchers/shared/asv_active_storageable.rb,
lib/active_storage_validations/matchers/aspect_ratio_validator_matcher.rb,
lib/active_storage_validations/matchers/content_type_validator_matcher.rb,
lib/active_storage_validations/matchers/shared/asv_spoofing_protectable.rb,
lib/active_storage_validations/matchers/base_comparison_validator_matcher.rb,
lib/active_storage_validations/matchers/processable_file_validator_matcher.rb

Defined Under Namespace

Modules: ASVActiveStorageable, ASVAnalyzable, ASVAttachable, ASVBlobMetadatable, ASVCommandable, ASVErrorable, ASVFFProbable, ASVLoggable, ASVOptionable, ASVSymbolizable, FormBuilder, Matchers Classes: Analyzer, AspectRatioValidator, AttachedValidator, BaseComparisonValidator, ContentTypeValidator, DimensionValidator, DurationValidator, Engine, LimitValidator, PagesValidator, ProcessableFileValidator, Railtie, SizeValidator, TotalSizeValidator, WithAudioValidator

Constant Summary collapse

VERSION =
"4.1.0"

Class Method Summary collapse

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



19
20
21
# File 'lib/active_storage_validations.rb', line 19

def self.configure
  yield self
end