grover 0.9.2 → 0.10.1

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: 9baec3609c998a3b80824c897e107615963239064048abb8a668cb98ff3281b5
4
- data.tar.gz: 7b64f918f3ba7e54ac62961c4051018c04c0822175b29c31e3c594a7031bf9d7
3
+ metadata.gz: 347ddedd0c8bcdcbd3d5d655be1ae714c56383ee42b0fafe50415e1666e6a185
4
+ data.tar.gz: e4df638d52d38e9dec2274c81150c8a6ae47a63b0b9585fb5053d9267e5027db
5
5
  SHA512:
6
- metadata.gz: d85176ad385a6ab09ddedeb360a7b1086518af521d8ffbc023d688b636e5c2a68ec8ff4ad272fcd32ba3718ecbdfe7958f3d977e6ec88090abe9f5f6a03ea6f6
7
- data.tar.gz: 9e6f9f49ca7eeef6c934407777dfefb190d8065fe509c97d212174798cc29ff1cf1586953ddc269ff1d1fb73ec9d5967375f7f06ab39b2cd148d305faf954d5f
6
+ metadata.gz: 2eab74dc3058d3f43d2967fc291cfbd63cc35c58db6cbea54af783f9ee06b4b013aac92590b1a3e4532689073884037f3c6f9fdc783203ae09adbc63f5a4cc88
7
+ data.tar.gz: 57f58c1b84f00ac89bb96000c9cf2de064ae4c8ec55f3ededfa346e5daee91e7da1af0b7b0a87a98569b8baa9c6b315e0ce30feb0d2f16cd8574dd0d13c1bbd0
@@ -18,6 +18,10 @@ class Grover
18
18
  end
19
19
 
20
20
  def call(env)
21
+ dup._call(env)
22
+ end
23
+
24
+ def _call(env)
21
25
  @request = Rack::Request.new(env)
22
26
  identify_request_type
23
27
 
@@ -65,6 +69,7 @@ class Grover
65
69
 
66
70
  def update_response(response, headers)
67
71
  body, content_type = convert_response response
72
+ response.close if response.respond_to? :close
68
73
  assign_headers headers, body, content_type
69
74
  [body]
70
75
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Grover
4
- VERSION = '0.9.2'
4
+ VERSION = '0.10.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Bromwich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-27 00:00:00.000000000 Z
11
+ date: 2020-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: combine_pdf