sendgrid-ruby 6.5.0 → 6.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/lib/sendgrid/version.rb +1 -1
- data/spec/sendgrid/helpers/settings/mail_settings_dto_spec.rb +2 -2
- data/spec/sendgrid/helpers/settings/partner_settings_dto_spec.rb +2 -2
- data/spec/sendgrid/helpers/settings/tracking_settings_dto_spec.rb +2 -2
- data/spec/sendgrid/helpers/settings/user_settings_dto_spec.rb +2 -2
- data/test/sendgrid/test_sendgrid-ruby.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1a6640bcc2d82d5d20822a16795d3d2bff5ca408a7d65be07d0af036052c4fc
|
4
|
+
data.tar.gz: 53a40b16fd0fed9228586419bd7d24bb60511836f7480bec2ff6656333596197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9136bda6b410d9d82c0884621ac4e632e76edbdfa2152fbefa92a13cdde81333d1b48657cd2711e92adfea7e66f2948bbbb099ccde2c6ea0c6b562ce15005bf
|
7
|
+
data.tar.gz: a7c0135e5bfa4fa3186d1c5742f1aae7d909c34d986c7fe4d4baa3d4994a07e837f7d871d368361a91578bab4ce6aab07f14366281904195d756535a47b81236
|
data/.travis.yml
CHANGED
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
|
+
[2021-09-08] Version 6.5.1
|
5
|
+
--------------------------
|
6
|
+
**Library - Chore**
|
7
|
+
- [PR #470](https://github.com/sendgrid/sendgrid-ruby/pull/470): add support for ruby 3.0. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!
|
8
|
+
|
9
|
+
|
4
10
|
[2021-08-11] Version 6.5.0
|
5
11
|
--------------------------
|
6
12
|
**Library - Feature**
|
data/lib/sendgrid/version.rb
CHANGED
@@ -19,14 +19,14 @@ describe SendGrid::MailSettingsDto do
|
|
19
19
|
describe '.fetch' do
|
20
20
|
it 'calls get on sendgrid_client' do
|
21
21
|
args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
|
22
|
-
expect(mail_settings.fetch(args)).to be_a SendGrid::Response
|
22
|
+
expect(mail_settings.fetch(**args)).to be_a SendGrid::Response
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
26
|
describe '.update' do
|
27
27
|
it 'calls patch on sendgrid_client' do
|
28
28
|
args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
|
29
|
-
expect(mail_settings.update(args)).to be_a SendGrid::Response
|
29
|
+
expect(mail_settings.update(**args)).to be_a SendGrid::Response
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -11,14 +11,14 @@ describe SendGrid::PartnerSettingsDto do
|
|
11
11
|
describe '.fetch' do
|
12
12
|
it 'calls get on sendgrid_client' do
|
13
13
|
args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
|
14
|
-
expect(partner_settings.fetch(args)).to be_a SendGrid::Response
|
14
|
+
expect(partner_settings.fetch(**args)).to be_a SendGrid::Response
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
describe '.update' do
|
19
19
|
it 'calls patch on sendgrid_client' do
|
20
20
|
args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
|
21
|
-
expect(partner_settings.update(args)).to be_a SendGrid::Response
|
21
|
+
expect(partner_settings.update(**args)).to be_a SendGrid::Response
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -14,14 +14,14 @@ describe SendGrid::TrackingSettingsDto do
|
|
14
14
|
describe '.fetch' do
|
15
15
|
it 'calls get on sendgrid_client' do
|
16
16
|
args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
|
17
|
-
expect(tracking_settings.fetch(args)).to be_a SendGrid::Response
|
17
|
+
expect(tracking_settings.fetch(**args)).to be_a SendGrid::Response
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
21
|
describe '.update' do
|
22
22
|
it 'calls patch on sendgrid_client' do
|
23
23
|
args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
|
24
|
-
expect(tracking_settings.update(args)).to be_a SendGrid::Response
|
24
|
+
expect(tracking_settings.update(**args)).to be_a SendGrid::Response
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -11,14 +11,14 @@ describe SendGrid::UserSettingsDto do
|
|
11
11
|
describe '.fetch' do
|
12
12
|
it 'calls get on sendgrid_client' do
|
13
13
|
args = { sendgrid_client: sendgrid_client, name: setting_name, query_params: {} }
|
14
|
-
expect(user_settings.fetch(args)).to be_a SendGrid::Response
|
14
|
+
expect(user_settings.fetch(**args)).to be_a SendGrid::Response
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
describe '.update' do
|
19
19
|
it 'calls patch on sendgrid_client' do
|
20
20
|
args = { sendgrid_client: sendgrid_client, name: setting_name, request_body: setting_params }
|
21
|
-
expect(user_settings.update(args)).to be_a SendGrid::Response
|
21
|
+
expect(user_settings.update(**args)).to be_a SendGrid::Response
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -33,7 +33,7 @@ class TestAPI < MiniTest::Test
|
|
33
33
|
assert_equal(test_headers, sg.request_headers)
|
34
34
|
assert_equal('v3', sg.version)
|
35
35
|
assert_equal(subuser, sg.impersonate_subuser)
|
36
|
-
assert_equal('6.5.
|
36
|
+
assert_equal('6.5.1', SendGrid::VERSION)
|
37
37
|
assert_instance_of(SendGrid::Client, sg.client)
|
38
38
|
assert_equal({}, sg.http_options)
|
39
39
|
end
|
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.5.
|
4
|
+
version: 6.5.1
|
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: 2021-08
|
13
|
+
date: 2021-09-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ruby_http_client
|