actionmailer 6.1.4 → 6.1.6
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 +45 -0
- data/MIT-LICENSE +1 -2
- data/lib/action_mailer/base.rb +1 -1
- data/lib/action_mailer/delivery_job.rb +1 -1
- data/lib/action_mailer/gem_version.rb +1 -1
- data/lib/action_mailer/mail_with_error_handling.rb +10 -0
- data/lib/action_mailer/message_delivery.rb +2 -2
- data/lib/action_mailer.rb +2 -2
- metadata +19 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9ded5a148624dcd847e1e726b12d51bbb0e100205f2c309f7096852b73b08de
|
4
|
+
data.tar.gz: 28242dad8649b8638397366b74173353e7b8e73b7136dc3958a67e98cce147e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10965746ce72cc60082071117a7b734e217d5a60da892701dab0001f608c0f9e59df9b38f9b6035ccb6ddc8c177c82353f05ea722c49bb8c94a8e53bc18caa20
|
7
|
+
data.tar.gz: 45a08dcd83bb399edde82af12228fd400b251dbebb9397f7fd2c92e478fa7a3ba927b7a8478c2876af0c67b1060c615feb2618e040cae089c04ee07ec0161c32
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,48 @@
|
|
1
|
+
## Rails 6.1.5.1 (April 26, 2022) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 6.1.5 (March 09, 2022) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
11
|
+
## Rails 6.1.4.7 (March 08, 2022) ##
|
12
|
+
|
13
|
+
* No changes.
|
14
|
+
|
15
|
+
|
16
|
+
## Rails 6.1.4.6 (February 11, 2022) ##
|
17
|
+
|
18
|
+
* No changes.
|
19
|
+
|
20
|
+
|
21
|
+
## Rails 6.1.4.5 (February 11, 2022) ##
|
22
|
+
|
23
|
+
* No changes.
|
24
|
+
|
25
|
+
|
26
|
+
## Rails 6.1.4.4 (December 15, 2021) ##
|
27
|
+
|
28
|
+
* No changes.
|
29
|
+
|
30
|
+
|
31
|
+
## Rails 6.1.4.3 (December 14, 2021) ##
|
32
|
+
|
33
|
+
* No changes.
|
34
|
+
|
35
|
+
|
36
|
+
## Rails 6.1.4.2 (December 14, 2021) ##
|
37
|
+
|
38
|
+
* No changes.
|
39
|
+
|
40
|
+
|
41
|
+
## Rails 6.1.4.1 (August 19, 2021) ##
|
42
|
+
|
43
|
+
* No changes.
|
44
|
+
|
45
|
+
|
1
46
|
## Rails 6.1.4 (June 24, 2021) ##
|
2
47
|
|
3
48
|
* No changes.
|
data/MIT-LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2004-
|
1
|
+
Copyright (c) 2004-2022 David Heinemeier Hansson
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -18,4 +18,3 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
18
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
19
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
20
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
-
|
data/lib/action_mailer/base.rb
CHANGED
@@ -15,7 +15,7 @@ module ActionMailer
|
|
15
15
|
before_perform do
|
16
16
|
ActiveSupport::Deprecation.warn <<~MSG.squish
|
17
17
|
Sending mail with DeliveryJob and Parameterized::DeliveryJob
|
18
|
-
is deprecated and will be removed in Rails
|
18
|
+
is deprecated and will be removed in Rails 7.0.
|
19
19
|
Please use MailDeliveryJob instead.
|
20
20
|
MSG
|
21
21
|
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
begin
|
4
|
+
require "mail"
|
5
|
+
rescue LoadError => error
|
6
|
+
if error.message.match?(/net\/smtp/)
|
7
|
+
$stderr.puts "You don't have net-smtp installed in your application. Please add it to your Gemfile and run bundle install"
|
8
|
+
raise
|
9
|
+
end
|
10
|
+
end
|
@@ -150,7 +150,7 @@ module ActionMailer
|
|
150
150
|
@mailer_class.name, @action.to_s, delivery_method.to_s, *@args)
|
151
151
|
else
|
152
152
|
ActiveSupport::Deprecation.warn(<<~EOM)
|
153
|
-
In Rails
|
153
|
+
In Rails 7.0, Action Mailer will pass the mail arguments inside the `:args` keyword argument.
|
154
154
|
The `perform` method of the #{job} needs to change and forward the mail arguments
|
155
155
|
from the `args` keyword argument.
|
156
156
|
|
@@ -171,7 +171,7 @@ module ActionMailer
|
|
171
171
|
parameters.find do |key, name|
|
172
172
|
return true if key == :keyreq && name == :args
|
173
173
|
|
174
|
-
key == :keyrest
|
174
|
+
key == :keyrest and name != :**
|
175
175
|
end
|
176
176
|
end
|
177
177
|
end
|
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
|
@@ -57,7 +57,7 @@ module ActionMailer
|
|
57
57
|
def self.eager_load!
|
58
58
|
super
|
59
59
|
|
60
|
-
require "
|
60
|
+
require "action_mailer/mail_with_error_handling"
|
61
61
|
Mail.eager_autoload!
|
62
62
|
end
|
63
63
|
end
|
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: 6.1.
|
4
|
+
version: 6.1.6
|
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-05-09 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: 6.1.
|
19
|
+
version: 6.1.6
|
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: 6.1.
|
26
|
+
version: 6.1.6
|
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: 6.1.
|
33
|
+
version: 6.1.6
|
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: 6.1.
|
40
|
+
version: 6.1.6
|
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: 6.1.
|
47
|
+
version: 6.1.6
|
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: 6.1.
|
54
|
+
version: 6.1.6
|
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: 6.1.
|
61
|
+
version: 6.1.6
|
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: 6.1.
|
68
|
+
version: 6.1.6
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mail
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- lib/action_mailer/log_subscriber.rb
|
121
121
|
- lib/action_mailer/mail_delivery_job.rb
|
122
122
|
- lib/action_mailer/mail_helper.rb
|
123
|
+
- lib/action_mailer/mail_with_error_handling.rb
|
123
124
|
- lib/action_mailer/message_delivery.rb
|
124
125
|
- lib/action_mailer/parameterized.rb
|
125
126
|
- lib/action_mailer/preview.rb
|
@@ -137,11 +138,12 @@ licenses:
|
|
137
138
|
- MIT
|
138
139
|
metadata:
|
139
140
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
140
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.1.
|
141
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.
|
141
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.1.6/actionmailer/CHANGELOG.md
|
142
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.6/
|
142
143
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
143
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.1.
|
144
|
-
|
144
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.6/actionmailer
|
145
|
+
rubygems_mfa_required: 'true'
|
146
|
+
post_install_message:
|
145
147
|
rdoc_options: []
|
146
148
|
require_paths:
|
147
149
|
- lib
|
@@ -157,8 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
159
|
version: '0'
|
158
160
|
requirements:
|
159
161
|
- none
|
160
|
-
rubygems_version: 3.
|
161
|
-
signing_key:
|
162
|
+
rubygems_version: 3.3.7
|
163
|
+
signing_key:
|
162
164
|
specification_version: 4
|
163
165
|
summary: Email composition and delivery framework (part of Rails).
|
164
166
|
test_files: []
|