actionmailer 7.1.3.4 → 7.1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3397dc1dfb7ee8d830dd1f692e43bb542f617281d5c9f6f506c943c6bc5936e3
4
- data.tar.gz: 4985445693c8132bf71698a115627c47a002634f7081152ddf23cb144c11fad9
3
+ metadata.gz: a7741f9efb7e3e52734cbf25529392dc53d3fac9e7bbce60d91e94be72226ae9
4
+ data.tar.gz: b791f9bcd5ca682fdb03df9f221bc86dda627188f66c25fa24bd387646ab779c
5
5
  SHA512:
6
- metadata.gz: de78eedd35c9639eb7a8ad48ac16a8726fb46f98b9abeb15d2054ae9d26d5a4aa293759d2d422666798b6555592f6a2fe9f02d44922105edccb173f525cb1f3b
7
- data.tar.gz: 1ff734ffd7df7a146ed492b7aa6cc866c560060fb25646b81d972f72a62603611b7f1795b6441c78f504f12126ae0bd60d8c13d0ead848f42ac7eb8958617fc3
6
+ metadata.gz: e7517577d45d0b94b39f13c6f329359ff65d742e25ebae2b90f291bc1b1a6af138cdfd3528345652fd2455a47b66e98193b9fe707764b3f59b29c1072be96c5c
7
+ data.tar.gz: bc55eba8fa7a80243a1ccc402e0805f0d009a99890c93c56601cc183b2d80034aa9317148c39a8e54df1d1a19bf56b9b19b38a86195c271ff290b150e5a2b559
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## Rails 7.1.4.1 (October 15, 2024) ##
2
+
3
+ * Avoid regex backtracking in `block_format` helper
4
+
5
+ [CVE-2024-47889]
6
+
7
+ ## Rails 7.1.4 (August 22, 2024) ##
8
+
9
+ * No changes.
10
+
11
+
1
12
  ## Rails 7.1.3.4 (June 04, 2024) ##
2
13
 
3
14
  * No changes.
@@ -9,8 +9,8 @@ module ActionMailer
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 1
12
- TINY = 3
13
- PRE = "4"
12
+ TINY = 4
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -25,10 +25,18 @@ module ActionMailer
25
25
  }.join("\n\n")
26
26
 
27
27
  # Make list points stand on their own line
28
- formatted.gsub!(/[ ]*([*]+) ([^*]*)/) { " #{$1} #{$2.strip}\n" }
29
- formatted.gsub!(/[ ]*([#]+) ([^#]*)/) { " #{$1} #{$2.strip}\n" }
28
+ output = +""
29
+ splits = formatted.split(/(\*+|\#+)/)
30
+ while line = splits.shift
31
+ if line.start_with?("*", "#") && splits[0].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
30
38
 
31
- formatted
39
+ output
32
40
  end
33
41
 
34
42
  # Access the mailer instance.
data/lib/action_mailer.rb CHANGED
@@ -35,7 +35,7 @@ require "active_support/core_ext/module/attr_internal"
35
35
  require "active_support/core_ext/string/inflections"
36
36
  require "active_support/lazy_load_hooks"
37
37
 
38
- # :include: actionmailer/README.rdoc
38
+ # :include: ../README.rdoc
39
39
  module ActionMailer
40
40
  extend ::ActiveSupport::Autoload
41
41
 
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.1.3.4
4
+ version: 7.1.4.1
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: 2024-06-04 00:00:00.000000000 Z
11
+ date: 2024-10-15 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.1.3.4
19
+ version: 7.1.4.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.1.3.4
26
+ version: 7.1.4.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.1.3.4
33
+ version: 7.1.4.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.1.3.4
40
+ version: 7.1.4.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.1.3.4
47
+ version: 7.1.4.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.1.3.4
54
+ version: 7.1.4.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.1.3.4
61
+ version: 7.1.4.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.1.3.4
68
+ version: 7.1.4.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mail
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -182,12 +182,12 @@ licenses:
182
182
  - MIT
183
183
  metadata:
184
184
  bug_tracker_uri: https://github.com/rails/rails/issues
185
- changelog_uri: https://github.com/rails/rails/blob/v7.1.3.4/actionmailer/CHANGELOG.md
186
- documentation_uri: https://api.rubyonrails.org/v7.1.3.4/
185
+ changelog_uri: https://github.com/rails/rails/blob/v7.1.4.1/actionmailer/CHANGELOG.md
186
+ documentation_uri: https://api.rubyonrails.org/v7.1.4.1/
187
187
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
188
- source_code_uri: https://github.com/rails/rails/tree/v7.1.3.4/actionmailer
188
+ source_code_uri: https://github.com/rails/rails/tree/v7.1.4.1/actionmailer
189
189
  rubygems_mfa_required: 'true'
190
- post_install_message:
190
+ post_install_message:
191
191
  rdoc_options: []
192
192
  require_paths:
193
193
  - lib
@@ -203,8 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  requirements:
205
205
  - none
206
- rubygems_version: 3.3.27
207
- signing_key:
206
+ rubygems_version: 3.5.16
207
+ signing_key:
208
208
  specification_version: 4
209
209
  summary: Email composition and delivery framework (part of Rails).
210
210
  test_files: []