actionmailer 7.0.0 → 7.0.1
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 +7 -0
- data/MIT-LICENSE +1 -1
- data/lib/action_mailer/base.rb +1 -0
- data/lib/action_mailer/gem_version.rb +1 -1
- data/lib/action_mailer/railtie.rb +3 -6
- data/lib/action_mailer.rb +1 -1
- metadata +55 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63a6c88f7cffb908bae4ffbd1b19e53201612220fd86fe7e7e8d413bd6e07c87
|
4
|
+
data.tar.gz: 4384bccc6a357edc8c0a3d72079b52f3d38e3fc0f8984bf9c71fef1744c0e7a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 702ea0250c272769f0f61a0f636ab6abce6269c8b2eece948f0dd736e28b0b0a87b44ea20e19e647c99e8f914f73aea59f2105eeb1bf9088ee7c813f938eb0c5
|
7
|
+
data.tar.gz: 7aa3af91369c81f95f10554ae0f092a52c785b0e3802fb964f15d9bf238a6934d2463d7d93e3873191e140610d61a85e8d69e5c72669a336d639417195086aef
|
data/CHANGELOG.md
CHANGED
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-06 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.1
|
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.1
|
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.1
|
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.1
|
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.1
|
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.1
|
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.1
|
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.1
|
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,10 +178,10 @@ 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.1/actionmailer/CHANGELOG.md
|
182
|
+
documentation_uri: https://api.rubyonrails.org/v7.0.1/
|
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.1/actionmailer
|
143
185
|
rubygems_mfa_required: 'true'
|
144
186
|
post_install_message:
|
145
187
|
rdoc_options: []
|