rack-xslview 0.0.1 → 0.0.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 -5
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/lib/rack-xslview.rb CHANGED
@@ -1,7 +1,3 @@
1
- require 'xml/libxml'
2
- require 'xml/libxslt'
3
-
4
-
5
1
  module Rack
6
2
  class XSLView
7
3
  def initialize(app, options)
@@ -33,7 +29,7 @@ module Rack
33
29
  [status, headers, self]
34
30
  end
35
31
  end
36
- #response.each { |part| response_body += part }
32
+ # Need to get entire response before transforming
37
33
  def each(&block)
38
34
  mycontent = ""
39
35
  @response.each { |part|
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.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Lash
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-26 00:00:00 -05:00
12
+ date: 2009-12-27 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency