README.md in valid_email2-5.3.0 vs README.md in valid_email2-6.0.0
- old
+ new
@@ -82,11 +82,11 @@
```ruby
validates :email, 'valid_email_2/email': { disposable_domain_with_allow_list: true }
```
-To validate that the domain is not on the deny list (under config/deny_list_email_domains.yml):
+To validate that the domain is not on the deny list (under config/deny_listed_email_domains.yml):
```ruby
validates :email, 'valid_email_2/email': { deny_list: true }
```
To validate that email is not subaddressed:
@@ -149,10 +149,10 @@
## Upgrading to v5.3.0
In version v5.3.0 the config directory files were renamed as follows:
-`config/blacklisted_email_domains.yml` -> `config/deny_listed_email_domains.yml`
+`config/blacklisted_email_domains.yml` -> `config/deny_listed_email_domains.yml`
`config/whitelisted_email_domains.yml` -> `config/allow_listed_email_domains.yml`
You won't need to make any changes yourself if you're installing this version for the first time. For individuals updating from earlier versions, make sure to update the file namings as per the above. In future versions this will be a breaking change.
## Upgrading to v3.0.0