actionpack 7.1.5.2 → 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 +5 -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 +24 -10
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,7 +1,7 @@
|
|
|
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
|
|
@@ -15,14 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 7.1.
|
|
18
|
+
version: 7.1.6
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
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'
|
|
26
40
|
- !ruby/object:Gem::Dependency
|
|
27
41
|
name: nokogiri
|
|
28
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -127,28 +141,28 @@ dependencies:
|
|
|
127
141
|
requirements:
|
|
128
142
|
- - '='
|
|
129
143
|
- !ruby/object:Gem::Version
|
|
130
|
-
version: 7.1.
|
|
144
|
+
version: 7.1.6
|
|
131
145
|
type: :runtime
|
|
132
146
|
prerelease: false
|
|
133
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
134
148
|
requirements:
|
|
135
149
|
- - '='
|
|
136
150
|
- !ruby/object:Gem::Version
|
|
137
|
-
version: 7.1.
|
|
151
|
+
version: 7.1.6
|
|
138
152
|
- !ruby/object:Gem::Dependency
|
|
139
153
|
name: activemodel
|
|
140
154
|
requirement: !ruby/object:Gem::Requirement
|
|
141
155
|
requirements:
|
|
142
156
|
- - '='
|
|
143
157
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: 7.1.
|
|
158
|
+
version: 7.1.6
|
|
145
159
|
type: :development
|
|
146
160
|
prerelease: false
|
|
147
161
|
version_requirements: !ruby/object:Gem::Requirement
|
|
148
162
|
requirements:
|
|
149
163
|
- - '='
|
|
150
164
|
- !ruby/object:Gem::Version
|
|
151
|
-
version: 7.1.
|
|
165
|
+
version: 7.1.6
|
|
152
166
|
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
|
153
167
|
testing MVC web applications. Works with any Rack-compatible server.
|
|
154
168
|
email: david@loudthinking.com
|
|
@@ -345,10 +359,10 @@ licenses:
|
|
|
345
359
|
- MIT
|
|
346
360
|
metadata:
|
|
347
361
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
348
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
|
349
|
-
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/
|
|
350
364
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
351
|
-
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
|
|
352
366
|
rubygems_mfa_required: 'true'
|
|
353
367
|
rdoc_options: []
|
|
354
368
|
require_paths:
|