Haruka Yoshihara
null+****@clear*****
Thu Dec 13 15:28:10 JST 2012
Haruka Yoshihara 2012-12-13 15:28:10 +0900 (Thu, 13 Dec 2012) New Revision: bb5b9e22b0fb7223a5a876a93008219e475b8058 https://github.com/groonga/groonga-query-log/commit/bb5b9e22b0fb7223a5a876a93008219e475b8058 Log: Unify require in the top of the file Modified files: lib/groonga/query-log/analyzer.rb Modified: lib/groonga/query-log/analyzer.rb (+1 -1) =================================================================== --- lib/groonga/query-log/analyzer.rb 2012-12-13 15:27:10 +0900 (e1d8971) +++ lib/groonga/query-log/analyzer.rb 2012-12-13 15:28:10 +0900 (3d4108d) @@ -18,6 +18,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA require 'optparse' +require 'json' require "groonga/query-log/parser" require "groonga/query-log/analyzer/sized-statistics" @@ -186,7 +187,6 @@ module Groonga def create_reporter(statistics) case @options[:reporter] when "json" - require 'json' JSONReporter.new(statistics) when "html" HTMLReporter.new(statistics) -------------- next part -------------- HTML����������������������������...Download