Skip to content

Commit

Permalink
Technica/Update documentation (#135)
Browse files Browse the repository at this point in the history
* Updated readme
* Updated changelog
  • Loading branch information
bestwebua authored Feb 19, 2021
1 parent 995b835 commit edd53c8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

```ruby
Truemail.configure do |config|
# Optional parameter. This option will provide to use custom DNS gateway when Truemail interacts
# with DNS. If you won't specify nameserver's ports DNS validation layer will use default DNS
# TCP/UDP port 53. By default Truemail uses DNS gateway from system settings and this option
# is equal to empty array.
# Optional parameter. This option will provide to use custom DNS gateway when Truemail
# interacts with DNS. If you won't specify nameserver's ports Truemail will use default
# DNS TCP/UDP port 53. By default Truemail uses DNS gateway from system settings
# and this option is equal to empty array.
config.dns = ['10.0.0.1', '10.0.0.2:5300']
end
```
Expand Down
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ Truemail.configure do |config|
# It is equal to empty array by default.
config.blacklisted_domains = ['somedomain1.com', 'somedomain2.com']

# Optional parameter. This option will provide to use custom DNS gateway when Truemail interacts
# with DNS. If you won't specify nameserver's ports DNS validation layer will use default DNS
# TCP/UDP port 53. By default Truemail uses DNS gateway from system settings and this option
# is equal to empty array.
# Optional parameter. This option will provide to use custom DNS gateway when Truemail
# interacts with DNS. If you won't specify nameserver's ports Truemail will use default
# DNS TCP/UDP port 53. By default Truemail uses DNS gateway from system settings
# and this option is equal to empty array.
config.dns = ['10.0.0.1', '10.0.0.2:54']

# Optional parameter. This option will provide to use not RFC MX lookup flow.
Expand Down Expand Up @@ -1122,16 +1122,16 @@ Truemail::Log::Serializer::AuditorJson.call(Truemail.host_audit)
"dns": "A-record of verifier domain not refers to current host ip address", "ptr": "PTR-record does not reference to current verifier domain"
},
"configuration": {
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null,
"blacklisted_domains": null,
"dns": null,
"email_pattern": "default gem value",
"not_rfc_mx_lookup_flow": false,
"smtp_error_body_pattern": "default gem value",
"smtp_fail_fast": false,
"smtp_safe_check": false,
"email_pattern": "default gem value",
"smtp_error_body_pattern": "default gem value"
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null
}
}
```
Expand Down Expand Up @@ -1162,16 +1162,16 @@ Truemail::Log::Serializer::ValidatorJson.call(Truemail.validate('nonexistent_ema
}
],
"configuration": {
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null,
"blacklisted_domains": null,
"dns": null,
"email_pattern": "default gem value",
"not_rfc_mx_lookup_flow": false,
"smtp_error_body_pattern": "default gem value",
"smtp_fail_fast": false,
"smtp_safe_check": false,
"email_pattern": "default gem value",
"smtp_error_body_pattern": "default gem value"
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null
}
}
```
Expand Down Expand Up @@ -1204,16 +1204,16 @@ Truemail.host_audit.as_json
"dns": "A-record of verifier domain not refers to current host ip address", "ptr": "PTR-record does not reference to current verifier domain"
},
"configuration": {
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null,
"blacklisted_domains": null,
"dns": null,
"email_pattern": "default gem value",
"not_rfc_mx_lookup_flow": false,
"smtp_error_body_pattern": "default gem value",
"smtp_fail_fast": false,
"smtp_safe_check": false,
"email_pattern": "default gem value",
"smtp_error_body_pattern": "default gem value"
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null
}
}

Expand Down Expand Up @@ -1241,16 +1241,16 @@ Truemail.validate('nonexistent_email@bestweb.com.ua').as_json
}
],
"configuration": {
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null,
"blacklisted_domains": null,
"dns": null,
"email_pattern": "default gem value",
"not_rfc_mx_lookup_flow": false,
"smtp_error_body_pattern": "default gem value",
"smtp_fail_fast": false,
"smtp_safe_check": false,
"email_pattern": "default gem value",
"smtp_error_body_pattern": "default gem value"
"validation_type_by_domain": null,
"whitelist_validation": false,
"whitelisted_domains": null
}
}
```
Expand Down

0 comments on commit edd53c8

Please sign in to comment.