actionmailer 7.0.0 → 7.0.2.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionmailer might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/MIT-LICENSE +1 -1
- data/lib/action_mailer/base.rb +1 -0
- data/lib/action_mailer/gem_version.rb +2 -2
- data/lib/action_mailer/railtie.rb +3 -6
- data/lib/action_mailer.rb +1 -1
- metadata +59 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d8d935d4fa0369ff9ca230838b874679e3fed34d127ad11d12c2a84a418707b
|
4
|
+
data.tar.gz: d9d7878846b063484f28f0420d551a4da7f855aa264d60612bd1b7374190b07d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32fc77bc3cd054d9f11fd8d09addb18a0b6a4eb34e711f78b6353674f3128627a90a1d3c56a363d128d63d15bd0a5ea3029452b91dc2509dd24df480e4fd888f
|
7
|
+
data.tar.gz: 8642c89aa32ad8e0ed515fdb25a5ec8bd79264c4d74e09008fe6b98803afb9d65110aceb0a1e8341ab43e2bca784061f404fc4b40e743719276211f908027a34
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
## Rails 7.0.2.2 (February 11, 2022) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 7.0.2.1 (February 11, 2022) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
11
|
+
## Rails 7.0.2 (February 08, 2022) ##
|
12
|
+
|
13
|
+
* No changes.
|
14
|
+
|
15
|
+
|
16
|
+
## Rails 7.0.1 (January 06, 2022) ##
|
17
|
+
|
18
|
+
* Keep configuration of `smtp_settings` consistent between 6.1 and 7.0.
|
19
|
+
|
20
|
+
*André Luis Leal Cardoso Junior*
|
21
|
+
|
22
|
+
|
1
23
|
## Rails 7.0.0 (December 15, 2021) ##
|
2
24
|
|
3
25
|
* No changes.
|
data/MIT-LICENSE
CHANGED
data/lib/action_mailer/base.rb
CHANGED
@@ -402,6 +402,7 @@ module ActionMailer
|
|
402
402
|
# This is a symbol and one of <tt>:plain</tt> (will send the password Base64 encoded), <tt>:login</tt> (will
|
403
403
|
# send the password Base64 encoded) or <tt>:cram_md5</tt> (combines a Challenge/Response mechanism to exchange
|
404
404
|
# information and a cryptographic Message Digest 5 algorithm to hash important information)
|
405
|
+
# * <tt>:enable_starttls</tt> - Use STARTTLS when connecting to your SMTP server and fail if unsupported. Defaults to <tt>false</tt>.
|
405
406
|
# * <tt>:enable_starttls_auto</tt> - Detects if STARTTLS is enabled in your SMTP server and starts
|
406
407
|
# to use it. Defaults to <tt>true</tt>.
|
407
408
|
# * <tt>:openssl_verify_mode</tt> - When using TLS, you can set how OpenSSL checks the certificate. This is
|
@@ -23,6 +23,7 @@ module ActionMailer
|
|
23
23
|
options.stylesheets_dir ||= paths["public/stylesheets"].first
|
24
24
|
options.show_previews = Rails.env.development? if options.show_previews.nil?
|
25
25
|
options.cache_store ||= Rails.cache
|
26
|
+
options.smtp_settings ||= {}
|
26
27
|
|
27
28
|
if options.show_previews
|
28
29
|
options.preview_path ||= defined?(Rails.root) ? "#{Rails.root}/test/mailers/previews" : nil
|
@@ -45,13 +46,9 @@ module ActionMailer
|
|
45
46
|
self.delivery_job = delivery_job.constantize
|
46
47
|
end
|
47
48
|
|
48
|
-
if smtp_settings = options.delete(:smtp_settings)
|
49
|
-
self.smtp_settings = smtp_settings
|
50
|
-
end
|
51
|
-
|
52
49
|
if smtp_timeout = options.delete(:smtp_timeout)
|
53
|
-
|
54
|
-
|
50
|
+
options.smtp_settings[:open_timeout] ||= smtp_timeout
|
51
|
+
options.smtp_settings[:read_timeout] ||= smtp_timeout
|
55
52
|
end
|
56
53
|
|
57
54
|
options.each { |k, v| send("#{k}=", v) }
|
data/lib/action_mailer.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
#--
|
4
|
-
# Copyright (c) 2004-
|
4
|
+
# Copyright (c) 2004-2022 David Heinemeier Hansson
|
5
5
|
#
|
6
6
|
# Permission is hereby granted, free of charge, to any person obtaining
|
7
7
|
# a copy of this software and associated documentation files (the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionmailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.0.
|
19
|
+
version: 7.0.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.0.
|
26
|
+
version: 7.0.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 7.0.
|
33
|
+
version: 7.0.2.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 7.0.
|
40
|
+
version: 7.0.2.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: actionview
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 7.0.
|
47
|
+
version: 7.0.2.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 7.0.
|
54
|
+
version: 7.0.2.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activejob
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 7.0.
|
61
|
+
version: 7.0.2.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 7.0.
|
68
|
+
version: 7.0.2.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mail
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,6 +86,48 @@ dependencies:
|
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: 2.5.4
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: net-imap
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: net-pop
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: net-smtp
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
89
131
|
- !ruby/object:Gem::Dependency
|
90
132
|
name: rails-dom-testing
|
91
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,12 +178,12 @@ licenses:
|
|
136
178
|
- MIT
|
137
179
|
metadata:
|
138
180
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
139
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.0.
|
140
|
-
documentation_uri: https://api.rubyonrails.org/v7.0.
|
181
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.0.2.2/actionmailer/CHANGELOG.md
|
182
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.2.2/
|
141
183
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
142
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.0.
|
184
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.0.2.2/actionmailer
|
143
185
|
rubygems_mfa_required: 'true'
|
144
|
-
post_install_message:
|
186
|
+
post_install_message:
|
145
187
|
rdoc_options: []
|
146
188
|
require_paths:
|
147
189
|
- lib
|
@@ -157,8 +199,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
199
|
version: '0'
|
158
200
|
requirements:
|
159
201
|
- none
|
160
|
-
rubygems_version: 3.2.
|
161
|
-
signing_key:
|
202
|
+
rubygems_version: 3.2.22
|
203
|
+
signing_key:
|
162
204
|
specification_version: 4
|
163
205
|
summary: Email composition and delivery framework (part of Rails).
|
164
206
|
test_files: []
|