actionpack 5.2.3.rc1 → 6.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionpack might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +124 -337
- data/MIT-LICENSE +1 -1
- data/README.rdoc +1 -1
- data/lib/abstract_controller/base.rb +4 -2
- data/lib/abstract_controller/caching/fragments.rb +6 -21
- data/lib/abstract_controller/callbacks.rb +12 -0
- data/lib/abstract_controller/collector.rb +1 -1
- data/lib/abstract_controller/helpers.rb +2 -2
- data/lib/abstract_controller/railties/routes_helpers.rb +1 -1
- data/lib/action_controller.rb +1 -0
- data/lib/action_controller/api.rb +2 -1
- data/lib/action_controller/base.rb +2 -7
- data/lib/action_controller/caching.rb +1 -1
- data/lib/action_controller/log_subscriber.rb +8 -5
- data/lib/action_controller/metal/conditional_get.rb +9 -3
- data/lib/action_controller/metal/data_streaming.rb +5 -6
- data/lib/action_controller/metal/default_headers.rb +17 -0
- data/lib/action_controller/metal/exceptions.rb +22 -1
- data/lib/action_controller/metal/flash.rb +5 -5
- data/lib/action_controller/metal/force_ssl.rb +17 -57
- data/lib/action_controller/metal/head.rb +1 -1
- data/lib/action_controller/metal/helpers.rb +1 -2
- data/lib/action_controller/metal/http_authentication.rb +20 -21
- data/lib/action_controller/metal/implicit_render.rb +2 -12
- data/lib/action_controller/metal/instrumentation.rb +3 -5
- data/lib/action_controller/metal/live.rb +28 -26
- data/lib/action_controller/metal/mime_responds.rb +13 -2
- data/lib/action_controller/metal/params_wrapper.rb +16 -12
- data/lib/action_controller/metal/redirecting.rb +32 -11
- data/lib/action_controller/metal/rendering.rb +1 -1
- data/lib/action_controller/metal/request_forgery_protection.rb +22 -11
- data/lib/action_controller/metal/strong_parameters.rb +57 -32
- data/lib/action_controller/metal/url_for.rb +1 -1
- data/lib/action_controller/railties/helpers.rb +1 -1
- data/lib/action_controller/renderer.rb +15 -2
- data/lib/action_controller/test_case.rb +1 -4
- data/lib/action_dispatch.rb +3 -1
- data/lib/action_dispatch/http/cache.rb +14 -10
- data/lib/action_dispatch/http/content_disposition.rb +45 -0
- data/lib/action_dispatch/http/content_security_policy.rb +9 -8
- data/lib/action_dispatch/http/filter_parameters.rb +8 -6
- data/lib/action_dispatch/http/filter_redirect.rb +1 -1
- data/lib/action_dispatch/http/headers.rb +1 -1
- data/lib/action_dispatch/http/mime_negotiation.rb +7 -10
- data/lib/action_dispatch/http/mime_type.rb +1 -5
- data/lib/action_dispatch/http/parameter_filter.rb +5 -79
- data/lib/action_dispatch/http/parameters.rb +13 -3
- data/lib/action_dispatch/http/request.rb +10 -13
- data/lib/action_dispatch/http/response.rb +18 -17
- data/lib/action_dispatch/http/upload.rb +5 -0
- data/lib/action_dispatch/http/url.rb +81 -81
- data/lib/action_dispatch/journey/formatter.rb +1 -1
- data/lib/action_dispatch/journey/nfa/simulator.rb +0 -2
- data/lib/action_dispatch/journey/nodes/node.rb +9 -8
- data/lib/action_dispatch/journey/path/pattern.rb +3 -3
- data/lib/action_dispatch/journey/router.rb +0 -3
- data/lib/action_dispatch/journey/router/utils.rb +10 -10
- data/lib/action_dispatch/journey/scanner.rb +11 -4
- data/lib/action_dispatch/journey/visitors.rb +1 -1
- data/lib/action_dispatch/middleware/callbacks.rb +2 -4
- data/lib/action_dispatch/middleware/cookies.rb +49 -70
- data/lib/action_dispatch/middleware/debug_exceptions.rb +32 -58
- data/lib/action_dispatch/middleware/debug_locks.rb +5 -5
- data/lib/action_dispatch/middleware/debug_view.rb +50 -0
- data/lib/action_dispatch/middleware/exception_wrapper.rb +36 -7
- data/lib/action_dispatch/middleware/flash.rb +1 -1
- data/lib/action_dispatch/middleware/host_authorization.rb +103 -0
- data/lib/action_dispatch/middleware/remote_ip.rb +6 -8
- data/lib/action_dispatch/middleware/request_id.rb +2 -2
- data/lib/action_dispatch/middleware/session/cookie_store.rb +4 -10
- data/lib/action_dispatch/middleware/ssl.rb +8 -8
- data/lib/action_dispatch/middleware/static.rb +5 -6
- data/lib/action_dispatch/middleware/templates/rescues/_source.html.erb +4 -2
- data/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb +45 -35
- data/lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb +7 -0
- data/lib/action_dispatch/middleware/templates/rescues/blocked_host.text.erb +5 -0
- data/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb +20 -2
- data/lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb +4 -4
- data/lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb +2 -2
- data/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb +19 -0
- data/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.text.erb +3 -0
- data/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +2 -2
- data/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +1 -1
- data/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +2 -2
- data/lib/action_dispatch/middleware/templates/routes/_table.html.erb +3 -0
- data/lib/action_dispatch/railtie.rb +1 -0
- data/lib/action_dispatch/request/session.rb +8 -0
- data/lib/action_dispatch/routing.rb +3 -2
- data/lib/action_dispatch/routing/inspector.rb +99 -50
- data/lib/action_dispatch/routing/mapper.rb +36 -29
- data/lib/action_dispatch/routing/polymorphic_routes.rb +3 -4
- data/lib/action_dispatch/routing/route_set.rb +11 -12
- data/lib/action_dispatch/routing/url_for.rb +1 -0
- data/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb +3 -3
- data/lib/action_dispatch/testing/assertions/response.rb +2 -3
- data/lib/action_dispatch/testing/assertions/routing.rb +7 -2
- data/lib/action_dispatch/testing/integration.rb +11 -4
- data/lib/action_dispatch/testing/test_process.rb +2 -2
- data/lib/action_dispatch/testing/test_response.rb +4 -32
- data/lib/action_pack.rb +1 -1
- data/lib/action_pack/gem_version.rb +4 -4
- metadata +19 -11
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:
|
4
|
+
version: 6.0.0.beta1
|
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: 2019-
|
11
|
+
date: 2019-01-18 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:
|
19
|
+
version: 6.0.0.beta1
|
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:
|
26
|
+
version: 6.0.0.beta1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,28 +92,28 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - '='
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
95
|
+
version: 6.0.0.beta1
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - '='
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
102
|
+
version: 6.0.0.beta1
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: activemodel
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - '='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: 6.0.0.beta1
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - '='
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
116
|
+
version: 6.0.0.beta1
|
117
117
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
118
118
|
testing MVC web applications. Works with any Rack-compatible server.
|
119
119
|
email: david@loudthinking.com
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- lib/action_controller/metal/content_security_policy.rb
|
152
152
|
- lib/action_controller/metal/cookies.rb
|
153
153
|
- lib/action_controller/metal/data_streaming.rb
|
154
|
+
- lib/action_controller/metal/default_headers.rb
|
154
155
|
- lib/action_controller/metal/etag_with_flash.rb
|
155
156
|
- lib/action_controller/metal/etag_with_template_digest.rb
|
156
157
|
- lib/action_controller/metal/exceptions.rb
|
@@ -181,6 +182,7 @@ files:
|
|
181
182
|
- lib/action_controller/test_case.rb
|
182
183
|
- lib/action_dispatch.rb
|
183
184
|
- lib/action_dispatch/http/cache.rb
|
185
|
+
- lib/action_dispatch/http/content_disposition.rb
|
184
186
|
- lib/action_dispatch/http/content_security_policy.rb
|
185
187
|
- lib/action_dispatch/http/filter_parameters.rb
|
186
188
|
- lib/action_dispatch/http/filter_redirect.rb
|
@@ -222,9 +224,11 @@ files:
|
|
222
224
|
- lib/action_dispatch/middleware/cookies.rb
|
223
225
|
- lib/action_dispatch/middleware/debug_exceptions.rb
|
224
226
|
- lib/action_dispatch/middleware/debug_locks.rb
|
227
|
+
- lib/action_dispatch/middleware/debug_view.rb
|
225
228
|
- lib/action_dispatch/middleware/exception_wrapper.rb
|
226
229
|
- lib/action_dispatch/middleware/executor.rb
|
227
230
|
- lib/action_dispatch/middleware/flash.rb
|
231
|
+
- lib/action_dispatch/middleware/host_authorization.rb
|
228
232
|
- lib/action_dispatch/middleware/public_exceptions.rb
|
229
233
|
- lib/action_dispatch/middleware/reloader.rb
|
230
234
|
- lib/action_dispatch/middleware/remote_ip.rb
|
@@ -243,11 +247,15 @@ files:
|
|
243
247
|
- lib/action_dispatch/middleware/templates/rescues/_source.text.erb
|
244
248
|
- lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
|
245
249
|
- lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
|
250
|
+
- lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb
|
251
|
+
- lib/action_dispatch/middleware/templates/rescues/blocked_host.text.erb
|
246
252
|
- lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
|
247
253
|
- lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb
|
248
254
|
- lib/action_dispatch/middleware/templates/rescues/invalid_statement.html.erb
|
249
255
|
- lib/action_dispatch/middleware/templates/rescues/invalid_statement.text.erb
|
250
256
|
- lib/action_dispatch/middleware/templates/rescues/layout.erb
|
257
|
+
- lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb
|
258
|
+
- lib/action_dispatch/middleware/templates/rescues/missing_exact_template.text.erb
|
251
259
|
- lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb
|
252
260
|
- lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb
|
253
261
|
- lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb
|
@@ -293,8 +301,8 @@ homepage: http://rubyonrails.org
|
|
293
301
|
licenses:
|
294
302
|
- MIT
|
295
303
|
metadata:
|
296
|
-
source_code_uri: https://github.com/rails/rails/tree/
|
297
|
-
changelog_uri: https://github.com/rails/rails/blob/
|
304
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.0.0.beta1/actionpack
|
305
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.0.0.beta1/actionpack/CHANGELOG.md
|
298
306
|
post_install_message:
|
299
307
|
rdoc_options: []
|
300
308
|
require_paths:
|
@@ -303,7 +311,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
303
311
|
requirements:
|
304
312
|
- - ">="
|
305
313
|
- !ruby/object:Gem::Version
|
306
|
-
version: 2.
|
314
|
+
version: 2.5.0
|
307
315
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
308
316
|
requirements:
|
309
317
|
- - ">"
|