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. |
||
|---|---|---|
| .. | ||
| api | ||
| projects | ||
| git_http_spec.rb | ||
| jwt_controller_spec.rb | ||
| lfs_http_spec.rb | ||
| lfs_locks_api_spec.rb | ||
| oauth_tokens_spec.rb | ||
| openid_connect_spec.rb | ||
| rack_attack_global_spec.rb | ||
| request_profiler_spec.rb | ||
| user_activity_spec.rb | ||