actionview 7.2.0.beta1 → 7.2.0.beta2
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: 052b30de0663b0dad4d13257fe9df692f476442aec20db8040098dd9a8bd0c6d
|
4
|
+
data.tar.gz: 1bcb4c5b5784b488a4c518960124ec3b0ea0c2d04843b424559668f398a4c857
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d907d3ca83dc1a512b43ef951c4b8671c88447c012e2adfd34134d105090d59784512b1b0ec61368f417dbbc8caac35d0987baa9720fc5148f1018d0c1b4f22c
|
7
|
+
data.tar.gz: 04b65186945bac800e890cc07442827e9b476298197a559e30a8febce6e0b56d1396a22495c21608da7209c56daf33a19c1e2778f3252b96f3878ea9a2af2bb0
|
data/CHANGELOG.md
CHANGED
@@ -657,11 +657,11 @@ module ActionView
|
|
657
657
|
return if response_present && response.sending?
|
658
658
|
|
659
659
|
if respond_to?(:request) && request
|
660
|
-
request.send_early_hints("
|
660
|
+
request.send_early_hints("link" => preload_links.join(","))
|
661
661
|
end
|
662
662
|
|
663
663
|
if response_present
|
664
|
-
header = +response.headers["
|
664
|
+
header = +response.headers["link"].to_s
|
665
665
|
preload_links.each do |link|
|
666
666
|
break if header.bytesize + link.bytesize > max_header_size
|
667
667
|
|
@@ -672,7 +672,7 @@ module ActionView
|
|
672
672
|
end
|
673
673
|
end
|
674
674
|
|
675
|
-
response.headers["
|
675
|
+
response.headers["link"] = header
|
676
676
|
end
|
677
677
|
end
|
678
678
|
end
|
@@ -753,7 +753,7 @@ module ActionView
|
|
753
753
|
# form_with(**options.merge(builder: LabellingFormBuilder), &block)
|
754
754
|
# end
|
755
755
|
def form_with(model: false, scope: nil, url: nil, format: nil, **options, &block)
|
756
|
-
ActionView.deprecator.warn("Passing nil to the :model argument is deprecated and will raise in Rails
|
756
|
+
ActionView.deprecator.warn("Passing nil to the :model argument is deprecated and will raise in Rails 8.0") if model.nil?
|
757
757
|
|
758
758
|
options = { allow_method_names_outside_object: true, skip_default_ids: !form_with_generates_ids }.merge!(options)
|
759
759
|
|
@@ -66,7 +66,7 @@ module ActionView
|
|
66
66
|
ActionView.deprecator.warn <<~TEXT
|
67
67
|
Putting content inside a void element (#{name}) is invalid
|
68
68
|
according to the HTML5 spec, and so it is being deprecated
|
69
|
-
without replacement. In Rails
|
69
|
+
without replacement. In Rails 8.0, passing content as a
|
70
70
|
positional argument will raise, and using a block will have
|
71
71
|
no effect.
|
72
72
|
TEXT
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.2.0.
|
4
|
+
version: 7.2.0.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.2.0.
|
19
|
+
version: 7.2.0.beta2
|
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.0.
|
26
|
+
version: 7.2.0.beta2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,28 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 7.2.0.
|
89
|
+
version: 7.2.0.beta2
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 7.2.0.
|
96
|
+
version: 7.2.0.beta2
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: activemodel
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 7.2.0.
|
103
|
+
version: 7.2.0.beta2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 7.2.0.
|
110
|
+
version: 7.2.0.beta2
|
111
111
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
112
112
|
email: david@loudthinking.com
|
113
113
|
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/v7.2.0.
|
251
|
-
documentation_uri: https://api.rubyonrails.org/v7.2.0.
|
250
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.2.0.beta2/actionview/CHANGELOG.md
|
251
|
+
documentation_uri: https://api.rubyonrails.org/v7.2.0.beta2/
|
252
252
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
253
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.2.0.
|
253
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.2.0.beta2/actionview
|
254
254
|
rubygems_mfa_required: 'true'
|
255
255
|
post_install_message:
|
256
256
|
rdoc_options: []
|
@@ -263,12 +263,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
263
263
|
version: 3.1.0
|
264
264
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
265
265
|
requirements:
|
266
|
-
- - "
|
266
|
+
- - ">"
|
267
267
|
- !ruby/object:Gem::Version
|
268
|
-
version:
|
268
|
+
version: 1.3.1
|
269
269
|
requirements:
|
270
270
|
- none
|
271
|
-
rubygems_version: 3.
|
271
|
+
rubygems_version: 3.3.27
|
272
272
|
signing_key:
|
273
273
|
specification_version: 4
|
274
274
|
summary: Rendering framework putting the V in MVC (part of Rails).
|