goliath-rack_proxy 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: b171e5003a8dfe0cadaa210dac317f726105b331
4
- data.tar.gz: 4d10396d80eb5daea3e408632b4c2b65c7396348
3
+ metadata.gz: 4e0faf756d318aa26b6f2455170f901fc9f34e08
4
+ data.tar.gz: 98bef02d09c8f1ba44f2d5d61472b2ba72295a96
5
5
  SHA512:
6
- metadata.gz: 0e5ccb7619e0c772a6908e8b2da75c3e4723a5d4df6b6a8608ac352715974e4ab0952e6d44abc5c21e6676a49b9163a834e8c8d5d2095374225b8be932112da0
7
- data.tar.gz: 8b82bce8218052775828d446555c8d5e0d9848f2091a2bf2ae6ef12392bc25500afa0eb7efa47d628eeb116ddf8bf3c271cb4cb854f1d6d8952a81d8e1313e67
6
+ metadata.gz: 97db69eff0ca6580fa381385b009307050b19e86661ea9c3a1051957692d90336c13fbbbb3c439ae632d6cd8aa76052a4e90352670c7bcefbec30b154051d0ff
7
+ data.tar.gz: b633ce955e5e43b052e6331e3c53b9ef801b83bdb783d10c51dff1ad4c4b3e48ff14ce01eebbff6c54a79a51fc83afecaac9c1364764d01f63b3ff75c59fbf26
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "goliath-rack_proxy"
3
- gem.version = "0.1.1"
3
+ gem.version = "0.1.2"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
@@ -18,6 +18,7 @@ Gem::Specification.new do |gem|
18
18
 
19
19
  gem.add_development_dependency "rake", "~> 11.1"
20
20
  gem.add_development_dependency "minitest", "~> 5.8"
21
+ gem.add_development_dependency "minitest-hooks"
21
22
  gem.add_development_dependency "http"
22
23
  gem.add_development_dependency "rack", "~> 2.0"
23
24
  end
@@ -89,7 +89,7 @@ module Goliath
89
89
  [500, headers, body]
90
90
  ensure
91
91
  # request has finished, so we close the read end of the rack input
92
- env["rack.input"].close_read
92
+ EM.next_tick { env["rack.input"].close_read }
93
93
  end
94
94
 
95
95
  # Streams the response to the client.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goliath-rack_proxy
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
  - Janko Marohnić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-24 00:00:00.000000000 Z
11
+ date: 2017-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: goliath
@@ -58,6 +58,20 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '5.8'
61
+ - !ruby/object:Gem::Dependency
62
+ name: minitest-hooks
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
61
75
  - !ruby/object:Gem::Dependency
62
76
  name: http
63
77
  requirement: !ruby/object:Gem::Requirement