lib/locales/en.yml in missing_validators-2.2.0 vs lib/locales/en.yml in missing_validators-2.3.0
- old
+ new
@@ -5,10 +5,11 @@
inequality: "cannot be equal to %{value}"
equality: "must be equal to %{value}"
email: "is not a valid email address"
url: "is not a valid URL"
mac_address: "is not a valid MAC address"
+ ip_address: "is not a valid IP address"
longitude: "is not a valid longitude"
latitude: "is not a valid latitude"
color: "is not a valid hexadecimal color"
missing_validators:
matchers:
@@ -19,5 +20,11 @@
failure_message_for_should: "#{model} should ensure valid URL format of attribute #{attr}"
failure_message_for_should_not: "#{model} should not ensure valid URL format of attribute #{attr}"
ensure_valid_mac_address_format_of:
failure_message_for_should: "#{model} should ensure valid MAC address format of attribute #{attr}"
failure_message_for_should_not: "#{model} should not ensure valid MAC address format of attribute #{attr}"
+ ensure_valid_latitude_format_of:
+ failure_message_for_should: "#{model} should ensure valid latitude format of attribute #{attr}"
+ failure_message_for_should_not: "#{model} should not ensure valid latitude format of attribute #{attr}"
+ ensure_valid_longitude_format_of:
+ failure_message_for_should: "#{model} should ensure valid longitude format of attribute #{attr}"
+ failure_message_for_should_not: "#{model} should not ensure valid longitude format of attribute #{attr}"