action_mailer-logged_smtp_delivery 2.2.0 → 2.3.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: '0384d169fb0fbe804c8a792d83fd8b39da7758b7bbc71f280c38e76a094804e4'
4
- data.tar.gz: 11be7798d9f25577a2f4011da2f733e07a1e44fafbb443a0aa4ad42cf84eb03f
3
+ metadata.gz: a8887a4666269ebe349984e75c19e37e090c804ca52704cb1f423d19cc008798
4
+ data.tar.gz: cafd85d2cd28b916a7312e502f0edc5a2f6d3e147fdc255dd8be1f8641dcee9a
5
5
  SHA512:
6
- metadata.gz: 7defcf656cf41595f98f180fdcfb3c9345768745c2dc6b966d1c15540d412849db893ba9c847d7e4cc90096a453b52416ea41ec7bd37aed3e519915475ea904a
7
- data.tar.gz: 65b4a6fd653ba146f97518a68735201d09aed858aa86388e778927b79296ddb2d48f2c3792cf4380038ad8cf0d3ed9667a081373f33228aab8f27435e5300337
6
+ metadata.gz: 657251eb3a0323c67ca3b69a60e9e2430e0ef0b898f43a1cd5c549f4606b77d1966086adcfbc7fb7dfa541965fe54236f51f25e7948920bae7715182152b98f3
7
+ data.tar.gz: c1cf9059f9aca1c9d5685ffe2edc6baac2069306bc54e51609e3611824f35d712ec82d2fa0a00eb59f92a2daaac4dfa8df2909bf8cab29c1bfc9707630b63c7e
@@ -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.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Chapweske
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-13 00:00:00.000000000 Z
11
+ date: 2023-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -16,22 +16,120 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.1'
20
- - - "<"
19
+ version: '6.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '6.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: globalid
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
21
32
  - !ruby/object:Gem::Version
22
- version: '7.1'
33
+ version: 1.0.1
23
34
  type: :runtime
24
35
  prerelease: false
25
36
  version_requirements: !ruby/object:Gem::Requirement
26
37
  requirements:
27
38
  - - ">="
28
39
  - !ruby/object:Gem::Version
29
- version: '5.1'
30
- - - "<"
40
+ version: 1.0.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: loofah
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
31
46
  - !ruby/object:Gem::Version
32
- version: '7.1'
47
+ version: 2.19.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.19.1
33
55
  - !ruby/object:Gem::Dependency
34
- name: minitest
56
+ name: mail
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 2.7.1
62
+ - - "<="
63
+ - !ruby/object:Gem::Version
64
+ version: 2.8.0
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 2.7.1
72
+ - - "<="
73
+ - !ruby/object:Gem::Version
74
+ version: 2.8.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: net-smtp
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: nokogiri
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 1.13.9
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 1.13.9
103
+ - !ruby/object:Gem::Dependency
104
+ name: rack
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 2.2.6.4
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 2.2.6.4
117
+ - !ruby/object:Gem::Dependency
118
+ name: rails-html-sanitizer
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 1.4.4
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: 1.4.4
131
+ - !ruby/object:Gem::Dependency
132
+ name: bump
35
133
  requirement: !ruby/object:Gem::Requirement
36
134
  requirements:
37
135
  - - ">="
@@ -45,7 +143,7 @@ dependencies:
45
143
  - !ruby/object:Gem::Version
46
144
  version: '0'
47
145
  - !ruby/object:Gem::Dependency
48
- name: minitest-rg
146
+ name: byebug
49
147
  requirement: !ruby/object:Gem::Requirement
50
148
  requirements:
51
149
  - - ">="
@@ -59,7 +157,7 @@ dependencies:
59
157
  - !ruby/object:Gem::Version
60
158
  version: '0'
61
159
  - !ruby/object:Gem::Dependency
62
- name: rake
160
+ name: mailcrate
63
161
  requirement: !ruby/object:Gem::Requirement
64
162
  requirements:
65
163
  - - ">="
@@ -73,7 +171,7 @@ dependencies:
73
171
  - !ruby/object:Gem::Version
74
172
  version: '0'
75
173
  - !ruby/object:Gem::Dependency
76
- name: bump
174
+ name: minitest-rg
77
175
  requirement: !ruby/object:Gem::Requirement
78
176
  requirements:
79
177
  - - ">="
@@ -87,21 +185,35 @@ dependencies:
87
185
  - !ruby/object:Gem::Version
88
186
  version: '0'
89
187
  - !ruby/object:Gem::Dependency
90
- name: mailcrate
188
+ name: minitest
91
189
  requirement: !ruby/object:Gem::Requirement
92
190
  requirements:
93
191
  - - ">="
94
192
  - !ruby/object:Gem::Version
95
- version: 0.0.6
193
+ version: '0'
96
194
  type: :development
97
195
  prerelease: false
98
196
  version_requirements: !ruby/object:Gem::Requirement
99
197
  requirements:
100
198
  - - ">="
101
199
  - !ruby/object:Gem::Version
102
- version: 0.0.6
200
+ version: '0'
103
201
  - !ruby/object:Gem::Dependency
104
- name: byebug
202
+ name: mocha
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ - !ruby/object:Gem::Dependency
216
+ name: rake
105
217
  requirement: !ruby/object:Gem::Requirement
106
218
  requirements:
107
219
  - - ">="
@@ -134,7 +246,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
246
  requirements:
135
247
  - - ">="
136
248
  - !ruby/object:Gem::Version
137
- version: '2.6'
249
+ version: '2.7'
138
250
  required_rubygems_version: !ruby/object:Gem::Requirement
139
251
  requirements:
140
252
  - - ">="