• Thong Kuah's avatar
    Align UrlValidator to validate_url gem implementation. · d119d3d1
    Thong Kuah authored
    Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement.
    Make use of the options attribute of the parent class ActiveModel::EachValidator.
    Add more options: allow_nil, allow_blank, message.
    Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
    d119d3d1
Name
Last commit
Last update
..
abstract_path_validator.rb Loading commit data...
addressable_url_validator.rb Loading commit data...
branch_filter_validator.rb Loading commit data...
certificate_fingerprint_validator.rb Loading commit data...
certificate_key_validator.rb Loading commit data...
certificate_validator.rb Loading commit data...
cluster_name_validator.rb Loading commit data...
color_validator.rb Loading commit data...
cron_timezone_validator.rb Loading commit data...
cron_validator.rb Loading commit data...
devise_email_validator.rb Loading commit data...
duration_validator.rb Loading commit data...
js_regex_validator.rb Loading commit data...
key_restriction_validator.rb Loading commit data...
line_code_validator.rb Loading commit data...
namespace_name_validator.rb Loading commit data...
namespace_path_validator.rb Loading commit data...
project_path_validator.rb Loading commit data...
public_url_validator.rb Loading commit data...
sha_validator.rb Loading commit data...
top_level_group_validator.rb Loading commit data...
variable_duplicates_validator.rb Loading commit data...
x509_certificate_credentials_validator.rb Loading commit data...