actionmailer 6.1.3 → 6.1.7.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +128 -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 +2 -2
- data/lib/action_mailer/mail_helper.rb +11 -3
- 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: fc6d1af3d2d417430eed15fedc157ea192044c08f2cf5643e5689f2e93ebbadf
|
4
|
+
data.tar.gz: 8e7a7c900d15dd26122a739edeb2b38a7650f85373a8c79d24e6e1a8c510ae62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec41e9080709c5aa4793e0dc398e122e7f72bd5f1d264d7327376bd76febba683d3d23da98eb12e1ed14306445082ee8970cdcfce16ed745609e0d5b45db29a
|
7
|
+
data.tar.gz: 6be31be632ff6fda81d268d9793dd136bfb109a593aebed34ace3f686763ae723dcbcde277f9c7292e01ceb379aa50537817697ff876129c209d492b67d15385
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,131 @@
|
|
1
|
+
## Rails 6.1.7.10 (October 23, 2024) ##
|
2
|
+
|
3
|
+
* Fix NoMethodError in `block_format` helper
|
4
|
+
|
5
|
+
*Michael Leimstaedtner*
|
6
|
+
|
7
|
+
## Rails 6.1.7.9 (October 15, 2024) ##
|
8
|
+
|
9
|
+
* Avoid regex backtracking in `block_format` helper
|
10
|
+
|
11
|
+
[CVE-2024-47889]
|
12
|
+
|
13
|
+
|
14
|
+
## Rails 6.1.7.8 (June 04, 2024) ##
|
15
|
+
|
16
|
+
* No changes.
|
17
|
+
|
18
|
+
|
19
|
+
## Rails 6.1.7.7 (February 21, 2024) ##
|
20
|
+
|
21
|
+
* No changes.
|
22
|
+
|
23
|
+
|
24
|
+
## Rails 6.1.7.6 (August 22, 2023) ##
|
25
|
+
|
26
|
+
* No changes.
|
27
|
+
|
28
|
+
|
29
|
+
## Rails 6.1.7.5 (August 22, 2023) ##
|
30
|
+
|
31
|
+
* No changes.
|
32
|
+
|
33
|
+
|
34
|
+
## Rails 6.1.7.4 (June 26, 2023) ##
|
35
|
+
|
36
|
+
* No changes.
|
37
|
+
|
38
|
+
|
39
|
+
## Rails 6.1.7.3 (March 13, 2023) ##
|
40
|
+
|
41
|
+
* No changes.
|
42
|
+
|
43
|
+
|
44
|
+
## Rails 6.1.7.2 (January 24, 2023) ##
|
45
|
+
|
46
|
+
* No changes.
|
47
|
+
|
48
|
+
|
49
|
+
## Rails 6.1.7.1 (January 17, 2023) ##
|
50
|
+
|
51
|
+
* No changes.
|
52
|
+
|
53
|
+
|
54
|
+
## Rails 6.1.7 (September 09, 2022) ##
|
55
|
+
|
56
|
+
* No changes.
|
57
|
+
|
58
|
+
|
59
|
+
## Rails 6.1.6.1 (July 12, 2022) ##
|
60
|
+
|
61
|
+
* No changes.
|
62
|
+
|
63
|
+
|
64
|
+
## Rails 6.1.6 (May 09, 2022) ##
|
65
|
+
|
66
|
+
* No changes.
|
67
|
+
|
68
|
+
|
69
|
+
## Rails 6.1.5.1 (April 26, 2022) ##
|
70
|
+
|
71
|
+
* No changes.
|
72
|
+
|
73
|
+
|
74
|
+
## Rails 6.1.5 (March 09, 2022) ##
|
75
|
+
|
76
|
+
* No changes.
|
77
|
+
|
78
|
+
|
79
|
+
## Rails 6.1.4.7 (March 08, 2022) ##
|
80
|
+
|
81
|
+
* No changes.
|
82
|
+
|
83
|
+
|
84
|
+
## Rails 6.1.4.6 (February 11, 2022) ##
|
85
|
+
|
86
|
+
* No changes.
|
87
|
+
|
88
|
+
|
89
|
+
## Rails 6.1.4.5 (February 11, 2022) ##
|
90
|
+
|
91
|
+
* No changes.
|
92
|
+
|
93
|
+
|
94
|
+
## Rails 6.1.4.4 (December 15, 2021) ##
|
95
|
+
|
96
|
+
* No changes.
|
97
|
+
|
98
|
+
|
99
|
+
## Rails 6.1.4.3 (December 14, 2021) ##
|
100
|
+
|
101
|
+
* No changes.
|
102
|
+
|
103
|
+
|
104
|
+
## Rails 6.1.4.2 (December 14, 2021) ##
|
105
|
+
|
106
|
+
* No changes.
|
107
|
+
|
108
|
+
|
109
|
+
## Rails 6.1.4.1 (August 19, 2021) ##
|
110
|
+
|
111
|
+
* No changes.
|
112
|
+
|
113
|
+
|
114
|
+
## Rails 6.1.4 (June 24, 2021) ##
|
115
|
+
|
116
|
+
* No changes.
|
117
|
+
|
118
|
+
|
119
|
+
## Rails 6.1.3.2 (May 05, 2021) ##
|
120
|
+
|
121
|
+
* No changes.
|
122
|
+
|
123
|
+
|
124
|
+
## Rails 6.1.3.1 (March 26, 2021) ##
|
125
|
+
|
126
|
+
* No changes.
|
127
|
+
|
128
|
+
|
1
129
|
## Rails 6.1.3 (February 17, 2021) ##
|
2
130
|
|
3
131
|
* 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
|
@@ -23,10 +23,18 @@ module ActionMailer
|
|
23
23
|
}.join("\n\n")
|
24
24
|
|
25
25
|
# Make list points stand on their own line
|
26
|
-
|
27
|
-
formatted.
|
26
|
+
output = +""
|
27
|
+
splits = formatted.split(/(\*+|\#+)/)
|
28
|
+
while line = splits.shift
|
29
|
+
if line.start_with?("*", "#") && splits.first&.start_with?(" ")
|
30
|
+
output.chomp!(" ") while output.end_with?(" ")
|
31
|
+
output << " #{line} #{splits.shift.strip}\n"
|
32
|
+
else
|
33
|
+
output << line
|
34
|
+
end
|
35
|
+
end
|
28
36
|
|
29
|
-
|
37
|
+
output
|
30
38
|
end
|
31
39
|
|
32
40
|
# Access the mailer instance.
|
@@ -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.7.10
|
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: 2024-10-23 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.7.10
|
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.7.10
|
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.7.10
|
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.7.10
|
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.7.10
|
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.7.10
|
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.7.10
|
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.7.10
|
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.7.10/actionmailer/CHANGELOG.md
|
142
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.7.10/
|
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.7.10/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.5.16
|
163
|
+
signing_key:
|
162
164
|
specification_version: 4
|
163
165
|
summary: Email composition and delivery framework (part of Rails).
|
164
166
|
test_files: []
|