ronin-web-server 0.1.0.beta2 → 0.1.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12765156008589491d49fc0daacb1a10ee5cd772e245052c0d7f335fe905c3b3
4
- data.tar.gz: fe1ca6647e5527d39f473356246f19db946cd0cf5fae1b4122038e7ad63e0816
3
+ metadata.gz: 3c32a0fe8db0a81c16ca23b030e40e9b7037be55aa9ecbcaccf7d3f89f2cfae6
4
+ data.tar.gz: 6c1fe701cada3c42cf79fad64c89bec28d976895e2cfdc38cc354aea430aabbd
5
5
  SHA512:
6
- metadata.gz: 0c27e82e2e45ae189645917324e5a46e6098819a4567b6562c63eee91fd2afdcdf69fba087435af6b3a13f3d87e2872534d29ba5a4f92ae492d1cc306e9ca99d
7
- data.tar.gz: df896a19879909dfe1cd5e7156712069736bb1dbc23e4b64a4c7f2ddfa69637d0079702cf203ecaf27007e03b1fe3ac946a728553c1f1f501dcc746b69a12122
6
+ metadata.gz: 7828f35bb04b7929d2d27af05149146d7812767724793850371115e163383b561a153b9ff9818954e998e44049d96f9e1bf6ba250351aa3b94e65ff75a4e226b
7
+ data.tar.gz: 3265c6b0f4f5c9d0f8c72ac55013a7bedca3e4559822af63390642b90b8964d9e5fa334863fee7efa321b022602ae4d2c6e49d1bf2cdda98a330115f001984d4
@@ -110,8 +110,8 @@ module Ronin
110
110
  # @param [Hash{String => Object}] env
111
111
  # The rack request env Hash.
112
112
  #
113
- # @return [ReverseProxy::Response]
114
- # The rack response.
113
+ # @return [(Integer, Hash{String => String}, Array<String>)]
114
+ # The rack response tuple (status, headers, body).
115
115
  #
116
116
  def call(env)
117
117
  request = Request.new(env)
@@ -127,7 +127,7 @@ module Ronin
127
127
  end
128
128
  end
129
129
 
130
- return response
130
+ return [response.status, response.headers, response.body]
131
131
  end
132
132
 
133
133
  #
@@ -22,7 +22,7 @@ module Ronin
22
22
  module Web
23
23
  module Server
24
24
  # ronin-web-server version
25
- VERSION = '0.1.0.beta2'
25
+ VERSION = '0.1.0.beta3'
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin-web-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.beta2
4
+ version: 0.1.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-13 00:00:00.000000000 Z
11
+ date: 2023-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webrick