smtpapi 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/config.yml +10 -0
- data/.travis.yml +9 -10
- data/CHANGELOG.md +6 -0
- data/FIRST_TIMERS.md +7 -7
- data/{LICENSE.md → LICENSE} +1 -1
- data/PULL_REQUEST_TEMPLATE.md +4 -4
- data/README.md +3 -5
- data/lib/smtpapi/version.rb +1 -1
- data/test/test.rb +3 -3
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4717e99a6c7f243fea15f527521826473b383c7d71ad508986dd700d00dec3cd
|
4
|
+
data.tar.gz: 2afc59658d2068400fc46d2bfa07047bdd21d4a800299d5c640fe58ec80bbc8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44593b44a3e2d7120e1143944688a1f3d66fb9470342b595a1a1831be66595fcd6c1823f3164b34e6dd107a435f9a5578fe443af107f4bae87c9adfd5d357c86
|
7
|
+
data.tar.gz: b0d7391bf856f713efda0d3e9cc41bb4aab1e715dc4543c9c9c3edcf86abe0e380f07bc8ef5bb689aa7094e22bbcd22117ac1f13729e607069c7cd8aba40c792
|
@@ -0,0 +1,10 @@
|
|
1
|
+
contact_links:
|
2
|
+
- name: Twilio SendGrid Support
|
3
|
+
url: https://support.sendgrid.com
|
4
|
+
about: Get Support
|
5
|
+
- name: Stack Overflow
|
6
|
+
url: https://stackoverflow.com/questions/tagged/smtpapi-ruby+or+sendgrid+ruby
|
7
|
+
about: Ask questions on Stack Overflow
|
8
|
+
- name: Documentation
|
9
|
+
url: https://sendgrid.com/docs/for-developers/
|
10
|
+
about: View Reference Documentation
|
data/.travis.yml
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
- 2.7
|
4
|
+
- 2.6
|
5
|
+
- 2.5
|
6
|
+
- 2.4
|
7
|
+
- jruby-9.2
|
8
8
|
before_script:
|
9
|
-
|
9
|
+
- make install
|
10
10
|
script:
|
11
|
-
|
11
|
+
- make test
|
12
12
|
deploy:
|
13
13
|
provider: rubygems
|
14
|
-
api_key: $RUBYGEMS_API_KEY
|
14
|
+
api_key: "$RUBYGEMS_API_KEY"
|
15
15
|
gem: smtpapi
|
16
16
|
on:
|
17
17
|
tags: true
|
18
18
|
rvm: '2.4'
|
19
19
|
skip_cleanup: true
|
20
|
-
|
21
20
|
notifications:
|
22
21
|
slack:
|
23
22
|
if: branch = main
|
@@ -25,4 +24,4 @@ notifications:
|
|
25
24
|
on_success: never
|
26
25
|
on_failure: change
|
27
26
|
rooms:
|
28
|
-
|
27
|
+
secure: F5/iPScUfgbtjvfAOrU7gyptywZ2JvuC3Wil2I0eebmYTzcg5is0uDwViF1Qt1hQ5yQeKEtza8R7j+ug8MkANjWQOL3w5zMXBKL6UCHV1YLyDW47AAaELouz7yoTjZtu7VvbxPYGxk47eNCRlRfAMHl9VJd1SepXlrTQtwtOHVw=
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
[2022-01-12] Version 0.1.10
|
7
|
+
---------------------------
|
8
|
+
**Library - Chore**
|
9
|
+
- [PR #98](https://github.com/sendgrid/smtpapi-ruby/pull/98): update license year. Thanks to [@JenniferMah](https://github.com/JenniferMah)!
|
10
|
+
|
11
|
+
|
6
12
|
[2020-09-02] Version 0.1.9
|
7
13
|
--------------------------
|
8
14
|
**Library - Chore**
|
data/FIRST_TIMERS.md
CHANGED
@@ -61,13 +61,13 @@ Before creating a pull request, make sure that you respect the repository's cons
|
|
61
61
|
* [Node.js SDK](https://github.com/sendgrid/sendgrid-nodejs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
62
62
|
* [Java SDK](https://github.com/sendgrid/sendgrid-java/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
63
63
|
* [Go SDK](https://github.com/sendgrid/sendgrid-go/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
64
|
-
* [Python
|
65
|
-
* [PHP
|
66
|
-
* [C#
|
67
|
-
* [Ruby
|
68
|
-
* [Node.js
|
69
|
-
* [Java
|
70
|
-
* [Go
|
64
|
+
* [Python SMTPAPI Client](https://github.com/sendgrid/smtpapi-python/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
65
|
+
* [PHP SMTPAPI Client](https://github.com/sendgrid/smtpapi-php/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
66
|
+
* [C# SMTPAPI Client](https://github.com/sendgrid/smtpapi-csharp/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
67
|
+
* [Ruby SMTPAPI Client](https://github.com/sendgrid/smtpapi-ruby/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
68
|
+
* [Node.js SMTPAPI Client](https://github.com/sendgrid/smtpapi-nodejs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
69
|
+
* [Java SMTPAPI Client](https://github.com/sendgrid/smtpapi-java/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
70
|
+
* [Go SMTPAPI Client](https://github.com/sendgrid/smtpapi-go/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
71
71
|
* [Python HTTP Client](https://github.com/sendgrid/python-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
72
72
|
* [PHP HTTP Client](https://github.com/sendgrid/php-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
73
73
|
* [C# HTTP Client](https://github.com/sendgrid/csharp-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
|
data/{LICENSE.md → LICENSE}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (C)
|
3
|
+
Copyright (C) 2022, Twilio SendGrid, Inc. <help@twilio.com>
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
data/PULL_REQUEST_TEMPLATE.md
CHANGED
@@ -19,13 +19,13 @@ Closes #2
|
|
19
19
|
A short description of what this PR does.
|
20
20
|
|
21
21
|
### Checklist
|
22
|
-
- [
|
22
|
+
- [x] I acknowledge that all my contributions will be made under the project's license
|
23
23
|
- [ ] I have made a material change to the repo (functionality, testing, spelling, grammar)
|
24
|
-
- [ ] I have read the [Contribution Guidelines](CONTRIBUTING.md) and my PR follows them
|
24
|
+
- [ ] I have read the [Contribution Guidelines](https://github.com/sendgrid/smtpapi-ruby/blob/main/CONTRIBUTING.md) and my PR follows them
|
25
25
|
- [ ] I have titled the PR appropriately
|
26
26
|
- [ ] I have updated my branch with the main branch
|
27
27
|
- [ ] I have added tests that prove my fix is effective or that my feature works
|
28
|
-
- [ ] I have added necessary documentation about the functionality in the appropriate .md file
|
28
|
+
- [ ] I have added the necessary documentation about the functionality in the appropriate .md file
|
29
29
|
- [ ] I have added inline documentation to the code I modified
|
30
30
|
|
31
|
-
If you have questions, please file a [support ticket](https://
|
31
|
+
If you have questions, please file a [support ticket](https://support.sendgrid.com), or create a GitHub Issue in this repository.
|
data/README.md
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
![SendGrid Logo](twilio_sendgrid_logo.png)
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.
|
3
|
+
[![Build Status](https://travis-ci.com/sendgrid/smtpapi-ruby.svg?branch=main)](https://travis-ci.com/sendgrid/smtpapi-ruby)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/smtpapi.svg)](https://badge.fury.io/rb/smtpapi)
|
5
|
-
[![
|
6
|
-
[![Gem Version](https://badge.fury.io/rb/sendgrid-ruby.svg)](https://badge.fury.io/rb/sendgrid-ruby)
|
7
|
-
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
|
5
|
+
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
|
8
6
|
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)
|
9
7
|
[![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/smtpapi-ruby.svg)](https://github.com/sendgrid/smtpapi-ruby/graphs/contributors)
|
10
8
|
|
@@ -106,4 +104,4 @@ If you've instead found a bug in the library or would like new features added, g
|
|
106
104
|
<a name="license"></a>
|
107
105
|
# License
|
108
106
|
|
109
|
-
[The MIT License (MIT)](LICENSE
|
107
|
+
[The MIT License (MIT)](LICENSE)
|
data/lib/smtpapi/version.rb
CHANGED
data/test/test.rb
CHANGED
@@ -7,7 +7,7 @@ require './lib/smtpapi'
|
|
7
7
|
#
|
8
8
|
class SmtpapiTest < Test::Unit::TestCase
|
9
9
|
def test_version
|
10
|
-
assert_equal('0.1.
|
10
|
+
assert_equal('0.1.10', Smtpapi::VERSION)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_empty
|
@@ -251,7 +251,7 @@ class SmtpapiTest < Test::Unit::TestCase
|
|
251
251
|
end
|
252
252
|
|
253
253
|
def test_license_exists
|
254
|
-
assert(File.file?('./LICENSE
|
254
|
+
assert(File.file?('./LICENSE'))
|
255
255
|
end
|
256
256
|
|
257
257
|
def test_pull_request_template_exists
|
@@ -275,7 +275,7 @@ class SmtpapiTest < Test::Unit::TestCase
|
|
275
275
|
# end
|
276
276
|
|
277
277
|
def test_license_date_is_updated
|
278
|
-
license_year = IO.read('LICENSE
|
278
|
+
license_year = IO.read('LICENSE').match(
|
279
279
|
/Copyright \(C\) (\d{4}), Twilio SendGrid/
|
280
280
|
)[1]
|
281
281
|
current_year = Time.new.year
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smtpapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wataru Sato
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -83,6 +83,7 @@ extra_rdoc_files: []
|
|
83
83
|
files:
|
84
84
|
- ".codeclimate.yml"
|
85
85
|
- ".env_sample"
|
86
|
+
- ".github/ISSUE_TEMPLATE/config.yml"
|
86
87
|
- ".gitignore"
|
87
88
|
- ".rubocop.yml"
|
88
89
|
- ".travis.yml"
|
@@ -92,7 +93,7 @@ files:
|
|
92
93
|
- FIRST_TIMERS.md
|
93
94
|
- Gemfile
|
94
95
|
- ISSUE_TEMPLATE.md
|
95
|
-
- LICENSE
|
96
|
+
- LICENSE
|
96
97
|
- Makefile
|
97
98
|
- PULL_REQUEST_TEMPLATE.md
|
98
99
|
- README.md
|