d119d3d1b2
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. |
||
---|---|---|
.. | ||
addressable_url_validator_spec.rb | ||
branch_filter_validator_spec.rb | ||
devise_email_validator_spec.rb | ||
js_regex_validator_spec.rb | ||
namespace_path_validator_spec.rb | ||
project_path_validator_spec.rb | ||
public_url_validator_spec.rb | ||
sha_validator_spec.rb | ||
variable_duplicates_validator_spec.rb | ||
x509_certificate_credentials_validator_spec.rb |