From 9397d9577f701ea3fdcfd8ef1112c50c44dd7e78 Mon Sep 17 00:00:00 2001 From: Elmer Thomas Date: Wed, 15 Jun 2016 11:37:40 -0700 Subject: [PATCH] Version Bump v3.0.2: Relative import for mail/helper --- CHANGELOG.md | 4 ++++ lib/sendgrid-ruby.rb | 3 ++- sendgrid-ruby.gemspec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eb77daa..6179ccd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log All notable changes to this project will be documented in this file. +## [3.0.2] - 2016-06-15 ## +### Added +- Relative import for mail/helper + ## [3.0.1] - 2016-06-15 ## ### Added - Add mail/send helper to the $LOAD_PATH, updated http client dependency diff --git a/lib/sendgrid-ruby.rb b/lib/sendgrid-ruby.rb index c8d42ca8..0078fd28 100644 --- a/lib/sendgrid-ruby.rb +++ b/lib/sendgrid-ruby.rb @@ -1,5 +1,6 @@ # Quickly and easily access the SendGrid API. require 'ruby_http_client' +require_relative 'helpers/mail' module SendGrid # Initialize the HTTP client @@ -14,7 +15,7 @@ class API # currently only "v3" is supported # def initialize(api_key: nil, host: nil, request_headers: nil, version: nil) - @VERSION = '2.0.0' + @VERSION = '3.0.2' @api_key = api_key @host = host ? host : 'https://api.sendgrid.com' @version = version ? version : 'v3' diff --git a/sendgrid-ruby.gemspec b/sendgrid-ruby.gemspec index d5a5c4ad..fae895df 100644 --- a/sendgrid-ruby.gemspec +++ b/sendgrid-ruby.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = 'sendgrid-ruby' - spec.version = '3.0.1' + spec.version = '3.0.2' spec.authors = ['Elmer Thomas', 'Robin Johnson', 'Eddie Zaneski'] spec.email = 'dx@sendgrid.com' spec.summary = 'Official SendGrid Gem'