sendgrid-ruby 6.1.3 → 6.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +9 -0
- data/CHANGELOG.md +6 -0
- data/CONTRIBUTING.md +0 -2
- data/README.md +4 -2
- data/lib/sendgrid/client.rb +1 -1
- data/lib/sendgrid/version.rb +1 -1
- data/sendgrid-ruby.gemspec +1 -1
- data/test/sendgrid/test_sendgrid-ruby.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dee5a58da05e1ac621914725e55f8d8edd5fbe41998e63d96ae34a27b61e46c3
|
4
|
+
data.tar.gz: bcafe9bf1024882418c847d5fcc2118c587b4b1275e63033592eb6fc84ab6676
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5349c910cd270a5579f1aef22b860c9267210467115e17b15a873b2d2f9b2f826afa51272b8741035c9426da2bea72a81a0b1f127a3c1a1144afa775689f28c5
|
7
|
+
data.tar.gz: 1cd1328b16c887ac2f1c9b7f5676c07c2bc07b37b8d09419a97b341c1361735608638b27b5eae1acaf99eef1b15eec338014523824ac77abe00fb5cbdb792d9d
|
data/.travis.yml
CHANGED
@@ -29,3 +29,12 @@ deploy:
|
|
29
29
|
tags: true
|
30
30
|
rvm: '2.4'
|
31
31
|
condition: '$BUNDLE_GEMFILE == *"gemfiles/Sinatra_1.gemfile"'
|
32
|
+
|
33
|
+
notifications:
|
34
|
+
slack:
|
35
|
+
if: branch = master
|
36
|
+
on_pull_requests: false
|
37
|
+
on_success: never
|
38
|
+
on_failure: change
|
39
|
+
rooms:
|
40
|
+
- secure: QwoVrGveeA1bo/26fO2A+OQHmUX69NLaC214qd18C1Z8ztYMHkd05/9+k9HFb+PSdPkGLSeYOPWAKJUqJWB7HfGINNGpRGIPFcmfB7vhvvLFnhud/SAdQPRZ+SCeZPdpZcjpVRLYENKv259ucGPBCPFXh1HfJF92R0IrKeW5CII=
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
[2020-04-15] Version 6.1.4
|
5
|
+
--------------------------
|
6
|
+
**Library - Fix**
|
7
|
+
- [PR #416](https://github.com/sendgrid/sendgrid-ruby/pull/416): correct the User-Agent casing. Thanks to [@childish-sambino](https://github.com/childish-sambino)!
|
8
|
+
|
9
|
+
|
4
10
|
[2020-04-01] Version 6.1.3
|
5
11
|
--------------------------
|
6
12
|
**Library - Docs**
|
data/CONTRIBUTING.md
CHANGED
@@ -206,8 +206,6 @@ Please run your code through:
|
|
206
206
|
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
|
207
207
|
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
|
208
208
|
|
209
|
-
If you have any additional questions, please feel free to [email](mailto:dx@sendgrid.com) us or create an issue in this repo.
|
210
|
-
|
211
209
|
<a name="code-reviews"></a>
|
212
210
|
## Code Reviews
|
213
211
|
|
data/README.md
CHANGED
@@ -217,9 +217,11 @@ Please see our [troubleshooting guide](https://github.com/sendgrid/sendgrid-ruby
|
|
217
217
|
<a name="about"></a>
|
218
218
|
# About
|
219
219
|
|
220
|
-
sendgrid-ruby is
|
220
|
+
sendgrid-ruby is maintained and funded by Twilio SendGrid, Inc. The names and logos for sendgrid-ruby are trademarks of Twilio SendGrid, Inc.
|
221
221
|
|
222
|
-
|
222
|
+
If you need help installing or using the library, please check the [Twilio SendGrid Support Help Center](https://support.sendgrid.com).
|
223
|
+
|
224
|
+
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
|
223
225
|
|
224
226
|
<a name="license"></a>
|
225
227
|
# License
|
data/lib/sendgrid/client.rb
CHANGED
@@ -24,7 +24,7 @@ module SendGrid
|
|
24
24
|
{
|
25
25
|
"Authorization": "Bearer ' + @api_key + '",
|
26
26
|
"Accept": "application/json",
|
27
|
-
"User-
|
27
|
+
"User-Agent": "' + @user_agent + '"
|
28
28
|
}
|
29
29
|
')
|
30
30
|
@request_headers['On-Behalf-Of'] = @impersonate_subuser if @impersonate_subuser
|
data/lib/sendgrid/version.rb
CHANGED
data/sendgrid-ruby.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'sendgrid-ruby'
|
8
8
|
spec.version = SendGrid::VERSION
|
9
9
|
spec.authors = ['Elmer Thomas', 'Robin Johnson', 'Eddie Zaneski']
|
10
|
-
spec.email = '
|
10
|
+
spec.email = 'help@twilio.com'
|
11
11
|
spec.summary = 'Official Twilio SendGrid Gem'
|
12
12
|
spec.description = 'Official Twilio SendGrid Gem to Interact with Twilio SendGrids API in native Ruby'
|
13
13
|
spec.homepage = 'http://github.com/sendgrid/sendgrid-ruby'
|
@@ -51,14 +51,14 @@ class TestAPI < MiniTest::Test
|
|
51
51
|
"Authorization": "Bearer SENDGRID_API_KEY",
|
52
52
|
"Accept": "application/json",
|
53
53
|
"X-Test": "test",
|
54
|
-
"User-
|
54
|
+
"User-Agent": "' + user_agent + '",
|
55
55
|
"On-Behalf-Of": "' + subuser + '"
|
56
56
|
}
|
57
57
|
')
|
58
58
|
assert_equal(test_headers, sg.request_headers)
|
59
59
|
assert_equal("v3", sg.version)
|
60
60
|
assert_equal(subuser, sg.impersonate_subuser)
|
61
|
-
assert_equal("6.1.
|
61
|
+
assert_equal("6.1.4", SendGrid::VERSION)
|
62
62
|
assert_instance_of(SendGrid::Client, sg.client)
|
63
63
|
end
|
64
64
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sendgrid-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elmer Thomas
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-04-
|
13
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ruby_http_client
|
@@ -132,7 +132,7 @@ dependencies:
|
|
132
132
|
version: '5.9'
|
133
133
|
description: Official Twilio SendGrid Gem to Interact with Twilio SendGrids API in
|
134
134
|
native Ruby
|
135
|
-
email:
|
135
|
+
email: help@twilio.com
|
136
136
|
executables: []
|
137
137
|
extensions: []
|
138
138
|
extra_rdoc_files: []
|