actionmailer 7.2.1 → 7.2.1.2

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: cfd62a67b34f5ffbe38bb284730e876dd4d087c9ea832ed27ee9a2d187c5556c
4
- data.tar.gz: 27a1667ccd71d3057b3754c8488ca8fa390fda5a73f4eaaa331ea8b8887dad8d
3
+ metadata.gz: a5ea6e1609655d95a6593aeec5014ad10f7dbaf78aa3aa5478bb7c449f51856b
4
+ data.tar.gz: e50f26b5bd014bd2b4fafd1e41cbc25d0c538bb5ede64d25b8eada55f5483aeb
5
5
  SHA512:
6
- metadata.gz: 2a31fd2ed2741df5e367a9e25dc1cc5cf77c90e2eedcf7d19a1b93ddb026163dbb9e039e0676b40b92215e82834924dd5b049131cc2b9237e733f7e351f49de0
7
- data.tar.gz: 2c12ff37df983cf4318db450af5bf8f3dd10b24a51a4ce546d25f1c2aab7b566771d53f4f1ac34449d752f44b8746d4aa78c8e91c859d28c0dec67bafae1f73d
6
+ metadata.gz: f4c07fe9ea9b8bedafddefda2b11a911493b9fb018108a2ccd4eb00ebdbd0dcbc8634f1cb7612ec1f7a8e412d5c384f29bc333770746ee574750189617875f66
7
+ data.tar.gz: 929c7f36d00c6e9f53ffc1a3ada2df2795c8e6aca924a7a079f999f6ee500f8c08d40a3ed90b426ee1d59bc644ca9ad38e0737014a9aad5754f0fb6476c064ab
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## Rails 7.2.1.2 (October 23, 2024) ##
2
+
3
+ * Fix NoMethodError in `block_format` helper
4
+
5
+ *Michael Leimstaedtner*
6
+
7
+
8
+ ## Rails 7.2.1.1 (October 15, 2024) ##
9
+
10
+ * Avoid regex backtracking in `block_format` helper
11
+
12
+ [CVE-2024-47889]
13
+
1
14
  ## Rails 7.2.1 (August 22, 2024) ##
2
15
 
3
16
  * No changes.
@@ -10,7 +10,7 @@ module ActionMailer
10
10
  MAJOR = 7
11
11
  MINOR = 2
12
12
  TINY = 1
13
- PRE = nil
13
+ PRE = "2"
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.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
30
38
 
31
- formatted
39
+ output
32
40
  end
33
41
 
34
42
  # 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.2.1
4
+ version: 7.2.1.2
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-08-22 00:00:00.000000000 Z
11
+ date: 2024-10-23 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.2.1
19
+ version: 7.2.1.2
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.2.1
26
+ version: 7.2.1.2
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.2.1
33
+ version: 7.2.1.2
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.2.1
40
+ version: 7.2.1.2
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.2.1
47
+ version: 7.2.1.2
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.2.1
54
+ version: 7.2.1.2
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.2.1
61
+ version: 7.2.1.2
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.2.1
68
+ version: 7.2.1.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mail
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -134,12 +134,12 @@ licenses:
134
134
  - MIT
135
135
  metadata:
136
136
  bug_tracker_uri: https://github.com/rails/rails/issues
137
- changelog_uri: https://github.com/rails/rails/blob/v7.2.1/actionmailer/CHANGELOG.md
138
- documentation_uri: https://api.rubyonrails.org/v7.2.1/
137
+ changelog_uri: https://github.com/rails/rails/blob/v7.2.1.2/actionmailer/CHANGELOG.md
138
+ documentation_uri: https://api.rubyonrails.org/v7.2.1.2/
139
139
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
140
- source_code_uri: https://github.com/rails/rails/tree/v7.2.1/actionmailer
140
+ source_code_uri: https://github.com/rails/rails/tree/v7.2.1.2/actionmailer
141
141
  rubygems_mfa_required: 'true'
142
- post_install_message:
142
+ post_install_message:
143
143
  rdoc_options: []
144
144
  require_paths:
145
145
  - lib
@@ -155,8 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: '0'
156
156
  requirements:
157
157
  - none
158
- rubygems_version: 3.5.11
159
- signing_key:
158
+ rubygems_version: 3.5.16
159
+ signing_key:
160
160
  specification_version: 4
161
161
  summary: Email composition and delivery framework (part of Rails).
162
162
  test_files: []