actionpack 7.1.5.1 → 7.1.6
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 +10 -0
- data/lib/action_controller/metal/data_streaming.rb +4 -2
- data/lib/action_controller/metal/live.rb +3 -2
- data/lib/action_pack/gem_version.rb +2 -2
- metadata +26 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1af2316ba3289ac1d373bdd885dcafe75b5594ad58309ef0147fa51e1c2483cc
|
|
4
|
+
data.tar.gz: faf73727b8528b049f2bda25c1ff4ef4c69264b1bb452602086d41a91ef349a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2d4e189107a54088a7faf7b077f2ccc73c0e8a52ae9052597b49c665747004fc9aa8280783f9abb517f16c294fd91c1d645eccead735cdbbae0aa7b22370f29
|
|
7
|
+
data.tar.gz: 7e2908079703692f74ae306e3815ac4d8ef8aaa6f94bc8ee5b89aaf33ffc7281d4838fede3fc0058e307656553f1b02925b624770d324d984877e8eb58036059
|
data/CHANGELOG.md
CHANGED
|
@@ -26,7 +26,8 @@ module ActionController # :nodoc:
|
|
|
26
26
|
# page. <tt>send_file(params[:path])</tt> allows a malicious user to
|
|
27
27
|
# download any file on your server.
|
|
28
28
|
#
|
|
29
|
-
# Options:
|
|
29
|
+
# ==== Options:
|
|
30
|
+
#
|
|
30
31
|
# * <tt>:filename</tt> - suggests a filename for the browser to use.
|
|
31
32
|
# Defaults to <tt>File.basename(path)</tt>.
|
|
32
33
|
# * <tt>:type</tt> - specifies an HTTP content type.
|
|
@@ -85,7 +86,8 @@ module ActionController # :nodoc:
|
|
|
85
86
|
# download dialog) or as inline data. You may also set the content type,
|
|
86
87
|
# the file name, and other things.
|
|
87
88
|
#
|
|
88
|
-
# Options:
|
|
89
|
+
# ==== Options:
|
|
90
|
+
#
|
|
89
91
|
# * <tt>:filename</tt> - suggests a filename for the browser to use.
|
|
90
92
|
# * <tt>:type</tt> - specifies an HTTP content type. Defaults to +application/octet-stream+.
|
|
91
93
|
# You can specify either a string or a symbol for a registered type with <tt>Mime::Type.register</tt>, for example +:json+.
|
|
@@ -56,7 +56,7 @@ module ActionController
|
|
|
56
56
|
|
|
57
57
|
module ClassMethods
|
|
58
58
|
def make_response!(request)
|
|
59
|
-
if request.get_header("HTTP_VERSION") == "HTTP/1.0"
|
|
59
|
+
if (request.get_header("SERVER_PROTOCOL") || request.get_header("HTTP_VERSION")) == "HTTP/1.0"
|
|
60
60
|
super
|
|
61
61
|
else
|
|
62
62
|
Live::Response.new.tap do |res|
|
|
@@ -324,7 +324,8 @@ module ActionController
|
|
|
324
324
|
# Sends a stream to the browser, which is helpful when you're generating exports or other running data where you
|
|
325
325
|
# don't want the entire file buffered in memory first. Similar to send_data, but where the data is generated live.
|
|
326
326
|
#
|
|
327
|
-
# Options:
|
|
327
|
+
# ==== Options:
|
|
328
|
+
#
|
|
328
329
|
# * <tt>:filename</tt> - suggests a filename for the browser to use.
|
|
329
330
|
# * <tt>:type</tt> - specifies an HTTP content type.
|
|
330
331
|
# You can specify either a string or a symbol for a registered type with <tt>Mime::Type.register</tt>, for example :json.
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionpack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.1.
|
|
4
|
+
version: 7.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activesupport
|
|
@@ -16,14 +15,28 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - '='
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 7.1.
|
|
18
|
+
version: 7.1.6
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - '='
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 7.1.
|
|
25
|
+
version: 7.1.6
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: cgi
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
27
40
|
- !ruby/object:Gem::Dependency
|
|
28
41
|
name: nokogiri
|
|
29
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,28 +141,28 @@ dependencies:
|
|
|
128
141
|
requirements:
|
|
129
142
|
- - '='
|
|
130
143
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 7.1.
|
|
144
|
+
version: 7.1.6
|
|
132
145
|
type: :runtime
|
|
133
146
|
prerelease: false
|
|
134
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
148
|
requirements:
|
|
136
149
|
- - '='
|
|
137
150
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 7.1.
|
|
151
|
+
version: 7.1.6
|
|
139
152
|
- !ruby/object:Gem::Dependency
|
|
140
153
|
name: activemodel
|
|
141
154
|
requirement: !ruby/object:Gem::Requirement
|
|
142
155
|
requirements:
|
|
143
156
|
- - '='
|
|
144
157
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 7.1.
|
|
158
|
+
version: 7.1.6
|
|
146
159
|
type: :development
|
|
147
160
|
prerelease: false
|
|
148
161
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
162
|
requirements:
|
|
150
163
|
- - '='
|
|
151
164
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 7.1.
|
|
165
|
+
version: 7.1.6
|
|
153
166
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
|
154
167
|
testing MVC web applications. Works with any Rack-compatible server.
|
|
155
168
|
email: david@loudthinking.com
|
|
@@ -346,12 +359,11 @@ licenses:
|
|
|
346
359
|
- MIT
|
|
347
360
|
metadata:
|
|
348
361
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
349
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
|
350
|
-
documentation_uri: https://api.rubyonrails.org/v7.1.
|
|
362
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.1.6/actionpack/CHANGELOG.md
|
|
363
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.6/
|
|
351
364
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
352
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.1.
|
|
365
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.1.6/actionpack
|
|
353
366
|
rubygems_mfa_required: 'true'
|
|
354
|
-
post_install_message:
|
|
355
367
|
rdoc_options: []
|
|
356
368
|
require_paths:
|
|
357
369
|
- lib
|
|
@@ -367,8 +379,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
367
379
|
version: '0'
|
|
368
380
|
requirements:
|
|
369
381
|
- none
|
|
370
|
-
rubygems_version: 3.
|
|
371
|
-
signing_key:
|
|
382
|
+
rubygems_version: 3.6.9
|
|
372
383
|
specification_version: 4
|
|
373
384
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|
|
374
385
|
test_files: []
|