actionmailer 7.2.3 → 8.0.0.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -50
- data/README.rdoc +1 -1
- data/lib/action_mailer/base.rb +7 -2
- data/lib/action_mailer/gem_version.rb +4 -4
- data/lib/action_mailer/inline_preview_interceptor.rb +1 -1
- data/lib/action_mailer/mail_helper.rb +3 -11
- metadata +18 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 889713a85d9c6cff5b02d8977acba5a20d1da7f199144eeb208aac8603ca30c4
|
|
4
|
+
data.tar.gz: 245e0fe917d96d114219a6e9c4c773a2cedacba41922f0e27d8855a0c011b8bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 675855f91c987d60e53fc91dd05eb5ad48089f67746bc1c42780bb505056a72dc37da4b133d2a50c39760249143de40d82f1125490dc95f66705e966cb349530
|
|
7
|
+
data.tar.gz: 3c3bab87219b8d4fd8c2dc957e48a26e26f90f45dc3c257fd6ee0954b96425146fe45aedefc22e3c8c1f88fb456e6b1fc7fa6091c99769d5d9676940950cd959
|
data/CHANGELOG.md
CHANGED
|
@@ -1,52 +1,4 @@
|
|
|
1
|
-
## Rails
|
|
1
|
+
## Rails 8.0.0.beta1 (September 26, 2024) ##
|
|
2
2
|
|
|
3
|
-
* No changes.
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
## Rails 7.2.2.2 (August 13, 2025) ##
|
|
7
|
-
|
|
8
|
-
* No changes.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## Rails 7.2.2.1 (December 10, 2024) ##
|
|
12
|
-
|
|
13
|
-
* No changes.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Rails 7.2.2 (October 30, 2024) ##
|
|
17
|
-
|
|
18
|
-
* No changes.
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
## Rails 7.2.1.2 (October 23, 2024) ##
|
|
22
|
-
|
|
23
|
-
* Fix NoMethodError in `block_format` helper
|
|
24
|
-
|
|
25
|
-
*Michael Leimstaedtner*
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## Rails 7.2.1.1 (October 15, 2024) ##
|
|
29
|
-
|
|
30
|
-
* Avoid regex backtracking in `block_format` helper
|
|
31
|
-
|
|
32
|
-
[CVE-2024-47889]
|
|
33
|
-
|
|
34
|
-
*John Hawthorn*
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## Rails 7.2.1 (August 22, 2024) ##
|
|
38
|
-
|
|
39
|
-
* No changes.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
## Rails 7.2.0 (August 09, 2024) ##
|
|
43
|
-
|
|
44
|
-
* Remove deprecated params via `:args` for `assert_enqueued_email_with`.
|
|
45
|
-
|
|
46
|
-
*Rafael Mendonça França*
|
|
47
|
-
|
|
48
|
-
* Remove deprecated `config.action_mailer.preview_path`.
|
|
49
|
-
|
|
50
|
-
*Rafael Mendonça França*
|
|
51
|
-
|
|
52
|
-
Please check [7-1-stable](https://github.com/rails/rails/blob/7-1-stable/actionmailer/CHANGELOG.md) for previous changes.
|
|
4
|
+
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionmailer/CHANGELOG.md) for previous changes.
|
data/README.rdoc
CHANGED
|
@@ -136,6 +136,6 @@ Bug reports for the Ruby on \Rails project can be filed here:
|
|
|
136
136
|
|
|
137
137
|
* https://github.com/rails/rails/issues
|
|
138
138
|
|
|
139
|
-
Feature requests should be discussed on the
|
|
139
|
+
Feature requests should be discussed on the rails-core mailing list here:
|
|
140
140
|
|
|
141
141
|
* https://discuss.rubyonrails.org/c/rubyonrails-core
|
data/lib/action_mailer/base.rb
CHANGED
|
@@ -574,13 +574,18 @@ module ActionMailer
|
|
|
574
574
|
attr_writer :mailer_name
|
|
575
575
|
alias :controller_path :mailer_name
|
|
576
576
|
|
|
577
|
-
#
|
|
577
|
+
# Sets the defaults through app configuration:
|
|
578
578
|
#
|
|
579
|
-
#
|
|
579
|
+
# config.action_mailer.default(from: "no-reply@example.org")
|
|
580
|
+
#
|
|
581
|
+
# Aliased by ::default_options=
|
|
580
582
|
def default(value = nil)
|
|
581
583
|
self.default_params = default_params.merge(value).freeze if value
|
|
582
584
|
default_params
|
|
583
585
|
end
|
|
586
|
+
# Allows to set defaults through app configuration:
|
|
587
|
+
#
|
|
588
|
+
# config.action_mailer.default_options = { from: "no-reply@example.org" }
|
|
584
589
|
alias :default_options= :default
|
|
585
590
|
|
|
586
591
|
# Wraps an email delivery inside of ActiveSupport::Notifications instrumentation.
|
|
@@ -6,7 +6,7 @@ module ActionMailer
|
|
|
6
6
|
# = Action Mailer \InlinePreviewInterceptor
|
|
7
7
|
#
|
|
8
8
|
# Implements a mailer preview interceptor that converts image tag src attributes
|
|
9
|
-
# that use inline
|
|
9
|
+
# that use inline cid: style URLs to data: style URLs so that they are visible
|
|
10
10
|
# when previewing an HTML email in a web browser.
|
|
11
11
|
#
|
|
12
12
|
# This interceptor is enabled by default. To disable it, delete it from the
|
|
@@ -25,18 +25,10 @@ module ActionMailer
|
|
|
25
25
|
}.join("\n\n")
|
|
26
26
|
|
|
27
27
|
# Make list points stand on their own line
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
while line = splits.shift
|
|
31
|
-
if line.start_with?("*", "#") && splits.first&.start_with?(" ")
|
|
32
|
-
output.chomp!(" ") while output.end_with?(" ")
|
|
33
|
-
output << " #{line} #{splits.shift.strip}\n"
|
|
34
|
-
else
|
|
35
|
-
output << line
|
|
36
|
-
end
|
|
37
|
-
end
|
|
28
|
+
formatted.gsub!(/[ ]*([*]+) ([^*]*)/) { " #{$1} #{$2.strip}\n" }
|
|
29
|
+
formatted.gsub!(/[ ]*([#]+) ([^#]*)/) { " #{$1} #{$2.strip}\n" }
|
|
38
30
|
|
|
39
|
-
|
|
31
|
+
formatted
|
|
40
32
|
end
|
|
41
33
|
|
|
42
34
|
# Access the mailer instance.
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionmailer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 8.0.0.beta1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: bin
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2024-09-26 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: activesupport
|
|
@@ -15,56 +16,56 @@ dependencies:
|
|
|
15
16
|
requirements:
|
|
16
17
|
- - '='
|
|
17
18
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
19
|
+
version: 8.0.0.beta1
|
|
19
20
|
type: :runtime
|
|
20
21
|
prerelease: false
|
|
21
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
23
|
requirements:
|
|
23
24
|
- - '='
|
|
24
25
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
26
|
+
version: 8.0.0.beta1
|
|
26
27
|
- !ruby/object:Gem::Dependency
|
|
27
28
|
name: actionpack
|
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
|
29
30
|
requirements:
|
|
30
31
|
- - '='
|
|
31
32
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
33
|
+
version: 8.0.0.beta1
|
|
33
34
|
type: :runtime
|
|
34
35
|
prerelease: false
|
|
35
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
37
|
requirements:
|
|
37
38
|
- - '='
|
|
38
39
|
- !ruby/object:Gem::Version
|
|
39
|
-
version:
|
|
40
|
+
version: 8.0.0.beta1
|
|
40
41
|
- !ruby/object:Gem::Dependency
|
|
41
42
|
name: actionview
|
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
|
43
44
|
requirements:
|
|
44
45
|
- - '='
|
|
45
46
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
47
|
+
version: 8.0.0.beta1
|
|
47
48
|
type: :runtime
|
|
48
49
|
prerelease: false
|
|
49
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
51
|
requirements:
|
|
51
52
|
- - '='
|
|
52
53
|
- !ruby/object:Gem::Version
|
|
53
|
-
version:
|
|
54
|
+
version: 8.0.0.beta1
|
|
54
55
|
- !ruby/object:Gem::Dependency
|
|
55
56
|
name: activejob
|
|
56
57
|
requirement: !ruby/object:Gem::Requirement
|
|
57
58
|
requirements:
|
|
58
59
|
- - '='
|
|
59
60
|
- !ruby/object:Gem::Version
|
|
60
|
-
version:
|
|
61
|
+
version: 8.0.0.beta1
|
|
61
62
|
type: :runtime
|
|
62
63
|
prerelease: false
|
|
63
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
65
|
requirements:
|
|
65
66
|
- - '='
|
|
66
67
|
- !ruby/object:Gem::Version
|
|
67
|
-
version:
|
|
68
|
+
version: 8.0.0.beta1
|
|
68
69
|
- !ruby/object:Gem::Dependency
|
|
69
70
|
name: mail
|
|
70
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -133,11 +134,12 @@ licenses:
|
|
|
133
134
|
- MIT
|
|
134
135
|
metadata:
|
|
135
136
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
136
|
-
changelog_uri: https://github.com/rails/rails/blob/
|
|
137
|
-
documentation_uri: https://api.rubyonrails.org/
|
|
137
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.0.beta1/actionmailer/CHANGELOG.md
|
|
138
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.0.beta1/
|
|
138
139
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
139
|
-
source_code_uri: https://github.com/rails/rails/tree/
|
|
140
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.0.beta1/actionmailer
|
|
140
141
|
rubygems_mfa_required: 'true'
|
|
142
|
+
post_install_message:
|
|
141
143
|
rdoc_options: []
|
|
142
144
|
require_paths:
|
|
143
145
|
- lib
|
|
@@ -145,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
145
147
|
requirements:
|
|
146
148
|
- - ">="
|
|
147
149
|
- !ruby/object:Gem::Version
|
|
148
|
-
version: 3.
|
|
150
|
+
version: 3.2.0
|
|
149
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
152
|
requirements:
|
|
151
153
|
- - ">="
|
|
@@ -153,7 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
155
|
version: '0'
|
|
154
156
|
requirements:
|
|
155
157
|
- none
|
|
156
|
-
rubygems_version: 3.
|
|
158
|
+
rubygems_version: 3.5.16
|
|
159
|
+
signing_key:
|
|
157
160
|
specification_version: 4
|
|
158
161
|
summary: Email composition and delivery framework (part of Rails).
|
|
159
162
|
test_files: []
|