actionmailer 7.0.8.4 → 7.0.8.5

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: 4b225cfd985720ee0f8146fbefb48d635a689609f164dbdd6f545343a37a122a
4
- data.tar.gz: 9daa50d7707cb6b08b85647e0dc3601c8510d2d734fd5257ad3df56a4385147a
3
+ metadata.gz: ec2aa94608e560dfa9fdb7247f2730a9973a8f2cf6d0004de3aede436852a5c2
4
+ data.tar.gz: 4be541003682f9868402bbe1c14171768157b3472452bf01962ddf0117de268b
5
5
  SHA512:
6
- metadata.gz: 61812d9de84bd3561f49215ad9eedcd29f406ab61428fb9b33e866007ad57358e18ca627bc6024f60898fa02c3e4d9cbc36ac65b864c2a688cd8d35cba7a1b42
7
- data.tar.gz: 1d074be551151665b3f416c078b2857a3ed3b28bc83c04f2cc24b34220302ad60d6a90906f56b6d1e68600f57819086913bcb882abdddfaf9730dadbcde51779
6
+ metadata.gz: 4a1275a44f7a32b52c353149fe5d41de26d45b34ca9392c9c73018fcae1fa40f2bc9bb8cb3cd7ee2388644097ad2f65b0fdac894d83907d70371ddf91c630f5b
7
+ data.tar.gz: e7df435d8a5ed6c06b1e30598f865d9028d917119272e70a4647e1eac19100bc9da1d2326f5f6017d27f6a46d7690568a369539eedbddb61cfbf456fa6674cae
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Rails 7.0.8.5 (October 15, 2024) ##
2
+
3
+ * Avoid regex backtracking in `block_format` helper
4
+
5
+ [CVE-2024-47889]
6
+
7
+
1
8
  ## Rails 7.0.8.4 (June 04, 2024) ##
2
9
 
3
10
  * No changes.
@@ -10,7 +10,7 @@ module ActionMailer
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
12
  TINY = 8
13
- PRE = "4"
13
+ PRE = "5"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  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
- formatted.gsub!(/[ ]*([*]+) ([^*]*)/) { " #{$1} #{$2.strip}\n" }
27
- formatted.gsub!(/[ ]*([#]+) ([^#]*)/) { " #{$1} #{$2.strip}\n" }
26
+ output = +""
27
+ splits = formatted.split(/(\*+|\#+)/)
28
+ while line = splits.shift
29
+ if line.start_with?("*", "#") && splits[0].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
- formatted
37
+ output
30
38
  end
31
39
 
32
40
  # Access the mailer instance.
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.0.8.4
4
+ version: 7.0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
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.0.8.4
19
+ version: 7.0.8.5
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.0.8.4
26
+ version: 7.0.8.5
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.0.8.4
33
+ version: 7.0.8.5
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.0.8.4
40
+ version: 7.0.8.5
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.0.8.4
47
+ version: 7.0.8.5
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.0.8.4
54
+ version: 7.0.8.5
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.0.8.4
61
+ version: 7.0.8.5
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.0.8.4
68
+ version: 7.0.8.5
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mail
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -178,10 +178,10 @@ licenses:
178
178
  - MIT
179
179
  metadata:
180
180
  bug_tracker_uri: https://github.com/rails/rails/issues
181
- changelog_uri: https://github.com/rails/rails/blob/v7.0.8.4/actionmailer/CHANGELOG.md
182
- documentation_uri: https://api.rubyonrails.org/v7.0.8.4/
181
+ changelog_uri: https://github.com/rails/rails/blob/v7.0.8.5/actionmailer/CHANGELOG.md
182
+ documentation_uri: https://api.rubyonrails.org/v7.0.8.5/
183
183
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
184
- source_code_uri: https://github.com/rails/rails/tree/v7.0.8.4/actionmailer
184
+ source_code_uri: https://github.com/rails/rails/tree/v7.0.8.5/actionmailer
185
185
  rubygems_mfa_required: 'true'
186
186
  post_install_message:
187
187
  rdoc_options: []
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  requirements:
201
201
  - none
202
- rubygems_version: 3.3.27
202
+ rubygems_version: 3.5.16
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: Email composition and delivery framework (part of Rails).