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: e667c2e3d2154547c2f51d406d07515af42cc9074e21e8179fdab642126821e4
4
- data.tar.gz: 26339190cf4ab15b06913451c1ea6a750d5399ba4f7963cdc55b7f59db818ada
3
+ metadata.gz: 052b30de0663b0dad4d13257fe9df692f476442aec20db8040098dd9a8bd0c6d
4
+ data.tar.gz: 1bcb4c5b5784b488a4c518960124ec3b0ea0c2d04843b424559668f398a4c857
5
5
  SHA512:
6
- metadata.gz: b7e494e368f95c7b398f30d88d15bcc9a6aa3cc033cd339c432447959ebf7cff2090c11bece1360303414228100a1a72a29c95aa7044ccd6861547693785f711
7
- data.tar.gz: 732c61233f0a1c25291232981ef399afca94c0ebff7a8215b1f810696e24e8a72fa49afc2c65ce1bac92967bff1fe2aa4802c8c2bbd9cfaefd0cc8fbc8798210
6
+ metadata.gz: d907d3ca83dc1a512b43ef951c4b8671c88447c012e2adfd34134d105090d59784512b1b0ec61368f417dbbc8caac35d0987baa9720fc5148f1018d0c1b4f22c
7
+ data.tar.gz: 04b65186945bac800e890cc07442827e9b476298197a559e30a8febce6e0b56d1396a22495c21608da7209c56daf33a19c1e2778f3252b96f3878ea9a2af2bb0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 7.2.0.beta2 (June 04, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 7.2.0.beta1 (May 29, 2024) ##
2
7
 
3
8
  * Add queries count to template rendering instrumentation.
@@ -10,7 +10,7 @@ module ActionView
10
10
  MAJOR = 7
11
11
  MINOR = 2
12
12
  TINY = 0
13
- PRE = "beta1"
13
+ PRE = "beta2"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -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("Link" => preload_links.join("\n"))
660
+ request.send_early_hints("link" => preload_links.join(","))
661
661
  end
662
662
 
663
663
  if response_present
664
- header = +response.headers["Link"].to_s
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["Link"] = header
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 7.3") if model.nil?
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 7.3, passing content as a
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.beta1
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-05-29 00:00:00.000000000 Z
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.beta1
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.beta1
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.beta1
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.beta1
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.beta1
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.beta1
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.beta1/actionview/CHANGELOG.md
251
- documentation_uri: https://api.rubyonrails.org/v7.2.0.beta1/
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.beta1/actionview
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: '0'
268
+ version: 1.3.1
269
269
  requirements:
270
270
  - none
271
- rubygems_version: 3.5.10
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).