Skip to content

Releases: truemail-rb/truemail-ruby-client

v0.3.1

08 May 13:55
02b1fad
Compare
Choose a tag to compare
  • Updated Truemail::Client
  • Updated Truemail::Client::Configuration
  • Updated gem development dependencies
  • Updated rubocop/codeclimate config
  • Updated changelog, gem version

v0.3.0

28 Oct 09:57
3c2f0cf
Compare
Choose a tag to compare

Truemail client sends encoded uri params, follows RFC 3986, sec 2.1.

  • Updated Truemail::Client::Http#request_uri
  • Updated gem dependencies
  • Updated linter configs
  • Updated gem version, changelog, docs

v0.2.1

05 Oct 09:10
5cbd98a
Compare
Choose a tag to compare

Removed auth headers for public endpoint request.

  • Updated Truemail::Client::Http#run, tests
  • Updated gem version

Feature/Ability to use Truemail healthcheck endpoint

04 Oct 19:07
623d3a7
Compare
Choose a tag to compare

After successful configuration, you can check health-status of Truemail server:

Truemail::Client.server_healthy?

=> true
  • Updated Truemail::Client::Http, tests
  • Updated Truemail::Client, tests
  • Updated gem documentation
  • Updated gem version

v0.1.1

21 Jul 05:44
1fcf896
Compare
Choose a tag to compare
  • Updated gem dependencies
  • Updated gem documentation
  • Updated gem version

v0.1.0

29 Mar 15:59
6848a0b
Compare
Choose a tag to compare

First version of Truemail Ruby client.

require 'truemail/client'

Truemail::Client.configure do |config|
  config.secure_connection = true
  config.host = 'example.com'
  config.port = 80
  config.token = 'token'
end

Truemail::Client.validate('admin@bestweb.com.ua')

=>

{
  "date": "2020-02-26 17:00:56 +0200",
  "email": "admin@bestweb.com.ua",
  "validation_type": "smtp",
  "success": true,
  "errors": null,
  "smtp_debug": null,
  "configuration": {
    "validation_type_by_domain": null,
    "whitelist_validation": false,
    "whitelisted_domains": null,
    "blacklisted_domains": null,
    "smtp_safe_check": false,
    "email_pattern": "default gem value",
    "smtp_error_body_pattern": "default gem value"
  }
}