README.md in truemail-0.1.10 vs README.md in truemail-0.2.0

- old
+ new

@@ -6,10 +6,11 @@ ## Features - Configurable validator, validate only what you need - Zero runtime dependencies +- Has simple SMTP debugger - 100% test coverage ## Installation Add this line to your application's Gemfile: @@ -71,13 +72,13 @@ # This parameter uses in mx lookup timeout error and smtp request (for cases when # there is one mx server). config.connection_attempts = 3 # Optional parameter. You can predefine which type of validation will be used for domains. - # Available validation types: :regex, :mx, :smtp + # Also you can skip validation by domain. Available validation types: :regex, :mx, :smtp, :skip # This configuration will be used over current or default validation type parameter # All of validations for 'somedomain.com' will be processed with mx validation only - config.validation_type_for = { 'somedomain.com' => :mx } + config.validation_type_for = { 'somedomain.com' => :mx, 'otherdomain.com' => :skip } # Optional parameter. This option will be parse bodies of SMTP errors. It will be helpful # if SMTP server does not return an exact answer that the email does not exist # By default this option is disabled, available for SMTP validation only. config.smtp_safe_check = true