[Hiki-cvs 1510] [1057] using rack

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 9月 8日 (火) 23:17:27 JST


Revision: 1057
          http://sourceforge.jp/projects/hiki/svn/view?view=rev&revision=1057
Author:   okkez
Date:     2009-09-08 23:17:27 +0900 (Tue, 08 Sep 2009)

Log Message:
-----------
using rack

Modified Paths:
--------------
    hiki/branches/rack/misc/plugin/pagerank.rb

Modified: hiki/branches/rack/misc/plugin/pagerank.rb
===================================================================
--- hiki/branches/rack/misc/plugin/pagerank.rb	2009-09-08 14:17:24 UTC (rev 1056)
+++ hiki/branches/rack/misc/plugin/pagerank.rb	2009-09-08 14:17:27 UTC (rev 1057)
@@ -327,7 +327,6 @@
   header['Content-Language'] =****@conf*****
   header['Pragma']           = 'no-cache'
   header['Cache-Control']    = 'no-cache'
-  print****@cgi*****(header)
 
   options = PageRank.default_options( @conf )
   options.update(@options)
@@ -358,8 +357,7 @@
 </body>
 </html>
 }
-  puts sources
-  nil
+  ::Hiki::Response.new(sources, 200, header)
 end
 
 # print pagerank table




Hiki-cvs メーリングリストの案内
Back to archive index