action_mailer-logged_smtp_delivery 2.0.3 → 2.1.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
- SHA1:
3
- metadata.gz: e63d889db99e32c66b98fa66cb7d4318ec5f8162
4
- data.tar.gz: 3299394a1c365b4a5c0322fc27d1090ab7367d25
2
+ SHA256:
3
+ metadata.gz: 8b1b6bc377e18f1a790e29d9798db3faf262e90ad5482a46a53ff37ac528d370
4
+ data.tar.gz: 8c27d5d47fada5aca9c3a616ddfc6d6b86636c926a11843e9ce0daf6f87b1c30
5
5
  SHA512:
6
- metadata.gz: 4dcd41604c2516ccdcb8a1803e9c6aeaebe80acbdc5eb1958962759530d8d7789c237574a1e4f0bc565de776493e3abd732ecbbbbe95df520f9ba247461b6684
7
- data.tar.gz: eb0b1bca02ea99678608ac426b0953aa83616f3d543d91aaa9fa119a0ac0f2d5d0a86fd8af3c1356a422a037441269b286319bd6a3b92de330728ba851696ab4
6
+ metadata.gz: 0dbc5e42467b094900c8f37e11b0afb4cd2b83144c9020f711a6c6ff07806a03a435c457eccc769995bd3bbfbf286a1919b3a6fea36e937fc3a414733461f284
7
+ data.tar.gz: a610df957c65c41c00712bdceffc6216775753308f2106ca959af5ee62c5b013cac44d2743a1999e5b5fee928d36154283a46064c6f7afc6991a388eeb6aa0c1
@@ -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.3
4
+ version: 2.1.2
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: 2015-02-03 00:00:00.000000000 Z
11
+ date: 2020-12-02 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: 4.3.0
22
+ version: 5.2.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: 4.3.0
32
+ version: 5.2.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.2.2
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: []