qeweney 0.15 → 0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/qeweney/mime_types.rb +1 -0
- data/lib/qeweney/request.rb +4 -2
- data/lib/qeweney/request_info.rb +0 -1
- data/lib/qeweney/routing.rb +2 -1
- data/lib/qeweney/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e47873e013c1c06c36014fdc550160b271e22328a906ee95b86fe9d16aaffb81
|
4
|
+
data.tar.gz: 0e6628b1948c1aff876e08822712e22e46083861dcf1c7467d540ba15cd6d3c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfdf28acfa73a50c7f3a42808a406a0b23b332e04e039fe22d67883f9b31f3cc93e54eba273251cca6f38b90a737e0d3e143814cb1907428d9e9606da0a412b0
|
7
|
+
data.tar.gz: cb61de0b69e783ddd1f817fe606d4ce32a007efeea0d3afb5e259ed9a51f3351ed5f55ffa8316dc6fa0ccded957036f6c163d89644046beae913f0919e49a9d5
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/qeweney/mime_types.rb
CHANGED
data/lib/qeweney/request.rb
CHANGED
@@ -68,12 +68,14 @@ module Qeweney
|
|
68
68
|
@adapter.complete?(self)
|
69
69
|
end
|
70
70
|
|
71
|
-
|
71
|
+
EMPTY_HEADERS = {}.freeze
|
72
|
+
|
73
|
+
def respond(body, headers = EMPTY_HEADERS)
|
72
74
|
@adapter.respond(self, body, headers)
|
73
75
|
@headers_sent = true
|
74
76
|
end
|
75
77
|
|
76
|
-
def send_headers(headers =
|
78
|
+
def send_headers(headers = EMPTY_HEADERS, empty_response = false)
|
77
79
|
return if @headers_sent
|
78
80
|
|
79
81
|
@headers_sent = true
|
data/lib/qeweney/request_info.rb
CHANGED
data/lib/qeweney/routing.rb
CHANGED
data/lib/qeweney/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qeweney
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.16'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sharon Rosner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: escape_utils
|