mail-x_smtpapi 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4199abeb56cdf895777cbee9bd73c58411acdb7d
4
- data.tar.gz: 795e6d0621128849e3146b401d886fe06f0d8f3a
3
+ metadata.gz: faded8a2be17af65993f6ed63803c7951bbb1439
4
+ data.tar.gz: cb9f93eef522ca44b8984a98f9343b5797dda7ec
5
5
  SHA512:
6
- metadata.gz: 136dcae4e10be234d0df64f0bc768f62c1cd9dcdecaf1936a0dabf31d77cc7a72525b5e5e88f4968b1e93c97a69f7fbbe3fe829e884a962805fff89367e73162
7
- data.tar.gz: 5791796558dfc2b87d7f6b8ec18666c7aa61a03f31f1bb2bb59497cd6b0f9f30cde06fed4a4bddc1e4c2ec1b01e1d91c85a2e0fd0ac211990cdd7011dfb77853
6
+ metadata.gz: dc53e6f7573a9052e909fd419e2b6ecca9201546237744a80873868e0e7ef7b99d994422c4e022dbeddd1186adb72ef537f78446e0032da764c5458346422a54
7
+ data.tar.gz: 0de530c75683924ef19eb7807589d9b5b8246fb726c9d528451751b2751967a2467bfce4a2a63e4d67f7dcfb7194be9d879d0dd8c2bb9d0ab614f7ee9cf1c4a3
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Mail::X::Smtpapi
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/mail-x_smtpapi.svg)](http://badge.fury.io/rb/mail-x_smtpapi) [![Circle CI](https://img.shields.io/circleci/project/kickstarter/mail-x_smtpapi.svg?style=shield)](https://circleci.com/gh/kickstarter/mail-x_smtpapi/tree/master) [![Code Climate](https://codeclimate.com/github/kickstarter/mail-x_smtpapi/badges/gpa.svg)](https://codeclimate.com/github/kickstarter/mail-x_smtpapi)
4
+
3
5
  Integrates support for SendGrid's X-SMTPAPI field into the [Mail](https://github.com/mikel/mail) gem.
4
6
 
5
7
  Please refer to [SendGrid docs](https://sendgrid.com/docs/API_Reference/SMTP_API/index.html) for ideas of what you can do with the X-SMTPAPI header!
@@ -0,0 +1,3 @@
1
+ machine:
2
+ ruby:
3
+ version: 2.3.1
@@ -0,0 +1,2 @@
1
+ require 'mail_x_smtpapi/version.rb'
2
+ require 'mail/x_smtpapi.rb'
@@ -1,4 +1,5 @@
1
1
  require 'mail'
2
+ require 'json'
2
3
  require_relative 'accessors'
3
4
 
4
5
  module MailXSMTPAPI
@@ -1,3 +1,3 @@
1
1
  module MailXSMTPAPI
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.add_development_dependency "bundler", "~> 1.7"
21
21
  spec.add_development_dependency "rake", "~> 10.0"
22
+ spec.add_development_dependency "minitest"
22
23
 
23
24
  spec.add_dependency "mail", "> 2.6.0"
24
25
  end
@@ -1,6 +1,6 @@
1
1
  require_relative 'test_helper'
2
2
 
3
- class MailXSMTPAPI::AccessorsTest < MiniTest::Unit::TestCase
3
+ class MailXSMTPAPI::AccessorsTest < Minitest::Test
4
4
 
5
5
  def test_to
6
6
  subject.to = 'a@example.com'
@@ -1,6 +1,6 @@
1
1
  require_relative 'test_helper'
2
2
 
3
- class MailIntegrationTest < MiniTest::Unit::TestCase
3
+ class MailIntegrationTest < Minitest::Test
4
4
 
5
5
  def test_smtpapi_accessor
6
6
  assert subject.smtpapi
@@ -1,6 +1,6 @@
1
1
  require_relative 'test_helper'
2
2
 
3
- class MailXSMTPAPI::FieldTest < MiniTest::Unit::TestCase
3
+ class MailXSMTPAPI::FieldTest < Minitest::Test
4
4
  def test_encoded_with_blank_values
5
5
  assert_equal '', subject.new.encoded
6
6
  end
@@ -4,4 +4,4 @@ Bundler.require(:default, :test)
4
4
 
5
5
  require 'minitest/autorun'
6
6
 
7
- require 'mail/x_smtpapi'
7
+ require 'mail-x_smtpapi'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail-x_smtpapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lance Ivy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-06 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: mail
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -64,6 +78,8 @@ files:
64
78
  - LICENSE.txt
65
79
  - README.md
66
80
  - Rakefile
81
+ - circle.yml
82
+ - lib/mail-x_smtpapi.rb
67
83
  - lib/mail/x_smtpapi.rb
68
84
  - lib/mail_x_smtpapi/accessors.rb
69
85
  - lib/mail_x_smtpapi/field.rb
@@ -93,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
109
  version: '0'
94
110
  requirements: []
95
111
  rubyforge_project:
96
- rubygems_version: 2.2.2
112
+ rubygems_version: 2.6.4
97
113
  signing_key:
98
114
  specification_version: 4
99
115
  summary: Adds SendGrid X-SMTPAPI header support to Mail