v1.1.0
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
- Added configurable default validation type option, #48
- Updated tests
- Updated documentation
- Updated wiki
- Updated gem version to
1.1.0