rack-app 7.6.4 → 7.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/VERSION +1 -1
- data/lib/rack/app/instance_methods/serve_file.rb +4 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f181500774143b5c53a11d4dd9f06a4f3782808226b2ad840fd5af9fe3dcff96
|
4
|
+
data.tar.gz: 4059d1bd01e8f36ec6a0d46b41bdfd524e002789125e0e51b3d4a716bd5c35aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a209cb4d5cfb40f161a15bcce3f049b16558f71aef1597d8a02a721f410774ea6b3e6752ba73cb3f8711fd59163fa904fd5fbde635b5b6ff7b949abf6ad7843
|
7
|
+
data.tar.gz: 590c2a8ec95a1a6f1d8b9610f76d87d197cfa449efe97ca2a5c3a3a4bc13f383ad0620ca82891058e20c0b6e90ec99812d58a6c81f163bec960e61964aa26442
|
data/README.md
CHANGED
@@ -33,9 +33,8 @@ when rack provides a finalized support for http2.
|
|
33
33
|
If you have an issue, I weekly check the issues tab,
|
34
34
|
answer and reply, or implement a fix for it.
|
35
35
|
|
36
|
-
Since the framework
|
37
|
-
I don't have to update the code base
|
38
|
-
because there are no integration problems.
|
36
|
+
Since the framework's only dependency is the `rack` gem,
|
37
|
+
I don't have to update the code base to often.
|
39
38
|
|
40
39
|
Cheers and Happy Coding!
|
41
40
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.6.
|
1
|
+
7.6.5
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module Rack::App::InstanceMethods::ServeFile
|
2
2
|
|
3
3
|
def serve_file(file_path)
|
4
|
-
|
5
|
-
response.status =
|
6
|
-
response.headers.merge!(
|
7
|
-
response.body =
|
4
|
+
rack_resp = Rack::App::FileServer.serve_file(request.env, file_path)
|
5
|
+
response.status = rack_resp[0]
|
6
|
+
response.headers.merge!(rack_resp[1])
|
7
|
+
response.body = rack_resp[2]
|
8
8
|
finish!
|
9
9
|
end
|
10
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.6.
|
4
|
+
version: 7.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -197,7 +197,7 @@ homepage: http://www.rack-app.com/
|
|
197
197
|
licenses:
|
198
198
|
- Apache License 2.0
|
199
199
|
metadata: {}
|
200
|
-
post_install_message:
|
200
|
+
post_install_message:
|
201
201
|
rdoc_options: []
|
202
202
|
require_paths:
|
203
203
|
- lib
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
version: '0'
|
214
214
|
requirements: []
|
215
215
|
rubygems_version: 3.0.3
|
216
|
-
signing_key:
|
216
|
+
signing_key:
|
217
217
|
specification_version: 4
|
218
218
|
summary: Minimalist rack application interface building framework.
|
219
219
|
test_files: []
|