sendgrid-ruby 6.6.1 → 6.7.0

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
  SHA256:
3
- metadata.gz: abfc055d77d3dc9da72f8449a57051c7dcd79a821988f917b60db7eb49be70ef
4
- data.tar.gz: f9f5fcfe2d803994a16e3739aed73953b2571c50835e4465017b9dddf001eec9
3
+ metadata.gz: 0007b5954e3a33c0f866a22292cbdbdac34bc9765bf6cbca06e0c0bef6551e6b
4
+ data.tar.gz: 507d9e1a7e29bfb3c8c47d1f78ff8f36ac0d215265387c92e2b87ec41810ebac
5
5
  SHA512:
6
- metadata.gz: b7a74ad72e927a00371e417c5c46db03c84b1c5854eef0d881954505d600daa03b8ac6832cefd95e3ffe5aaa4815b7d0906fdfa901f3290798c2ad560806fce7
7
- data.tar.gz: ab74f884b09ed1bb453cb93926576c84a48676f44ba087e9d6c670a6f627f6866a79f6acc3737f14974a5148e950c2b010853d8a9318c63f4b4170250b5e7638
6
+ metadata.gz: c1895f4561c350751bc1aa22b4995132d04fa6c5b76368f57eccde5673114ef50ca42b7d20ebf71d2a35ba2f03c78ebb5b58733c00a004878088fe146dbd0ba6
7
+ data.tar.gz: f3e132f93d9bca92bcf44540f2520e8f66fff095cfc9057aefedf7ffbdc848326259b249ae1567e380bcc1b76b737a63d8a90ff02df0dd94883b985feb7ac1f7
@@ -0,0 +1,15 @@
1
+ name: Lint PR
2
+ on:
3
+ pull_request_target:
4
+ types: [ opened, edited, synchronize, reopened ]
5
+
6
+ jobs:
7
+ validate:
8
+ name: Validate title
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: amannn/action-semantic-pull-request@v4
12
+ with:
13
+ types: chore docs fix feat test misc
14
+ env:
15
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -96,6 +96,11 @@ jobs:
96
96
  gem build *.gemspec
97
97
  gem push *.gem
98
98
 
99
+ - name: Submit metric to Datadog
100
+ uses: sendgrid/dx-automator/actions/datadog-release-metric@main
101
+ env:
102
+ DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
103
+
99
104
  notify-on-failure:
100
105
  name: Slack notify on failure
101
106
  if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
data/CHANGELOG.md CHANGED
@@ -1,6 +1,24 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ [2023-12-01] Version 6.7.0
5
+ --------------------------
6
+ **Library - Feature**
7
+ - [PR #496](https://github.com/sendgrid/sendgrid-ruby/pull/496): geolocation setter in sendgrid-ruby for GDPR compliance. Thanks to [@manisha1997](https://github.com/manisha1997)!
8
+
9
+ **Library - Test**
10
+ - [PR #488](https://github.com/sendgrid/sendgrid-ruby/pull/488): Adding misc as PR type. Thanks to [@rakatyal](https://github.com/rakatyal)!
11
+
12
+ **Library - Docs**
13
+ - [PR #486](https://github.com/sendgrid/sendgrid-ruby/pull/486): Modify README. Thanks to [@garethpaul](https://github.com/garethpaul)!
14
+
15
+
16
+ [2022-03-09] Version 6.6.2
17
+ --------------------------
18
+ **Library - Chore**
19
+ - [PR #483](https://github.com/sendgrid/sendgrid-ruby/pull/483): push Datadog Release Metric upon deploy success. Thanks to [@eshanholtz](https://github.com/eshanholtz)!
20
+
21
+
4
22
  [2022-02-09] Version 6.6.1
5
23
  --------------------------
6
24
  **Library - Chore**
data/CONTRIBUTING.md CHANGED
@@ -1,9 +1,6 @@
1
1
  Hello! Thank you for choosing to help contribute to one of the Twilio SendGrid open-source libraries. There are many ways you can contribute and help is always welcome. We simply ask that you follow the following contribution policies.
2
2
 
3
3
  **All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.**
4
- - [Feature Request](#feature-request)
5
- - [Submit a Bug Report](#submit-a-bug-report)
6
- - [Please use our Bug Report Template](#please-use-our-bug-report-template)
7
4
  - [Improvements to the Codebase](#improvements-to-the-codebase)
8
5
  - [Development Environment](#development-environment)
9
6
  - [Install and Run Locally](#install-and-run-locally)
@@ -19,33 +16,6 @@ Hello! Thank you for choosing to help contribute to one of the Twilio SendGrid o
19
16
 
20
17
  There are a few ways to contribute, which we'll enumerate below:
21
18
 
22
- <a name="feature-request"></a>
23
- ## Feature Request
24
-
25
- If you'd like to make a feature request, please read this section.
26
-
27
- The GitHub issue tracker is the preferred channel for library feature requests, but please respect the following restrictions:
28
-
29
- - Please **search for existing issues** in order to ensure we don't have duplicate bugs/feature requests.
30
- - Please be respectful and considerate of others when commenting on issues
31
-
32
- <a name="submit-a-bug-report"></a>
33
- ## Submit a Bug Report
34
-
35
- Note: DO NOT include your credentials in ANY code examples, descriptions, or media you make public.
36
-
37
- A software bug is a demonstrable issue in the code base. In order for us to diagnose the issue and respond as quickly as possible, please add as much detail as possible into your bug report.
38
-
39
- Before you decide to create a new issue, please try the following:
40
-
41
- 1. Check the Github issues tab if the identified issue has already been reported, if so, please add a +1 to the existing post.
42
- 2. Update to the latest version of this code and check if an issue has already been fixed
43
- 3. Copy and fill in the Bug Report Template we have provided below
44
-
45
- ### Please use our Bug Report Template
46
-
47
- In order to make the process easier, we've included a [sample bug report template](ISSUE_TEMPLATE.md).
48
-
49
19
  <a name="improvements-to-the-codebase"></a>
50
20
  ## Improvements to the Codebase
51
21
 
data/FIRST_TIMERS.md CHANGED
@@ -51,29 +51,3 @@ git push origin <topic-branch-name>
51
51
  ## Important notice
52
52
 
53
53
  Before creating a pull request, make sure that you respect the repository's constraints regarding contributions. You can find them in the [CONTRIBUTING.md](CONTRIBUTING.md) file.
54
-
55
- ## Repositories with Open, Easy, Help Wanted, Issue Filters
56
-
57
- * [Python SDK](https://github.com/sendgrid/sendgrid-python/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
58
- * [PHP SDK](https://github.com/sendgrid/sendgrid-php/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
59
- * [C# SDK](https://github.com/sendgrid/sendgrid-csharp/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
60
- * [Ruby SDK](https://github.com/sendgrid/sendgrid-ruby/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
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
- * [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
- * [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 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
- * [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
- * [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
- * [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)
74
- * [Java HTTP Client](https://github.com/sendgrid/java-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
75
- * [Ruby HTTP Client](https://github.com/sendgrid/ruby-http-client/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
76
- * [Go HTTP Client](https://github.com/sendgrid/rest/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
77
- * [Open API Definition](https://github.com/sendgrid/sendgrid-oai/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
78
- * [DX Automator](https://github.com/sendgrid/dx-automator/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
79
- * [Documentation](https://github.com/sendgrid/docs/issues?utf8=%E2%9C%93&q=is%3Aopen+label%3A%22difficulty%3A+easy%22+label%3A%22status%3A+help+wanted%22)
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (C) 2022, Twilio SendGrid, Inc. <help@twilio.com>
3
+ Copyright (C) 2023, 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
@@ -3,7 +3,7 @@ We appreciate the effort for this pull request but before that please make sure
3
3
 
4
4
  Please format the PR title appropriately based on the type of change:
5
5
  <type>[!]: <description>
6
- Where <type> is one of: docs, chore, feat, fix, test.
6
+ Where <type> is one of: docs, chore, feat, fix, test, misc.
7
7
  Add a '!' after the type for breaking changes (e.g. feat!: new breaking feature).
8
8
 
9
9
  **All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.**
data/README.md CHANGED
@@ -7,17 +7,13 @@
7
7
  [![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/sendgrid-ruby.svg)](https://github.com/sendgrid/sendgrid-ruby/graphs/contributors)
8
8
  [![Open Source Helpers](https://www.codetriage.com/sendgrid/sendgrid-ruby/badges/users.svg)](https://www.codetriage.com/sendgrid/sendgrid-ruby)
9
9
 
10
- **The default branch name for this repository has been changed to `main` as of 07/27/2020.**
11
-
12
10
  **This library allows you to quickly and easily use the Twilio SendGrid Web API v3 via Ruby.**
13
11
 
14
12
  Version 3.X.X+ of this library provides full support for all Twilio SendGrid [Web API v3](https://sendgrid.com/docs/API_Reference/Web_API_v3/index.html) endpoints, including the new [v3 /mail/send](https://sendgrid.com/blog/introducing-v3mailsend-sendgrids-new-mail-endpoint).
15
13
 
16
14
  This library represents the beginning of a new path for Twilio SendGrid. We want this library to be community driven and Twilio SendGrid led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/sendgrid/sendgrid-ruby/issues) and [pull requests](CONTRIBUTING.md) or simply upvote or comment on existing issues or pull requests.
17
15
 
18
- Please browse the rest of this README for further details.
19
-
20
- We appreciate your continued support, thank you!
16
+ **If you need help using SendGrid, please check the [Twilio SendGrid Support Help Center](https://support.sendgrid.com).**
21
17
 
22
18
  # Table of Contents
23
19
 
@@ -31,6 +27,7 @@ We appreciate your continued support, thank you!
31
27
  * [How to Contribute](#contribute)
32
28
  * [Troubleshooting](#troubleshooting)
33
29
  * [About](#about)
30
+ * [Support](#support)
34
31
  * [License](#license)
35
32
 
36
33
  <a name="installation"></a>
@@ -187,9 +184,7 @@ Please see [our helper](lib/sendgrid/helpers/inbound) for utilizing our Inbound
187
184
  <a name="announcements"></a>
188
185
  # Announcements
189
186
 
190
- Please see our announcement regarding [breaking changes](https://github.com/sendgrid/sendgrid-ruby/issues/94). Your support is appreciated!
191
-
192
- All updates to this library are documented in our [CHANGELOG](CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-ruby/releases). You may also subscribe to email [release notifications](https://dx.sendgrid.com/newsletter/ruby) for releases and breaking changes.
187
+ All updates to this library are documented in our [CHANGELOG](CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-ruby/releases).
193
188
 
194
189
  <a name="contribute"></a>
195
190
  # How to Contribute
@@ -211,9 +206,9 @@ Please see our [troubleshooting guide](TROUBLESHOOTING.md) for common library is
211
206
 
212
207
  sendgrid-ruby is maintained and funded by Twilio SendGrid, Inc. The names and logos for sendgrid-ruby are trademarks of Twilio SendGrid, Inc.
213
208
 
214
- If you need help installing or using the library, please check the [Twilio SendGrid Support Help Center](https://support.sendgrid.com).
209
+ <a name="support"></a>
215
210
 
216
- 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!
211
+ If you need help using SendGrid, please check the [Twilio SendGrid Support Help Center](https://support.sendgrid.com).
217
212
 
218
213
  <a name="license"></a>
219
214
  # License
@@ -0,0 +1,48 @@
1
+ require 'sendgrid-ruby'
2
+
3
+ # Example 1
4
+ # Sending using "global" data residency
5
+
6
+ from = SendGrid::Email.new(email: 'example@abc.com')
7
+ to = SendGrid::Email.new(email: 'example@abc.com')
8
+ subject = 'Sending with Twilio SendGrid is Fun'
9
+ content = SendGrid::Content.new(type: 'text/plain', value: 'and easy to do anywhere, even with Ruby')
10
+ mail = SendGrid::Mail.new(from, subject, to, content)
11
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
12
+ sg.sendgrid_data_residency(region: "global")
13
+ puts sg.host
14
+ response = sg.client.mail._('send').post(request_body: mail.to_json)
15
+ puts response.status_code
16
+ puts response.body
17
+ puts response.headers
18
+
19
+ # Example 2
20
+ # Sending using "eu" data residency
21
+
22
+ from = SendGrid::Email.new(email: 'example@abc.com')
23
+ to = SendGrid::Email.new(email: 'example@abc.com')
24
+ subject = 'Sending with Twilio SendGrid is Fun'
25
+ content = SendGrid::Content.new(type: 'text/plain', value: 'and easy to do anywhere, even with Ruby')
26
+ mail = SendGrid::Mail.new(from, subject, to, content)
27
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY_EU'])
28
+ sg.sendgrid_data_residency(region: 'eu')
29
+ puts sg.host
30
+ response = sg.client.mail._('send').post(request_body: mail.to_json)
31
+ puts response.status_code
32
+ puts response.body
33
+ puts response.headers
34
+
35
+ # Example 3
36
+ # Sending using no data residency
37
+
38
+ from = SendGrid::Email.new(email: 'example@abc.com')
39
+ to = SendGrid::Email.new(email: 'example@abc.com')
40
+ subject = 'Sending with Twilio SendGrid is Fun'
41
+ content = SendGrid::Content.new(type: 'text/plain', value: 'and easy to do anywhere, even with Ruby')
42
+ mail = SendGrid::Mail.new(from, subject, to, content)
43
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
44
+ puts sg.host
45
+ response = sg.client.mail._('send').post(request_body: mail.to_json)
46
+ puts response.status_code
47
+ puts response.body
48
+ puts response.headers
@@ -37,4 +37,21 @@ class BaseInterface
37
37
  request_headers: @request_headers,
38
38
  http_options: @http_options)
39
39
  end
40
+
41
+ # Client libraries contain setters for specifying region/edge.
42
+ # This supports global and eu regions only. This set will likely expand in the future.
43
+ # Global is the default residency (or region)
44
+ # Global region means the message will be sent through https://api.sendgrid.com
45
+ # EU region means the message will be sent through https://api.eu.sendgrid.com
46
+ # Parameters:
47
+ # - region(String) : specify the region. Currently supports "global" and "eu"
48
+ def sendgrid_data_residency(region:)
49
+ region_host_dict = { "eu" => 'https://api.eu.sendgrid.com', "global" => 'https://api.sendgrid.com' }
50
+ raise ArgumentError, "region can only be \"eu\" or \"global\"" if region.nil? || !region_host_dict.key?(region)
51
+
52
+ @host = region_host_dict[region]
53
+ @client = SendGrid::Client.new(host: "#{@host}/#{@version}",
54
+ request_headers: @request_headers,
55
+ http_options: @http_options)
56
+ end
40
57
  end
@@ -1,3 +1,3 @@
1
1
  module SendGrid
2
- VERSION = '6.6.1'.freeze
2
+ VERSION = '6.7.0'.freeze
3
3
  end
@@ -0,0 +1,44 @@
1
+ require_relative '../../../../lib/sendgrid-ruby'
2
+ require 'minitest/autorun'
3
+
4
+ class TestDataResidency < Minitest::Test
5
+ include SendGrid
6
+
7
+ def setup
8
+ @global_email = 'https://api.sendgrid.com'
9
+ @eu_email = 'https://api.eu.sendgrid.com'
10
+ end
11
+
12
+ def test_with_global_data_residency
13
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
14
+ sg.sendgrid_data_residency(region: 'global')
15
+ assert_equal @global_email, sg.host
16
+ end
17
+
18
+ def test_with_global_eu_residency
19
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
20
+ sg.sendgrid_data_residency(region: 'eu')
21
+ assert_equal @eu_email, sg.host
22
+ end
23
+
24
+ def test_with_global_nil_residency
25
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
26
+ assert_raises(ArgumentError) do
27
+ sg.sendgrid_data_residency(region: nil)
28
+ end
29
+ end
30
+
31
+ def test_with_global_invalid_residency
32
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
33
+ assert_raises(ArgumentError) do
34
+ sg.sendgrid_data_residency(region: "abc")
35
+ end
36
+ end
37
+
38
+ def test_with_global_empty_residency
39
+ sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'])
40
+ assert_raises(ArgumentError) do
41
+ sg.sendgrid_data_residency(region: "")
42
+ end
43
+ end
44
+ 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.6.1', SendGrid::VERSION)
36
+ assert_equal('6.7.0', SendGrid::VERSION)
37
37
  assert_instance_of(SendGrid::Client, sg.client)
38
38
  assert_equal({}, sg.http_options)
39
39
  end
@@ -2699,10 +2699,6 @@ class TestAPI < MiniTest::Test
2699
2699
  assert(File.file?('./CONTRIBUTING.md'))
2700
2700
  end
2701
2701
 
2702
- def test_issue_template_exists
2703
- assert(File.file?('./ISSUE_TEMPLATE.md'))
2704
- end
2705
-
2706
2702
  def test_license_exists
2707
2703
  assert(File.file?('./LICENSE'))
2708
2704
  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.6.1
4
+ version: 6.7.0
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: 2022-02-09 00:00:00.000000000 Z
13
+ date: 2023-12-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby_http_client
@@ -152,7 +152,7 @@ extensions: []
152
152
  extra_rdoc_files: []
153
153
  files:
154
154
  - ".env_sample"
155
- - ".github/ISSUE_TEMPLATE/config.yml"
155
+ - ".github/workflows/pr-lint.yml"
156
156
  - ".github/workflows/test-and-deploy.yml"
157
157
  - ".gitignore"
158
158
  - ".rubocop.yml"
@@ -163,7 +163,6 @@ files:
163
163
  - Dockerfile
164
164
  - FIRST_TIMERS.md
165
165
  - Gemfile
166
- - ISSUE_TEMPLATE.md
167
166
  - LICENSE
168
167
  - Makefile
169
168
  - PULL_REQUEST_TEMPLATE.md
@@ -182,6 +181,7 @@ files:
182
181
  - examples/categories/categories.rb
183
182
  - examples/clients/clients.rb
184
183
  - examples/contactdb/contactdb.rb
184
+ - examples/dataresidency/setregion.rb
185
185
  - examples/devices/devices.rb
186
186
  - examples/emailactivity/emailactivity.rb
187
187
  - examples/geo/geo.rb
@@ -275,6 +275,7 @@ files:
275
275
  - static/img/github-sign-up.png
276
276
  - test/sendgrid/helpers/mail/test_attachment.rb
277
277
  - test/sendgrid/helpers/mail/test_category.rb
278
+ - test/sendgrid/helpers/mail/test_data_residency.rb
278
279
  - test/sendgrid/helpers/mail/test_email.rb
279
280
  - test/sendgrid/helpers/mail/test_mail.rb
280
281
  - test/sendgrid/helpers/mail/test_personalizations.rb
@@ -309,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
309
310
  - !ruby/object:Gem::Version
310
311
  version: '0'
311
312
  requirements: []
312
- rubygems_version: 3.3.3
313
+ rubygems_version: 3.3.26
313
314
  signing_key:
314
315
  specification_version: 4
315
316
  summary: Official Twilio SendGrid Gem
@@ -331,6 +332,7 @@ test_files:
331
332
  - spec/spec_helper.rb
332
333
  - test/sendgrid/helpers/mail/test_attachment.rb
333
334
  - test/sendgrid/helpers/mail/test_category.rb
335
+ - test/sendgrid/helpers/mail/test_data_residency.rb
334
336
  - test/sendgrid/helpers/mail/test_email.rb
335
337
  - test/sendgrid/helpers/mail/test_mail.rb
336
338
  - test/sendgrid/helpers/mail/test_personalizations.rb
@@ -1,10 +0,0 @@
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/sendgrid-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/ISSUE_TEMPLATE.md DELETED
@@ -1,30 +0,0 @@
1
- <!--
2
- If this is a feature request, make sure you search Issues for an existing request before creating a new one!
3
-
4
- Please utilize the template below to help us resolve your issue.
5
-
6
- Note that many issues can be resolved by updating to the latest version.
7
- -->
8
-
9
- ### Issue Summary
10
- A summary of the issue and the environment in which it occurs. If suitable, include the steps required to reproduce the bug. Please feel free to include screenshots, screencasts, or code examples.
11
-
12
- ### Steps to Reproduce
13
- 1. This is the first step
14
- 2. This is the second step
15
- 3. Further steps, etc.
16
-
17
- ### Code Snippet
18
- ```ruby
19
- # paste code here
20
- ```
21
-
22
- ### Exception/Log
23
- ```
24
- # paste exception/log here
25
- ```
26
-
27
- ### Technical details:
28
- * sendgrid-ruby version:
29
- * ruby version:
30
-