GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Fix problem with static files, use Proc === body
ezmobius (author)
Thu Feb 14 00:22:44 -0800 2008
commit  00d31732641f7da265bce3cac5b9ae972a086c43
tree    3093b5c280d9c06506589038c878089db006a1f7
parent  9c39944389993f22418a9c4233f327adc0069b2e
...
58
59
60
61
 
62
63
64
...
58
59
60
 
61
62
63
64
0
@@ -58,7 +58,7 @@ module Merb
0
               }
0
             }
0
             
0
- if body.respond_to?(:call)
0
+ if Proc === body
0
               body.call(response)
0
             else
0
               body.each { |part|
...
1
2
3
 
 
 
4
5
6
...
1
2
3
4
5
6
7
8
9
0
@@ -1,6 +1,9 @@
0
 require File.join(File.dirname(__FILE__), "..", "..", "spec_helper")
0
 require 'rack/mock'
0
 
0
+Merb.start :environment => 'test',
0
+ :adapter => 'runner'
0
+
0
 describe Merb::Rack::Application do
0
 
0
   before do

Comments

    No one has commented yet.