Truemail v1.0 Release Notes

Release Date: 2019-06-04 // about 3 years ago
  • โž• Added

    • Feature domain whitelist blacklist. Other validations will not processed even if it was defined in validation_type_for.
    Truemail.configure do |config|
      # Optional parameter. Validation of email which contains whitelisted domain
      # always will return true.
      config.whitelisted_domains = ['somedomain1.com', 'somedomain2.com']
    
      # Optional parameter. Validation of email which contains whitelisted domain
      # always will return false.
      config.blacklisted_domains = ['somedomain1.com', 'somedomain2.com']
    end
    

    and

    Truemail.configuration.whitelisted_domains = ['somedomain1.com', 'somedomain2.com']
    Truemail.configuration.blacklisted_domains = ['somedomain1.com', 'somedomain2.com']
    

    โœ‚ Removed

    • :skip validation type for validation_type_for

    ๐Ÿ›  Fixed

    • error key in lower_snake_case

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation