rack-xslview 0.1.1 → 0.1.2

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-xslview.rb +1 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/lib/rack-xslview.rb CHANGED
@@ -40,7 +40,7 @@ module Rack
40
40
  @xslt.xml = parts
41
41
  newbody = []
42
42
  newbody << @xslt.serve
43
- headers['Content-Length'] = newbody.to_s.length.to_s
43
+ headers['Content-Length'] = newbody[0].length.to_s
44
44
  [status, headers, newbody]
45
45
  end
46
46
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-xslview
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
  - Albert Lash