actionpack 8.0.0.rc2 → 8.0.0
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 +5 -0
- data/lib/action_controller/base.rb +1 -1
- data/lib/action_controller/metal/redirecting.rb +2 -1
- data/lib/action_controller/metal/streaming.rb +1 -1
- data/lib/action_pack/gem_version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 239a368486048f1afb68d3463355a6a9cde859c5cbe2199a708a35cb538d5dbb
|
|
4
|
+
data.tar.gz: 4d16e862e97e3348f81b68a966747a220543cbac4a2ec0a3a804318dda76ce09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ddabd2752f936c6a8ef53d0ba4d077b9a28e8a4ef079ba45a0c3b3878ae21dc75675c8d36a16a05ac3f21f20ceae9e38b0f62049abadee67d4b2d15e6eb54b43
|
|
7
|
+
data.tar.gz: cfddc2490012b49d47458e41211d17e577b6e748a87e5b9c43a011c3312398a8b00faee7ba283e78bdc2082df3fe116896bfe05b9daf55962596f94c31afaa10
|
data/CHANGELOG.md
CHANGED
|
@@ -266,7 +266,7 @@ module ActionController
|
|
|
266
266
|
ParamsWrapper
|
|
267
267
|
]
|
|
268
268
|
|
|
269
|
-
# Note: Documenting these severely
|
|
269
|
+
# Note: Documenting these severely degrades the performance of rdoc
|
|
270
270
|
# :stopdoc:
|
|
271
271
|
include AbstractController::Rendering
|
|
272
272
|
include AbstractController::Translation
|
|
@@ -106,13 +106,14 @@ module ActionController
|
|
|
106
106
|
|
|
107
107
|
allow_other_host = response_options.delete(:allow_other_host) { _allow_other_host }
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
proposed_status = _extract_redirect_to_status(options, response_options)
|
|
110
110
|
|
|
111
111
|
redirect_to_location = _compute_redirect_to_location(request, options)
|
|
112
112
|
_ensure_url_is_http_header_safe(redirect_to_location)
|
|
113
113
|
|
|
114
114
|
self.location = _enforce_open_redirect_protection(redirect_to_location, allow_other_host: allow_other_host)
|
|
115
115
|
self.response_body = ""
|
|
116
|
+
self.status = proposed_status
|
|
116
117
|
end
|
|
117
118
|
|
|
118
119
|
# Soft deprecated alias for #redirect_back_or_to where the `fallback_location`
|
|
@@ -171,7 +171,7 @@ module ActionController # :nodoc:
|
|
|
171
171
|
# Call render_body if we are streaming instead of usual `render`.
|
|
172
172
|
def _render_template(options)
|
|
173
173
|
if options.delete(:stream)
|
|
174
|
-
# It
|
|
174
|
+
# It shouldn't be necessary to set this.
|
|
175
175
|
headers["cache-control"] ||= "no-cache"
|
|
176
176
|
|
|
177
177
|
view_renderer.render_body(view_context, options)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionpack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.0.0
|
|
4
|
+
version: 8.0.0
|
|
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-11-07 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: 8.0.0
|
|
19
|
+
version: 8.0.0
|
|
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: 8.0.0
|
|
26
|
+
version: 8.0.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: nokogiri
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,28 +128,28 @@ dependencies:
|
|
|
128
128
|
requirements:
|
|
129
129
|
- - '='
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 8.0.0
|
|
131
|
+
version: 8.0.0
|
|
132
132
|
type: :runtime
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
136
|
- - '='
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 8.0.0
|
|
138
|
+
version: 8.0.0
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: activemodel
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
|
143
143
|
- - '='
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 8.0.0
|
|
145
|
+
version: 8.0.0
|
|
146
146
|
type: :development
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
150
|
- - '='
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 8.0.0
|
|
152
|
+
version: 8.0.0
|
|
153
153
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
|
154
154
|
testing MVC web applications. Works with any Rack-compatible server.
|
|
155
155
|
email: david@loudthinking.com
|
|
@@ -350,10 +350,10 @@ licenses:
|
|
|
350
350
|
- MIT
|
|
351
351
|
metadata:
|
|
352
352
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
353
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.0.0
|
|
354
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.0
|
|
353
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.0/actionpack/CHANGELOG.md
|
|
354
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.0/
|
|
355
355
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
356
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.0.0
|
|
356
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.0/actionpack
|
|
357
357
|
rubygems_mfa_required: 'true'
|
|
358
358
|
post_install_message:
|
|
359
359
|
rdoc_options: []
|
|
@@ -371,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
371
371
|
version: '0'
|
|
372
372
|
requirements:
|
|
373
373
|
- none
|
|
374
|
-
rubygems_version: 3.5.
|
|
374
|
+
rubygems_version: 3.5.22
|
|
375
375
|
signing_key:
|
|
376
376
|
specification_version: 4
|
|
377
377
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|