template_streaming 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/template_streaming/version.rb +1 -1
- data/lib/template_streaming.rb +2 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/lib/template_streaming.rb
CHANGED
@@ -25,8 +25,8 @@ module TemplateStreaming
|
|
25
25
|
def render_with_template_streaming(*args, &block)
|
26
26
|
with_template_streaming_condition(*args) do |condition|
|
27
27
|
if condition
|
28
|
-
@performed_render = true
|
29
28
|
check_thin_support
|
29
|
+
@performed_render = true
|
30
30
|
@streaming_body = StreamingBody.new(progressive_rendering_threshold) do
|
31
31
|
@performed_render = false
|
32
32
|
last_piece = render_without_template_streaming(*args, &block)
|
@@ -251,4 +251,5 @@ module TemplateStreaming
|
|
251
251
|
ActionView::Base.send :include, View
|
252
252
|
ActionController::Base.send :include, Controller
|
253
253
|
ActionController::Response.send :include, Response
|
254
|
+
ActionController::Dispatcher.middleware.use Rack::Chunked
|
254
255
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- George Ogata
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-27 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|