rack-xsl 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rack/xsl.rb +1 -0
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.7
1
+ 0.2.8
data/lib/rack/xsl.rb CHANGED
@@ -34,6 +34,7 @@ module Rack
34
34
 
35
35
  # Obtain entire request body, ensuring sure it can be processed
36
36
  myxml = getResponse(body)
37
+ body.close if body.respond_to?(:close)
37
38
 
38
39
  # One more check for an empty respone
39
40
  return original_response if myxml.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-xsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: shoulda
17
- requirement: &83843760 !ruby/object:Gem::Requirement
17
+ requirement: &81052570 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *83843760
25
+ version_requirements: *81052570
26
26
  description: Rack middleware for transforming XML with XSL.
27
27
  email: albert.lash@docunext.com
28
28
  executables: []