actionview 8.1.2.1 → 8.1.3
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/action_view/gem_version.rb +2 -2
- data/lib/action_view/renderer/partial_renderer/collection_caching.rb +5 -1
- data/lib/action_view/template.rb +6 -0
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96267f5fb9e3f51b3f9532cf10d78e0454480729b75a758b6df1bf6bb903384f
|
|
4
|
+
data.tar.gz: f7befef7e6c94a2dda6868cd265cbb4009576883d881a9f28195d68649b9511c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd4eb208e63b468bd0b97bda5b8202a7954e6545e05b6a600fcd0a1d703303e99ff2ffbd929ec63142e118267a61cc1cd7f62f5deed6b47ed05e1e6bed50291b
|
|
7
|
+
data.tar.gz: 98fcb31d4441433ac6bd216aec193446d4e06c6116e038bf8d6c5166275937b8301879c3b2d454a1cf86fe9ed6a373898d7f808b35ef4881885231762dcba5b4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## Rails 8.1.3 (March 24, 2026) ##
|
|
2
|
+
|
|
3
|
+
* Fix encoding errors for string locals containing non-ASCII characters.
|
|
4
|
+
|
|
5
|
+
*Kataoka Katsuki*
|
|
6
|
+
|
|
7
|
+
* Fix collection caching to only forward `expires_in` argument if explicitly set.
|
|
8
|
+
|
|
9
|
+
*Pieter Visser*
|
|
10
|
+
|
|
1
11
|
## Rails 8.1.2.1 (March 23, 2026) ##
|
|
2
12
|
|
|
3
13
|
* Fix possible XSS in DebugExceptions middleware
|
|
@@ -111,7 +111,11 @@ module ActionView
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
unless entries_to_write.empty?
|
|
114
|
-
|
|
114
|
+
if @options[:cached].is_a?(Hash) && @options[:cached].key?(:expires_in)
|
|
115
|
+
collection_cache.write_multi(entries_to_write, expires_in: @options[:cached][:expires_in])
|
|
116
|
+
else
|
|
117
|
+
collection_cache.write_multi(entries_to_write)
|
|
118
|
+
end
|
|
115
119
|
end
|
|
116
120
|
|
|
117
121
|
keyed_partials
|
data/lib/action_view/template.rb
CHANGED
|
@@ -370,6 +370,12 @@ module ActionView
|
|
|
370
370
|
|
|
371
371
|
return if @strict_locals.nil? # Magic comment not found
|
|
372
372
|
|
|
373
|
+
# Tag with the assumed encoding before encode! runs, same as
|
|
374
|
+
# encode! does for the source itself (see above).
|
|
375
|
+
if @strict_locals.encoding == Encoding::BINARY
|
|
376
|
+
@strict_locals.force_encoding(Encoding.default_external)
|
|
377
|
+
end
|
|
378
|
+
|
|
373
379
|
@strict_locals = "**nil" if @strict_locals.blank?
|
|
374
380
|
end
|
|
375
381
|
|
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: 8.1.
|
|
4
|
+
version: 8.1.3
|
|
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: 8.1.
|
|
18
|
+
version: 8.1.3
|
|
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: 8.1.
|
|
25
|
+
version: 8.1.3
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: builder
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -85,28 +85,28 @@ dependencies:
|
|
|
85
85
|
requirements:
|
|
86
86
|
- - '='
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: 8.1.
|
|
88
|
+
version: 8.1.3
|
|
89
89
|
type: :development
|
|
90
90
|
prerelease: false
|
|
91
91
|
version_requirements: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements:
|
|
93
93
|
- - '='
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 8.1.
|
|
95
|
+
version: 8.1.3
|
|
96
96
|
- !ruby/object:Gem::Dependency
|
|
97
97
|
name: activemodel
|
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements:
|
|
100
100
|
- - '='
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 8.1.
|
|
102
|
+
version: 8.1.3
|
|
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: 8.1.
|
|
109
|
+
version: 8.1.3
|
|
110
110
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
|
111
111
|
email: david@loudthinking.com
|
|
112
112
|
executables: []
|
|
@@ -247,10 +247,10 @@ licenses:
|
|
|
247
247
|
- MIT
|
|
248
248
|
metadata:
|
|
249
249
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
250
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.1.
|
|
251
|
-
documentation_uri: https://api.rubyonrails.org/v8.1.
|
|
250
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.1.3/actionview/CHANGELOG.md
|
|
251
|
+
documentation_uri: https://api.rubyonrails.org/v8.1.3/
|
|
252
252
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
253
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.1.
|
|
253
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.1.3/actionview
|
|
254
254
|
rubygems_mfa_required: 'true'
|
|
255
255
|
rdoc_options: []
|
|
256
256
|
require_paths:
|