actionview 8.0.3 → 8.0.4.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db69362edf94a58af2281f36919c695039e5e2e7be5707b36ee6a6553deaddcf
|
|
4
|
+
data.tar.gz: 4343c2bcf50ed9237feb87fb8c295e16ae37b5bda5b66573d0f47d3efb2fb40c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5a42c58fe67751baf3004a2cb5e1fbcc843c23dc01c668eb5e9de02c2a68fe776e808a9076f9b8af5842bb33770fe1110814dab70d6906751762bdf550595f2
|
|
7
|
+
data.tar.gz: 806f5955af447cf19e200ad782f7ae65c9ba3d1d2587f4af04a8a58fc13b6d85ff7dcf28dc8db1976b37cf5108201696bcb594818ee188cb22f5f52c70554134
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## Rails 8.0.4.1 (March 23, 2026) ##
|
|
2
|
+
|
|
3
|
+
* Skip blank attribute names in tag helpers to avoid generating invalid HTML.
|
|
4
|
+
|
|
5
|
+
[CVE-2026-33168]
|
|
6
|
+
|
|
7
|
+
*Mike Dalessio*
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Rails 8.0.4 (October 28, 2025) ##
|
|
11
|
+
|
|
12
|
+
* Restore `add_default_name_and_id` method.
|
|
13
|
+
|
|
14
|
+
*Hartley McGuire*
|
|
15
|
+
|
|
16
|
+
|
|
1
17
|
## Rails 8.0.3 (September 22, 2025) ##
|
|
2
18
|
|
|
3
19
|
* Fix label with `for` option not getting prefixed by form `namespace` value
|
|
@@ -115,7 +115,7 @@ module ActionView
|
|
|
115
115
|
path_options = options.extract!("protocol", "extname", "host", "skip_pipeline").symbolize_keys
|
|
116
116
|
preload_links = []
|
|
117
117
|
use_preload_links_header = options["preload_links_header"].nil? ? preload_links_header : options.delete("preload_links_header")
|
|
118
|
-
nopush = options["nopush"].nil?
|
|
118
|
+
nopush = options["nopush"].nil? || options.delete("nopush")
|
|
119
119
|
crossorigin = options.delete("crossorigin")
|
|
120
120
|
crossorigin = "anonymous" if crossorigin == true
|
|
121
121
|
integrity = options["integrity"]
|
|
@@ -206,7 +206,7 @@ module ActionView
|
|
|
206
206
|
preload_links = []
|
|
207
207
|
crossorigin = options.delete("crossorigin")
|
|
208
208
|
crossorigin = "anonymous" if crossorigin == true
|
|
209
|
-
nopush = options["nopush"].nil?
|
|
209
|
+
nopush = options["nopush"].nil? || options.delete("nopush")
|
|
210
210
|
integrity = options["integrity"]
|
|
211
211
|
|
|
212
212
|
sources_tags = sources.uniq.map { |source|
|
|
@@ -250,16 +250,19 @@ module ActionView
|
|
|
250
250
|
output = +""
|
|
251
251
|
sep = " "
|
|
252
252
|
options.each_pair do |key, value|
|
|
253
|
+
next if key.blank?
|
|
254
|
+
|
|
253
255
|
type = TAG_TYPES[key]
|
|
254
256
|
if type == :data && value.is_a?(Hash)
|
|
255
257
|
value.each_pair do |k, v|
|
|
256
|
-
next if v.nil?
|
|
258
|
+
next if k.blank? || v.nil?
|
|
259
|
+
|
|
257
260
|
output << sep
|
|
258
261
|
output << prefix_tag_option(key, k, v, escape)
|
|
259
262
|
end
|
|
260
263
|
elsif type == :aria && value.is_a?(Hash)
|
|
261
264
|
value.each_pair do |k, v|
|
|
262
|
-
next if v.nil?
|
|
265
|
+
next if k.blank? || v.nil?
|
|
263
266
|
|
|
264
267
|
case v
|
|
265
268
|
when Array, Hash
|
|
@@ -92,6 +92,7 @@ module ActionView
|
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
|
+
alias_method :add_default_name_and_id_for_value, :add_default_name_and_field_for_value
|
|
95
96
|
|
|
96
97
|
def add_default_name_and_field(options, field = "id")
|
|
97
98
|
index = name_and_id_index(options)
|
|
@@ -104,6 +105,7 @@ module ActionView
|
|
|
104
105
|
end
|
|
105
106
|
end
|
|
106
107
|
end
|
|
108
|
+
alias_method :add_default_name_and_id, :add_default_name_and_field
|
|
107
109
|
|
|
108
110
|
def tag_name(multiple = false, index = nil)
|
|
109
111
|
@template_object.field_name(@object_name, sanitized_method_name, multiple: multiple, index: index)
|
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.0.
|
|
4
|
+
version: 8.0.4.1
|
|
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.0.
|
|
18
|
+
version: 8.0.4.1
|
|
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.0.
|
|
25
|
+
version: 8.0.4.1
|
|
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.0.
|
|
88
|
+
version: 8.0.4.1
|
|
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.0.
|
|
95
|
+
version: 8.0.4.1
|
|
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.0.
|
|
102
|
+
version: 8.0.4.1
|
|
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.0.
|
|
109
|
+
version: 8.0.4.1
|
|
110
110
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
|
111
111
|
email: david@loudthinking.com
|
|
112
112
|
executables: []
|
|
@@ -246,10 +246,10 @@ licenses:
|
|
|
246
246
|
- MIT
|
|
247
247
|
metadata:
|
|
248
248
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
249
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.0.
|
|
250
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.
|
|
249
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.4.1/actionview/CHANGELOG.md
|
|
250
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.4.1/
|
|
251
251
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
252
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.0.
|
|
252
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.4.1/actionview
|
|
253
253
|
rubygems_mfa_required: 'true'
|
|
254
254
|
rdoc_options: []
|
|
255
255
|
require_paths:
|
|
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
266
266
|
version: '0'
|
|
267
267
|
requirements:
|
|
268
268
|
- none
|
|
269
|
-
rubygems_version:
|
|
269
|
+
rubygems_version: 4.0.6
|
|
270
270
|
specification_version: 4
|
|
271
271
|
summary: Rendering framework putting the V in MVC (part of Rails).
|
|
272
272
|
test_files: []
|