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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d2ca920a2ecb64c3b2c766d1e40902f18bd1702
4
- data.tar.gz: a01875aec0a4b99157eff44a2e0a0dbd875b3112
3
+ metadata.gz: 408023b452e82e718cae736b0a03205cee740e09
4
+ data.tar.gz: 219ddba59885e2acd71d3829d4a3ec4b3c6681d9
5
5
  SHA512:
6
- metadata.gz: 30a83829526cad9aaf0181112c83aa39ef27f749e627816e769a81ebd3ad7da6950e012c98f46fcc1f56714149dd9e8327fbebf90b404344fa4a5952f5a8fc0e
7
- data.tar.gz: c5128cbc3c2bb8d3486d2fe062843c028e6832e9c6559e97f62cf238dbecc8fe2df9a2e1935f72786cd609e25d37306209f09e8c9bf57aed97a69caff25d86f1
6
+ metadata.gz: 1544c2d60309ca69227fdcb66005f498f3873cf316c75789bcd50dc1a5439b05ef76962df996136c503b5cb1e3f23c13f86a7b3b362787c3a01456290d8e842a
7
+ data.tar.gz: fa141f438502c30119178b4d1831b17a6d44901512a8c29d77db374c6e7cde83697fc624afe53942af5153933db42ad63a194d4888b94ba6b870b79fc1cbec86
data/Changes CHANGED
@@ -1,3 +1,7 @@
1
+ 0.1.2 2014-12-25T17:33:59Z
2
+
3
+ - oops. status_code.to_i is required
4
+
1
5
  0.1.1 2014-12-25T17:19:31Z
2
6
 
3
7
  - added close for body
@@ -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
@@ -1,3 +1,3 @@
1
1
  class Rhebok
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhebok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Nagano