rack-process 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class Process
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -77,6 +77,7 @@ class Rack::Process
77
77
  write "output"
78
78
  write piece
79
79
  end
80
+ body.close if body.respond_to? :close
80
81
  write "done"
81
82
  rescue SystemExit, Errno::EINTR
82
83
  # Ignore
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-process
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70333352912860 !ruby/object:Gem::Requirement
16
+ requirement: &70173855457980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '2.9'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70333352912860
24
+ version_requirements: *70173855457980
25
25
  description: Proxy to a rack app in a seperate process.
26
26
  email:
27
27
  - sj26@sj26.com