actionview 7.2.3.2 → 7.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 041fbd7f9eb0123e6f8baf4107d95c9746719464ccb2ec01a2c4b4954d3a176b
4
- data.tar.gz: 85db669caaeee34f002615dbd6989b07014f78c63c4e839df2995aa4e38c43bc
3
+ metadata.gz: 73ae93665b80cf27ffab72128be05e07cffe29fc412544201479da845e4e331a
4
+ data.tar.gz: 44da71daa5ef6dd7693535d932218f14ae9ac9c6413f1f9b2dbecacb58bd7478
5
5
  SHA512:
6
- metadata.gz: f0ce58cfaae76552ae2311ec2e64b834f4c44350daee8d06097df3a3cc402726973e6fd7908851697c74c6f4c170806a98237aff57c52e791ea703e6145e5619
7
- data.tar.gz: a2f07624d9870836f6de4e1ef8fa93a5ca41ed1555650d57ec0044e34c8ced336a58e36f86aacdbc81e466d7d4c5af3574d0fb7311d4ba7b7264477b2c9c80a9
6
+ metadata.gz: de6e17de364a122fd2bef371bdee955e1dd2d0a7831b52ee9361ba345356cb99153f378a3b0dc44c147f6cf700f7eaa4d7e6b21a18855a13eb8f0498e17cf2a6
7
+ data.tar.gz: 75743a91474ed2a1e1f5f86f50c7f9fcce4390f06a9c18b41a81219ba9eb6f71350efc4070882fd2a559e9518eebee5e31db9c506148a8aea19d2461362855f8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Rails 7.2.4 (September 24, 2026) ##
2
+
3
+ * Fix strict locals parsing to handle multiline definitions.
4
+
5
+ *Said Kaldybaev*
6
+
7
+
1
8
  ## Rails 7.2.3.2 (July 29, 2026) ##
2
9
 
3
10
  * No changes.
@@ -9,8 +9,8 @@ module ActionView
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 2
12
- TINY = 3
13
- PRE = "2"
12
+ TINY = 4
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -8,7 +8,7 @@ module ActionView
8
8
  class Template
9
9
  extend ActiveSupport::Autoload
10
10
 
11
- STRICT_LOCALS_REGEX = /\#\s+locals:\s+\((.*)\)/
11
+ STRICT_LOCALS_REGEX = /\#\s+locals:\s+\((.*?)\)(?=\s*-?%>|\s*$)/m
12
12
 
13
13
  # === Encodings in ActionView::Template
14
14
  #
@@ -367,7 +367,7 @@ module ActionView
367
367
  def strict_locals!
368
368
  if @strict_locals == NONE
369
369
  self.source.sub!(STRICT_LOCALS_REGEX, "")
370
- @strict_locals = $1
370
+ @strict_locals = $1&.rstrip
371
371
 
372
372
  return if @strict_locals.nil? # Magic comment not found
373
373
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.3.2
4
+ version: 7.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 7.2.3.2
18
+ version: 7.2.4
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 7.2.3.2
25
+ version: 7.2.4
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: cgi
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -99,28 +99,28 @@ dependencies:
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 7.2.3.2
102
+ version: 7.2.4
103
103
  type: :development
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 7.2.3.2
109
+ version: 7.2.4
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: activemodel
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - '='
115
115
  - !ruby/object:Gem::Version
116
- version: 7.2.3.2
116
+ version: 7.2.4
117
117
  type: :development
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 7.2.3.2
123
+ version: 7.2.4
124
124
  description: Simple, battle-tested conventions and helpers for building web pages.
125
125
  email: david@loudthinking.com
126
126
  executables: []
@@ -259,10 +259,10 @@ licenses:
259
259
  - MIT
260
260
  metadata:
261
261
  bug_tracker_uri: https://github.com/rails/rails/issues
262
- changelog_uri: https://github.com/rails/rails/blob/v7.2.3.2/actionview/CHANGELOG.md
263
- documentation_uri: https://api.rubyonrails.org/v7.2.3.2/
262
+ changelog_uri: https://github.com/rails/rails/blob/v7.2.4/actionview/CHANGELOG.md
263
+ documentation_uri: https://api.rubyonrails.org/v7.2.4/
264
264
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
265
- source_code_uri: https://github.com/rails/rails/tree/v7.2.3.2/actionview
265
+ source_code_uri: https://github.com/rails/rails/tree/v7.2.4/actionview
266
266
  rubygems_mfa_required: 'true'
267
267
  rdoc_options: []
268
268
  require_paths:
@@ -279,7 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
279
  version: '0'
280
280
  requirements:
281
281
  - none
282
- rubygems_version: 4.0.16
282
+ rubygems_version: 4.0.20
283
283
  specification_version: 4
284
284
  summary: Rendering framework putting the V in MVC (part of Rails).
285
285
  test_files: []