sendgrid_actionmailer_adapter 0.3.1 → 0.3.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
  SHA256:
3
- metadata.gz: b18c8a752c45b55008f04261b87761e179e86ff1fee35307d1b06bf3829a7573
4
- data.tar.gz: 33c3a4e3ecde09efc36807a7c49d1c17bd2e283b8a5578035c9b3b736092a98c
3
+ metadata.gz: d59836f5bb9a8cc47a2a4c45406d5ceb7c13798677676b5f8d04db5adbba15d3
4
+ data.tar.gz: 07bf50bf757fafa6d18c8848eac7b40e9789329c4aa0cfd2682726d83ee131bb
5
5
  SHA512:
6
- metadata.gz: 4dfd8da18aa10346ce0f64b0f0441117058e8fbd9a0e14f965e3383bdcbe71fd2818d10f16709f40a76c5e9724a785911b772772509a6a16ee297711dff03605
7
- data.tar.gz: efb1d7977db06a20409d46062edc55bd3152d596cd7eb2c3ccf59fa1c29a71df56e6de0d6f75b165f12cef2df69d86219c81e935cecc63f9d83eba1fbae90adf
6
+ metadata.gz: 38233870aeb4994d09dd2394e15a521f8fd2cc154b06e43de9d2b70b6301bb62bf5c7867d986cfb263a760c9c3cb09f00f273b72716ac8d01c93ec40f9809df2
7
+ data.tar.gz: 9c581f63f5ccad65c7881034b50b46ac415beff1225c70e5bdf8c2d8f89617195d44e86771d4d082bb674d86d9428999955af70b85e7f43db68fa5f1ab572089
@@ -40,7 +40,7 @@ module SendGridActionMailerAdapter
40
40
  remove_to_addrs_from_bounces(sendgrid_mail)
41
41
  end
42
42
 
43
- with_retry(@settings[:retry]) do
43
+ with_retry(**@settings[:retry]) do
44
44
  @logger.info("Calling sendMail API, #{extract_log_info(sendgrid_mail)}")
45
45
  response = sendgrid_client.mail._('send').post(request_body: sendgrid_mail.to_json)
46
46
  @logger.info("End calling sendMail API, status_code: #{response.status_code}")
@@ -51,7 +51,7 @@ module SendGridActionMailerAdapter
51
51
  private
52
52
 
53
53
  def sendgrid_client
54
- @sendgrid_client ||= ::SendGrid::API.new(@settings[:sendgrid]).client
54
+ @sendgrid_client ||= ::SendGrid::API.new(**@settings[:sendgrid]).client
55
55
  end
56
56
 
57
57
  # @param [::SendGrid::Mail]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SendGridActionMailerAdapter
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendgrid_actionmailer_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryu39
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2021-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sendgrid-ruby
@@ -148,7 +148,7 @@ homepage: https://github.com/ryu39/sendgrid_actionmailer_adapter
148
148
  licenses:
149
149
  - MIT
150
150
  metadata: {}
151
- post_install_message:
151
+ post_install_message:
152
152
  rdoc_options: []
153
153
  require_paths:
154
154
  - lib
@@ -156,15 +156,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '2.3'
159
+ version: '2.4'
160
160
  required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []
166
- rubygems_version: 3.0.3
167
- signing_key:
166
+ rubygems_version: 3.2.3
167
+ signing_key:
168
168
  specification_version: 4
169
169
  summary: A ActionMailer adapter using SendGrid Web API v3
170
170
  test_files: []