rhebok 0.1.1 → 0.1.2
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/Changes +4 -0
- data/lib/rack/handler/rhebok.rb +2 -2
- data/lib/rhebok/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 408023b452e82e718cae736b0a03205cee740e09
|
4
|
+
data.tar.gz: 219ddba59885e2acd71d3829d4a3ec4b3c6681d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1544c2d60309ca69227fdcb66005f498f3873cf316c75789bcd50dc1a5439b05ef76962df996136c503b5cb1e3f23c13f86a7b3b362787c3a01456290d8e842a
|
7
|
+
data.tar.gz: fa141f438502c30119178b4d1831b17a6d44901512a8c29d77db374c6e7cde83697fc624afe53942af5153933db42ad63a194d4888b94ba6b870b79fc1cbec86
|
data/Changes
CHANGED
data/lib/rack/handler/rhebok.rb
CHANGED
@@ -236,9 +236,9 @@ module Rack
|
|
236
236
|
|
237
237
|
status_code, headers, body = app.call(env)
|
238
238
|
if body.instance_of?(Array)
|
239
|
-
::Rhebok.write_response(connection, @options[:Timeout], status_code, headers, body)
|
239
|
+
::Rhebok.write_response(connection, @options[:Timeout], status_code.to_i, headers, body)
|
240
240
|
else
|
241
|
-
::Rhebok.write_response(connection, @options[:Timeout], status_code, headers, [])
|
241
|
+
::Rhebok.write_response(connection, @options[:Timeout], status_code.to_i, headers, [])
|
242
242
|
body.each do |part|
|
243
243
|
ret = ::Rhebok.write_all(connection, part, 0, @options[:Timeout])
|
244
244
|
if ret == nil
|
data/lib/rhebok/version.rb
CHANGED