actionpack 7.0.4.3 → 7.1.3.4
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 +380 -284
- data/MIT-LICENSE +1 -1
- data/README.rdoc +4 -4
- data/lib/abstract_controller/base.rb +20 -11
- data/lib/abstract_controller/caching/fragments.rb +2 -0
- data/lib/abstract_controller/callbacks.rb +31 -6
- data/lib/abstract_controller/deprecator.rb +7 -0
- data/lib/abstract_controller/helpers.rb +75 -28
- data/lib/abstract_controller/railties/routes_helpers.rb +1 -16
- data/lib/abstract_controller/rendering.rb +12 -14
- data/lib/abstract_controller/translation.rb +9 -6
- data/lib/abstract_controller/url_for.rb +2 -0
- data/lib/abstract_controller.rb +6 -0
- data/lib/action_controller/api.rb +6 -4
- data/lib/action_controller/base.rb +3 -17
- data/lib/action_controller/caching.rb +2 -0
- data/lib/action_controller/deprecator.rb +7 -0
- data/lib/action_controller/form_builder.rb +2 -0
- data/lib/action_controller/log_subscriber.rb +16 -4
- data/lib/action_controller/metal/basic_implicit_render.rb +3 -1
- data/lib/action_controller/metal/conditional_get.rb +121 -123
- data/lib/action_controller/metal/content_security_policy.rb +5 -5
- data/lib/action_controller/metal/data_streaming.rb +20 -18
- data/lib/action_controller/metal/default_headers.rb +2 -0
- data/lib/action_controller/metal/etag_with_flash.rb +3 -1
- data/lib/action_controller/metal/etag_with_template_digest.rb +2 -0
- data/lib/action_controller/metal/exceptions.rb +8 -0
- data/lib/action_controller/metal/head.rb +9 -7
- data/lib/action_controller/metal/helpers.rb +3 -14
- data/lib/action_controller/metal/http_authentication.rb +17 -8
- data/lib/action_controller/metal/implicit_render.rb +5 -3
- data/lib/action_controller/metal/instrumentation.rb +8 -1
- data/lib/action_controller/metal/live.rb +25 -1
- data/lib/action_controller/metal/mime_responds.rb +2 -2
- data/lib/action_controller/metal/params_wrapper.rb +4 -2
- data/lib/action_controller/metal/permissions_policy.rb +2 -2
- data/lib/action_controller/metal/redirecting.rb +25 -8
- data/lib/action_controller/metal/renderers.rb +4 -4
- data/lib/action_controller/metal/rendering.rb +114 -9
- data/lib/action_controller/metal/request_forgery_protection.rb +144 -53
- data/lib/action_controller/metal/rescue.rb +6 -3
- data/lib/action_controller/metal/streaming.rb +71 -31
- data/lib/action_controller/metal/strong_parameters.rb +158 -101
- data/lib/action_controller/metal/url_for.rb +9 -4
- data/lib/action_controller/metal.rb +79 -21
- data/lib/action_controller/railtie.rb +24 -10
- data/lib/action_controller/renderer.rb +99 -85
- data/lib/action_controller/test_case.rb +15 -5
- data/lib/action_controller.rb +8 -1
- data/lib/action_dispatch/constants.rb +32 -0
- data/lib/action_dispatch/deprecator.rb +7 -0
- data/lib/action_dispatch/http/cache.rb +8 -10
- data/lib/action_dispatch/http/content_security_policy.rb +14 -9
- data/lib/action_dispatch/http/filter_parameters.rb +14 -28
- data/lib/action_dispatch/http/headers.rb +3 -1
- data/lib/action_dispatch/http/mime_negotiation.rb +22 -22
- data/lib/action_dispatch/http/mime_type.rb +35 -12
- data/lib/action_dispatch/http/mime_types.rb +3 -1
- data/lib/action_dispatch/http/parameters.rb +1 -1
- data/lib/action_dispatch/http/permissions_policy.rb +38 -23
- data/lib/action_dispatch/http/rack_cache.rb +2 -0
- data/lib/action_dispatch/http/request.rb +63 -30
- data/lib/action_dispatch/http/response.rb +80 -63
- data/lib/action_dispatch/http/upload.rb +15 -2
- data/lib/action_dispatch/journey/formatter.rb +8 -2
- data/lib/action_dispatch/journey/path/pattern.rb +14 -14
- data/lib/action_dispatch/journey/route.rb +3 -2
- data/lib/action_dispatch/journey/router.rb +9 -8
- data/lib/action_dispatch/journey/routes.rb +2 -2
- data/lib/action_dispatch/log_subscriber.rb +23 -0
- data/lib/action_dispatch/middleware/actionable_exceptions.rb +5 -6
- data/lib/action_dispatch/middleware/assume_ssl.rb +24 -0
- data/lib/action_dispatch/middleware/callbacks.rb +2 -0
- data/lib/action_dispatch/middleware/cookies.rb +85 -102
- data/lib/action_dispatch/middleware/debug_exceptions.rb +26 -25
- data/lib/action_dispatch/middleware/debug_locks.rb +4 -1
- data/lib/action_dispatch/middleware/debug_view.rb +7 -2
- data/lib/action_dispatch/middleware/exception_wrapper.rb +186 -27
- data/lib/action_dispatch/middleware/executor.rb +1 -1
- data/lib/action_dispatch/middleware/flash.rb +7 -0
- data/lib/action_dispatch/middleware/host_authorization.rb +18 -8
- data/lib/action_dispatch/middleware/public_exceptions.rb +5 -3
- data/lib/action_dispatch/middleware/reloader.rb +7 -5
- data/lib/action_dispatch/middleware/remote_ip.rb +21 -20
- data/lib/action_dispatch/middleware/request_id.rb +4 -2
- data/lib/action_dispatch/middleware/server_timing.rb +4 -4
- data/lib/action_dispatch/middleware/session/abstract_store.rb +5 -0
- data/lib/action_dispatch/middleware/session/cache_store.rb +2 -0
- data/lib/action_dispatch/middleware/session/cookie_store.rb +11 -5
- data/lib/action_dispatch/middleware/session/mem_cache_store.rb +3 -1
- data/lib/action_dispatch/middleware/show_exceptions.rb +25 -18
- data/lib/action_dispatch/middleware/ssl.rb +18 -6
- data/lib/action_dispatch/middleware/stack.rb +7 -2
- data/lib/action_dispatch/middleware/static.rb +14 -10
- data/lib/action_dispatch/middleware/templates/rescues/_actions.html.erb +2 -2
- data/lib/action_dispatch/middleware/templates/rescues/_message_and_suggestions.html.erb +4 -4
- data/lib/action_dispatch/middleware/templates/rescues/_source.html.erb +8 -1
- data/lib/action_dispatch/middleware/templates/rescues/blocked_host.html.erb +7 -3
- data/lib/action_dispatch/middleware/templates/rescues/blocked_host.text.erb +5 -3
- data/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb +7 -7
- data/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb +2 -2
- data/lib/action_dispatch/middleware/templates/rescues/layout.erb +17 -0
- data/lib/action_dispatch/middleware/templates/rescues/missing_exact_template.html.erb +16 -12
- data/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +1 -1
- data/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +3 -3
- data/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +4 -4
- data/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb +1 -1
- data/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb +1 -1
- data/lib/action_dispatch/middleware/templates/routes/_route.html.erb +3 -0
- data/lib/action_dispatch/middleware/templates/routes/_table.html.erb +59 -41
- data/lib/action_dispatch/railtie.rb +14 -4
- data/lib/action_dispatch/request/session.rb +16 -6
- data/lib/action_dispatch/request/utils.rb +8 -3
- data/lib/action_dispatch/routing/inspector.rb +54 -6
- data/lib/action_dispatch/routing/mapper.rb +58 -24
- data/lib/action_dispatch/routing/polymorphic_routes.rb +2 -0
- data/lib/action_dispatch/routing/redirection.rb +15 -6
- data/lib/action_dispatch/routing/route_set.rb +52 -22
- data/lib/action_dispatch/routing/routes_proxy.rb +10 -15
- data/lib/action_dispatch/routing/url_for.rb +26 -22
- data/lib/action_dispatch/routing.rb +7 -7
- data/lib/action_dispatch/system_test_case.rb +3 -3
- data/lib/action_dispatch/system_testing/browser.rb +20 -19
- data/lib/action_dispatch/system_testing/driver.rb +14 -22
- data/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb +27 -16
- data/lib/action_dispatch/testing/assertion_response.rb +1 -1
- data/lib/action_dispatch/testing/assertions/response.rb +14 -7
- data/lib/action_dispatch/testing/assertions/routing.rb +67 -28
- data/lib/action_dispatch/testing/assertions.rb +3 -1
- data/lib/action_dispatch/testing/integration.rb +27 -17
- data/lib/action_dispatch/testing/request_encoder.rb +4 -1
- data/lib/action_dispatch/testing/test_process.rb +4 -3
- data/lib/action_dispatch/testing/test_request.rb +1 -1
- data/lib/action_dispatch/testing/test_response.rb +23 -9
- data/lib/action_dispatch.rb +37 -4
- data/lib/action_pack/gem_version.rb +4 -4
- data/lib/action_pack/version.rb +1 -1
- data/lib/action_pack.rb +1 -1
- metadata +65 -29
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: 7.
|
4
|
+
version: 7.1.3.4
|
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:
|
11
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,34 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.
|
19
|
+
version: 7.1.3.4
|
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.
|
26
|
+
version: 7.1.3.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.8.5
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
32
39
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
40
|
+
version: 1.8.5
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: racc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
34
45
|
- - ">="
|
35
46
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
47
|
+
version: '0'
|
37
48
|
type: :runtime
|
38
49
|
prerelease: false
|
39
50
|
version_requirements: !ruby/object:Gem::Requirement
|
40
51
|
requirements:
|
41
|
-
- - "
|
52
|
+
- - ">="
|
42
53
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rack
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
44
59
|
- - ">="
|
45
60
|
- !ruby/object:Gem::Version
|
46
|
-
version: 2.2.
|
61
|
+
version: 2.2.4
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.2.4
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rack-session
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.0.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.0.1
|
47
83
|
- !ruby/object:Gem::Dependency
|
48
84
|
name: rack-test
|
49
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,62 +100,56 @@ dependencies:
|
|
64
100
|
requirements:
|
65
101
|
- - "~>"
|
66
102
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1.
|
68
|
-
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 1.2.0
|
103
|
+
version: '1.6'
|
71
104
|
type: :runtime
|
72
105
|
prerelease: false
|
73
106
|
version_requirements: !ruby/object:Gem::Requirement
|
74
107
|
requirements:
|
75
108
|
- - "~>"
|
76
109
|
- !ruby/object:Gem::Version
|
77
|
-
version: '1.
|
78
|
-
- - ">="
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 1.2.0
|
110
|
+
version: '1.6'
|
81
111
|
- !ruby/object:Gem::Dependency
|
82
112
|
name: rails-dom-testing
|
83
113
|
requirement: !ruby/object:Gem::Requirement
|
84
114
|
requirements:
|
85
115
|
- - "~>"
|
86
116
|
- !ruby/object:Gem::Version
|
87
|
-
version: '2.
|
117
|
+
version: '2.2'
|
88
118
|
type: :runtime
|
89
119
|
prerelease: false
|
90
120
|
version_requirements: !ruby/object:Gem::Requirement
|
91
121
|
requirements:
|
92
122
|
- - "~>"
|
93
123
|
- !ruby/object:Gem::Version
|
94
|
-
version: '2.
|
124
|
+
version: '2.2'
|
95
125
|
- !ruby/object:Gem::Dependency
|
96
126
|
name: actionview
|
97
127
|
requirement: !ruby/object:Gem::Requirement
|
98
128
|
requirements:
|
99
129
|
- - '='
|
100
130
|
- !ruby/object:Gem::Version
|
101
|
-
version: 7.
|
131
|
+
version: 7.1.3.4
|
102
132
|
type: :runtime
|
103
133
|
prerelease: false
|
104
134
|
version_requirements: !ruby/object:Gem::Requirement
|
105
135
|
requirements:
|
106
136
|
- - '='
|
107
137
|
- !ruby/object:Gem::Version
|
108
|
-
version: 7.
|
138
|
+
version: 7.1.3.4
|
109
139
|
- !ruby/object:Gem::Dependency
|
110
140
|
name: activemodel
|
111
141
|
requirement: !ruby/object:Gem::Requirement
|
112
142
|
requirements:
|
113
143
|
- - '='
|
114
144
|
- !ruby/object:Gem::Version
|
115
|
-
version: 7.
|
145
|
+
version: 7.1.3.4
|
116
146
|
type: :development
|
117
147
|
prerelease: false
|
118
148
|
version_requirements: !ruby/object:Gem::Requirement
|
119
149
|
requirements:
|
120
150
|
- - '='
|
121
151
|
- !ruby/object:Gem::Version
|
122
|
-
version: 7.
|
152
|
+
version: 7.1.3.4
|
123
153
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
124
154
|
testing MVC web applications. Works with any Rack-compatible server.
|
125
155
|
email: david@loudthinking.com
|
@@ -137,6 +167,7 @@ files:
|
|
137
167
|
- lib/abstract_controller/caching/fragments.rb
|
138
168
|
- lib/abstract_controller/callbacks.rb
|
139
169
|
- lib/abstract_controller/collector.rb
|
170
|
+
- lib/abstract_controller/deprecator.rb
|
140
171
|
- lib/abstract_controller/error.rb
|
141
172
|
- lib/abstract_controller/helpers.rb
|
142
173
|
- lib/abstract_controller/logger.rb
|
@@ -149,6 +180,7 @@ files:
|
|
149
180
|
- lib/action_controller/api/api_rendering.rb
|
150
181
|
- lib/action_controller/base.rb
|
151
182
|
- lib/action_controller/caching.rb
|
183
|
+
- lib/action_controller/deprecator.rb
|
152
184
|
- lib/action_controller/form_builder.rb
|
153
185
|
- lib/action_controller/log_subscriber.rb
|
154
186
|
- lib/action_controller/metal.rb
|
@@ -188,6 +220,8 @@ files:
|
|
188
220
|
- lib/action_controller/template_assertions.rb
|
189
221
|
- lib/action_controller/test_case.rb
|
190
222
|
- lib/action_dispatch.rb
|
223
|
+
- lib/action_dispatch/constants.rb
|
224
|
+
- lib/action_dispatch/deprecator.rb
|
191
225
|
- lib/action_dispatch/http/cache.rb
|
192
226
|
- lib/action_dispatch/http/content_disposition.rb
|
193
227
|
- lib/action_dispatch/http/content_security_policy.rb
|
@@ -224,7 +258,9 @@ files:
|
|
224
258
|
- lib/action_dispatch/journey/visualizer/fsm.css
|
225
259
|
- lib/action_dispatch/journey/visualizer/fsm.js
|
226
260
|
- lib/action_dispatch/journey/visualizer/index.html.erb
|
261
|
+
- lib/action_dispatch/log_subscriber.rb
|
227
262
|
- lib/action_dispatch/middleware/actionable_exceptions.rb
|
263
|
+
- lib/action_dispatch/middleware/assume_ssl.rb
|
228
264
|
- lib/action_dispatch/middleware/callbacks.rb
|
229
265
|
- lib/action_dispatch/middleware/cookies.rb
|
230
266
|
- lib/action_dispatch/middleware/debug_exceptions.rb
|
@@ -310,10 +346,10 @@ licenses:
|
|
310
346
|
- MIT
|
311
347
|
metadata:
|
312
348
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
313
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.
|
314
|
-
documentation_uri: https://api.rubyonrails.org/v7.
|
349
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.1.3.4/actionpack/CHANGELOG.md
|
350
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.3.4/
|
315
351
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
316
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.
|
352
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.1.3.4/actionpack
|
317
353
|
rubygems_mfa_required: 'true'
|
318
354
|
post_install_message:
|
319
355
|
rdoc_options: []
|
@@ -331,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
331
367
|
version: '0'
|
332
368
|
requirements:
|
333
369
|
- none
|
334
|
-
rubygems_version: 3.
|
370
|
+
rubygems_version: 3.3.27
|
335
371
|
signing_key:
|
336
372
|
specification_version: 4
|
337
373
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|