actionmailer 7.0.8.3 → 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: f1b03c928f4bb10f2973789b5232f287ecdb88641327810400f05b1adf3f6b08
4
- data.tar.gz: 0e77af68fc135f1bdd896db95ef693a5a62a7a40ae3e82987851d108814d945c
3
+ metadata.gz: ec2aa94608e560dfa9fdb7247f2730a9973a8f2cf6d0004de3aede436852a5c2
4
+ data.tar.gz: 4be541003682f9868402bbe1c14171768157b3472452bf01962ddf0117de268b
5
5
  SHA512:
6
- metadata.gz: e539f69be82d3d94750f47298c081191c996cdb34d9e4f9294ec4c31cd378f7dfb1bc50eb8c94b7a2e4240e9da21988c2e2d14311737819954f50952d5216f15
7
- data.tar.gz: cf20644b1c553c87c7724aae7b787f86254ed72985e7365be17027a84d608f5aa08a3b08584c4d360a2a89ca204b4321e502b2a6175a966177da386b22b2362d
6
+ metadata.gz: 4a1275a44f7a32b52c353149fe5d41de26d45b34ca9392c9c73018fcae1fa40f2bc9bb8cb3cd7ee2388644097ad2f65b0fdac894d83907d70371ddf91c630f5b
7
+ data.tar.gz: e7df435d8a5ed6c06b1e30598f865d9028d917119272e70a4647e1eac19100bc9da1d2326f5f6017d27f6a46d7690568a369539eedbddb61cfbf456fa6674cae
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
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
+
8
+ ## Rails 7.0.8.4 (June 04, 2024) ##
9
+
10
+ * No changes.
11
+
12
+
1
13
  ## Rails 7.0.8.3 (May 17, 2024) ##
2
14
 
3
15
  * No changes.
@@ -10,7 +10,7 @@ module ActionMailer
10
10
  MAJOR = 7
11
11
  MINOR = 0
12
12
  TINY = 8
13
- PRE = "3"
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.3
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-05-17 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.3
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.3
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.3
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.3
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.3
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.3
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.3
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.3
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.3/actionmailer/CHANGELOG.md
182
- documentation_uri: https://api.rubyonrails.org/v7.0.8.3/
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.3/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.5.10
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).