action_mailer-logged_smtp_delivery 2.1.3 → 2.2.4

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: 1cff8fa563ac43c425f48648f326c357515b1b897818bca9492847284f6cc27b
4
- data.tar.gz: '0448dd037fa5380e97bd6708f30655002aed2f0d5987e5aede193f3512638013'
3
+ metadata.gz: 4538c4abed96561b7741b755fb4944ae62b500e35ec585f35bc4461cacadf7a9
4
+ data.tar.gz: 28b5fb7d0df5069f6b16813feeb945ca6cf6e805b5b98a83f29ac7ba038108e7
5
5
  SHA512:
6
- metadata.gz: c07425a4678d51f81b17a36c84b46641f870fc67c3a0abfac7090469c9ccf0bd13cea5c394847d6b4ff6399e261cb27b572d9540ae51d591952ea4c165d9be14
7
- data.tar.gz: 56cf3d2a0ec58a16ce45987c903ebd66ccc0188922de2cbe7ee40c68243fa75d0d71cae23dd8745ac976a6c07dc0ffff46d220690f03a34eea81f593ea60f7a3
6
+ metadata.gz: dda7116bc36fc92845b8b4805a94cd8a72cbbde9ad162a3d3dd86c2f651fd91fa2dee23e56d4d6544df2b156fd4afc3e68f262d42870146f389e661b3ce5a078
7
+ data.tar.gz: b3dc1d58cf2b83e2292bb9c375e3a0e5368a4ddf7fc70ad73e32fcbc56e63503636db41d914c958a8003cba24d1013998bb8ec485e90ebe0cb871afd6463db0c
@@ -13,8 +13,8 @@ class ActionMailer::LoggedSMTPDelivery < Mail::SMTP
13
13
  end
14
14
 
15
15
  def deliver!(mail)
16
- if logger = settings[:mail_file_logger]
17
- path = logger.log(mail.encoded)
16
+ if file_logger = settings[:mail_file_logger]
17
+ path = file_logger.log(mail.encoded)
18
18
  log mail, "stored at #{path}"
19
19
  end
20
20
 
@@ -22,8 +22,13 @@ class ActionMailer::LoggedSMTPDelivery < Mail::SMTP
22
22
  log mail, "sender: #{mail.sender}"
23
23
  log mail, "destinations: #{mail.destinations.inspect}"
24
24
 
25
- self.response = super
26
- log mail, "done #{response.inspect}"
25
+ begin
26
+ self.response = super
27
+ log mail, "done #{response.inspect}"
28
+ rescue => e
29
+ logger.error("#{mail.message_id} exception #{e.inspect}")
30
+ raise
31
+ end
27
32
  end
28
33
 
29
34
  private
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.1.3
4
+ version: 2.2.4
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: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2023-04-12 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.22.2
19
+ version: '5.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 6.1.0
22
+ version: '7.1'
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.22.2
29
+ version: '5.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 6.1.0
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: minitest
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -87,35 +87,35 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  - !ruby/object:Gem::Dependency
90
- name: wwtd
90
+ name: mailcrate
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '0'
95
+ version: 0.0.6
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: '0'
102
+ version: 0.0.6
103
103
  - !ruby/object:Gem::Dependency
104
- name: mailcrate
104
+ name: byebug
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: 0.0.6
109
+ version: '0'
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.6
116
+ version: '0'
117
117
  - !ruby/object:Gem::Dependency
118
- name: byebug
118
+ name: mocha
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="
@@ -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
@@ -148,16 +148,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - ">="
150
150
  - !ruby/object:Gem::Version
151
- version: '0'
151
+ version: '2.6'
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - ">="
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.7.6.2
160
- signing_key:
158
+ rubygems_version: 3.0.3.1
159
+ signing_key:
161
160
  specification_version: 4
162
161
  summary: An ActionMailer delivery strategy
163
162
  test_files: []