Skip to content

v1.1.0

Compare
Choose a tag to compare
@bestwebua bestwebua released this 18 Jun 05:43
· 213 commits to master since this release
a8152d4

Implemented configurable default validation type.

You can predefine default validation type for Truemail.validate('[email protected]') call without with-parameter. Available validation types: :regex, :mx, :smtp. By default validation type still remains :smtp

Truemail.configure do |config|
  config.verifier_email = '[email protected]'
  config.default_validation_type = :mx
end
  1. Added configurable default validation type option, #48
  2. Updated tests
  3. Updated documentation
  4. Updated wiki
  5. Updated gem version to 1.1.0