client_side_validations-23.1.0/0000755000004100000410000000000015137227433016513 5ustar www-datawww-dataclient_side_validations-23.1.0/client_side_validations.gemspec0000644000004100000410000000664315137227433024750 0ustar www-datawww-data######################################################### # This file has been automatically generated by gem2tgz # ######################################################### # -*- encoding: utf-8 -*- # stub: client_side_validations 23.1.0 ruby lib Gem::Specification.new do |s| s.name = "client_side_validations".freeze s.version = "23.1.0".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.metadata = { "bug_tracker_uri" => "https://github.com/DavyJonesLocker/client_side_validations/issues", "changelog_uri" => "https://github.com/DavyJonesLocker/client_side_validations/blob/main/CHANGELOG.md", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/DavyJonesLocker/client_side_validations" } if s.respond_to? :metadata= s.require_paths = ["lib".freeze] s.authors = ["Geremia Taglialatela".freeze, "Brian Cardarella".freeze] s.date = "1980-01-02" s.description = "Client Side Validations made easy for your Rails 7.2 and 8.x applications".freeze s.email = ["tagliala.dev@gmail.com".freeze, "bcardarella@gmail.com".freeze] s.files = ["CHANGELOG.md".freeze, "LICENSE.md".freeze, "README.md".freeze, "lib/client_side_validations.rb".freeze, "lib/client_side_validations/action_view.rb".freeze, "lib/client_side_validations/action_view/form_builder.rb".freeze, "lib/client_side_validations/action_view/form_helper.rb".freeze, "lib/client_side_validations/action_view/form_with_helper.rb".freeze, "lib/client_side_validations/active_model.rb".freeze, "lib/client_side_validations/active_model/absence.rb".freeze, "lib/client_side_validations/active_model/acceptance.rb".freeze, "lib/client_side_validations/active_model/conditionals.rb".freeze, "lib/client_side_validations/active_model/exclusion.rb".freeze, "lib/client_side_validations/active_model/format.rb".freeze, "lib/client_side_validations/active_model/inclusion.rb".freeze, "lib/client_side_validations/active_model/length.rb".freeze, "lib/client_side_validations/active_model/numericality.rb".freeze, "lib/client_side_validations/active_model/presence.rb".freeze, "lib/client_side_validations/active_record.rb".freeze, "lib/client_side_validations/active_record/uniqueness.rb".freeze, "lib/client_side_validations/config.rb".freeze, "lib/client_side_validations/core_ext.rb".freeze, "lib/client_side_validations/core_ext/range.rb".freeze, "lib/client_side_validations/core_ext/regexp.rb".freeze, "lib/client_side_validations/engine.rb".freeze, "lib/client_side_validations/extender.rb".freeze, "lib/client_side_validations/files.rb".freeze, "lib/client_side_validations/generators.rb".freeze, "lib/client_side_validations/generators/rails_validations.rb".freeze, "lib/client_side_validations/version.rb".freeze, "lib/generators/client_side_validations/copy_assets_generator.rb".freeze, "lib/generators/client_side_validations/install_generator.rb".freeze, "lib/generators/templates/client_side_validations/initializer.rb".freeze, "vendor/assets/javascripts/rails.validations.js".freeze] s.homepage = "https://github.com/DavyJonesLocker/client_side_validations".freeze s.licenses = ["MIT".freeze] s.required_ruby_version = Gem::Requirement.new(">= 3.2".freeze) s.rubygems_version = "4.0.3".freeze s.summary = "Client Side Validations".freeze s.specification_version = 4 s.add_runtime_dependency(%q.freeze, [">= 3.14".freeze]) s.add_runtime_dependency(%q.freeze, [">= 7.2".freeze]) end client_side_validations-23.1.0/lib/0000755000004100000410000000000015137227433017261 5ustar www-datawww-dataclient_side_validations-23.1.0/lib/generators/0000755000004100000410000000000015137227433021432 5ustar www-datawww-dataclient_side_validations-23.1.0/lib/generators/templates/0000755000004100000410000000000015137227433023430 5ustar www-datawww-dataclient_side_validations-23.1.0/lib/generators/templates/client_side_validations/0000755000004100000410000000000015137227433030307 5ustar www-datawww-dataclient_side_validations-23.1.0/lib/generators/templates/client_side_validations/initializer.rb0000644000004100000410000000177215137227433033166 0ustar www-datawww-data# frozen_string_literal: true # ClientSideValidations Initializer # Disabled validators # ClientSideValidations::Config.disabled_validators = [] # Uncomment to validate number format with current I18n locale # ClientSideValidations::Config.number_format_with_locale = true # Uncomment the following block if you want each input field to have the validation messages attached. # # Alternatively, for a cleaner approach, it is possible to set # `config.action_view.field_error_proc` in the application configuration # # Note: client_side_validation requires the error to be encapsulated within # # # ActionView::Base.field_error_proc = proc do |html_tag, instance| # if /^