action_mailer-logged_smtp_delivery 2.0.4 → 2.1.3

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
- SHA1:
3
- metadata.gz: a6059c888565237f068edfc7e3a3c66ac730e93f
4
- data.tar.gz: 929f12e5e616aa7918a51771ca6bda1d441bbcd5
2
+ SHA256:
3
+ metadata.gz: 1cff8fa563ac43c425f48648f326c357515b1b897818bca9492847284f6cc27b
4
+ data.tar.gz: '0448dd037fa5380e97bd6708f30655002aed2f0d5987e5aede193f3512638013'
5
5
  SHA512:
6
- metadata.gz: a4969bf55b0b64f45d76c8d901213add1ef776bdb71a129d256549368ca4356bed5dc9d4cdeca91da6dbde30175d6f0ccf5a90d15f2f4c03ccb4d798e526b0ac
7
- data.tar.gz: c175fb180a9cc70c70f0d68da1ad1218711639862e873463e4bb9a485430b73d993d5fd0ac11becff9d6022a1bceca5b6c60bb6d5c8cebb380f7362fcbe03fb9
6
+ metadata.gz: c07425a4678d51f81b17a36c84b46641f870fc67c3a0abfac7090469c9ccf0bd13cea5c394847d6b4ff6399e261cb27b572d9540ae51d591952ea4c165d9be14
7
+ data.tar.gz: 56cf3d2a0ec58a16ce45987c903ebd66ccc0188922de2cbe7ee40c68243fa75d0d71cae23dd8745ac976a6c07dc0ffff46d220690f03a34eea81f593ea60f7a3
@@ -2,11 +2,14 @@ require 'action_mailer'
2
2
  require 'mail/network/delivery_methods/smtp'
3
3
 
4
4
  class ActionMailer::LoggedSMTPDelivery < Mail::SMTP
5
+ attr_accessor :response
6
+
5
7
  def initialize(settings)
6
8
  super
7
9
  self.settings[:tls] = (settings[:tls] != false)
8
10
  self.settings[:return_response] = true
9
11
  self.logger = settings[:logger]
12
+ self.response = nil
10
13
  end
11
14
 
12
15
  def deliver!(mail)
@@ -19,8 +22,7 @@ class ActionMailer::LoggedSMTPDelivery < Mail::SMTP
19
22
  log mail, "sender: #{mail.sender}"
20
23
  log mail, "destinations: #{mail.destinations.inspect}"
21
24
 
22
- response = super
23
-
25
+ self.response = super
24
26
  log mail, "done #{response.inspect}"
25
27
  end
26
28
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_mailer-logged_smtp_delivery
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Chapweske
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-26 00:00:00.000000000 Z
11
+ date: 2020-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.19
19
+ version: 3.2.22.2
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 5.1.0
22
+ version: 6.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 3.2.19
29
+ version: 3.2.22.2
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 5.1.0
32
+ version: 6.1.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: minitest
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: 0.0.2
109
+ version: 0.0.6
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: 0.0.2
116
+ version: 0.0.6
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: byebug
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +129,7 @@ dependencies:
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  description: ActionMailer SMTP delivery strategy with advanced logging and Bcc support
132
- email:
132
+ email:
133
133
  executables: []
134
134
  extensions: []
135
135
  extra_rdoc_files: []
@@ -140,7 +140,7 @@ homepage: https://github.com/zendesk/action_mailer-logged_smtp_delivery
140
140
  licenses:
141
141
  - Apache V2
142
142
  metadata: {}
143
- post_install_message:
143
+ post_install_message:
144
144
  rdoc_options: []
145
145
  require_paths:
146
146
  - lib
@@ -155,9 +155,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.4.5.1
160
- signing_key:
158
+ rubyforge_project:
159
+ rubygems_version: 2.7.6.2
160
+ signing_key:
161
161
  specification_version: 4
162
162
  summary: An ActionMailer delivery strategy
163
163
  test_files: []