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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea95f7b9ad1d651201aa13e40109d61ab1403758f1765d567d8e76451b4d3b6a
4
- data.tar.gz: b4818f516ae894b13d0987b8e6fd0f0230372520cd41c1f5a7018cf2ee4a2e22
3
+ metadata.gz: 889713a85d9c6cff5b02d8977acba5a20d1da7f199144eeb208aac8603ca30c4
4
+ data.tar.gz: 245e0fe917d96d114219a6e9c4c773a2cedacba41922f0e27d8855a0c011b8bb
5
5
  SHA512:
6
- metadata.gz: 8f62423584f6958284713572300ef0fbd90ab2a9ff80778fe4063c283d348ce38e481bb3a2817e02ed508050dd792ea438f00f9b8ea1830fe0a85997d9fe7fbc
7
- data.tar.gz: ec7a1e310e44cf49424ec0dd3adb81486f0811ec8d5078d44352fbecde3c1417342681bbba91a1d4ce232ec18661c5feaa02eb412c508a5f6c786161b5968350
6
+ metadata.gz: 675855f91c987d60e53fc91dd05eb5ad48089f67746bc1c42780bb505056a72dc37da4b133d2a50c39760249143de40d82f1125490dc95f66705e966cb349530
7
+ data.tar.gz: 3c3bab87219b8d4fd8c2dc957e48a26e26f90f45dc3c257fd6ee0954b96425146fe45aedefc22e3c8c1f88fb456e6b1fc7fa6091c99769d5d9676940950cd959
data/CHANGELOG.md CHANGED
@@ -1,52 +1,4 @@
1
- ## Rails 7.2.3 (October 28, 2025) ##
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 rubyonrails-core forum here:
139
+ Feature requests should be discussed on the rails-core mailing list here:
140
140
 
141
141
  * https://discuss.rubyonrails.org/c/rubyonrails-core
@@ -574,13 +574,18 @@ module ActionMailer
574
574
  attr_writer :mailer_name
575
575
  alias :controller_path :mailer_name
576
576
 
577
- # Allows to set defaults through app configuration:
577
+ # Sets the defaults through app configuration:
578
578
  #
579
- # config.action_mailer.default_options = { from: "no-reply@example.org" }
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.
@@ -7,10 +7,10 @@ module ActionMailer
7
7
  end
8
8
 
9
9
  module VERSION
10
- MAJOR = 7
11
- MINOR = 2
12
- TINY = 3
13
- PRE = nil
10
+ MAJOR = 8
11
+ MINOR = 0
12
+ TINY = 0
13
+ PRE = "beta1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -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 +cid:+ style URLs to +data:+ style URLs so that they are visible
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
- output = +""
29
- splits = formatted.split(/(\*+|\#+)/)
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
- output
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: 7.2.3
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: 1980-01-02 00:00:00.000000000 Z
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: 7.2.3
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: 7.2.3
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: 7.2.3
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: 7.2.3
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: 7.2.3
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: 7.2.3
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: 7.2.3
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: 7.2.3
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/v7.2.3/actionmailer/CHANGELOG.md
137
- documentation_uri: https://api.rubyonrails.org/v7.2.3/
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/v7.2.3/actionmailer
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.1.0
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.6.9
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: []