actionmailer 7.1.4 → 7.1.4.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: 68fae8f1d9b4b077065f4868328be95ef08904008c4c2e2626c23c61fe1558bb
4
- data.tar.gz: 077dc05436edfa22f0151778079a3b1d1a88cc6991b20e3e5748f90ddff0b368
3
+ metadata.gz: '028f5fe54dfad6d22795238963e55d2232c095a2e7a955e5971ac5d917715988'
4
+ data.tar.gz: 82c6f8882c15a75f58ce51f8ca537e8f0362cd1682cc86c212f4624b7a157321
5
5
  SHA512:
6
- metadata.gz: f5775ac5064ffb20a30d4055c9e7bf880a121b1e8ceff74e452139af025c26b5e8741f3074b6b0b3dc75fc70ae0ef0a46559cd35e7b2c021392fb3a2d03bd3d2
7
- data.tar.gz: 1946646402e6ac678ba26a5d3b30906dc07e72eaeb30c174d44f26cedeb57224955284b0316e549907974109ab4a2ecafae8f042094c6fc8ffdc1a4073cee6e7
6
+ metadata.gz: 18728155a6fedec0f89021f7abedf0d879c6965b2f1172f00316dd8fd94d59f95ebfb447d478cd2d36eae821be831ae13659e1c46b70f4012d15951f859ba090
7
+ data.tar.gz: 8870365d9c3953dde24effb823e2f51b58bd415d8b13abbfa324f155f5324904626253dffbc281765c18983c07d6eadc8c87032dcf62f99732784fa01c8b4411
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## Rails 7.1.4.2 (October 23, 2024) ##
2
+
3
+ * Fix NoMethodError in `block_format` helper
4
+
5
+ *Michael Leimstaedtner*
6
+
7
+
8
+ ## Rails 7.1.4.1 (October 15, 2024) ##
9
+
10
+ * Avoid regex backtracking in `block_format` helper
11
+
12
+ [CVE-2024-47889]
13
+
14
+
1
15
  ## Rails 7.1.4 (August 22, 2024) ##
2
16
 
3
17
  * No changes.
@@ -10,7 +10,7 @@ module ActionMailer
10
10
  MAJOR = 7
11
11
  MINOR = 1
12
12
  TINY = 4
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.1.4
4
+ version: 7.1.4.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.1.4
19
+ version: 7.1.4.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.1.4
26
+ version: 7.1.4.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.1.4
33
+ version: 7.1.4.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.1.4
40
+ version: 7.1.4.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.1.4
47
+ version: 7.1.4.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.1.4
54
+ version: 7.1.4.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.1.4
61
+ version: 7.1.4.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.1.4
68
+ version: 7.1.4.2
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.4/actionmailer/CHANGELOG.md
186
- documentation_uri: https://api.rubyonrails.org/v7.1.4/
185
+ changelog_uri: https://github.com/rails/rails/blob/v7.1.4.2/actionmailer/CHANGELOG.md
186
+ documentation_uri: https://api.rubyonrails.org/v7.1.4.2/
187
187
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
188
- source_code_uri: https://github.com/rails/rails/tree/v7.1.4/actionmailer
188
+ source_code_uri: https://github.com/rails/rails/tree/v7.1.4.2/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.5.11
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: []