Truemail v3.0.0 Release Notes
-
➕ Added
- ➕ Added ability to specify whitelisted/blacklisted emails by complete match
Truemail.configure do |config| # Optional parameter. Validation of email which contains whitelisted emails always will # return true. Other validations will not processed even if it was defined in validation_type_for # It is equal to empty array by default. config.whitelisted_emails = %w[[email protected] [email protected]] # Optional parameter. Validation of email which contains blacklisted emails always will # return false. Other validations will not processed even if it was defined in validation_type_for # It is equal to empty array by default. config.blacklisted_emails = %w[[email protected] [email protected]] end
⚡️ Updated
- ⚡️ Updated
Truemail::Configuration
, tests - ⚡️ Updated namespace from
Truemail::Validate::DomainListMatch
toTruemail::Validate::ListMatch
- ⚡️ Updated `Truemail::Validator#run, tests
- ⚡️ Updated
Truemail::Log::Serializer::ValidatorJson
, tests - ⚡️ Updated
Truemail::Log::Serializer::ValidatorText
, tests - ⚡️ Updated
Truemail::Log::Serializer::AuditorJson
, tests - ⚡️ Updated schemas, gemspecs, circleci/codeclimate config
- ⚡️ Updated docs, gem version