null+****@clear*****
null+****@clear*****
2012年 6月 11日 (月) 16:09:43 JST
Haruka Yoshihara 2012-06-11 16:09:43 +0900 (Mon, 11 Jun 2012)
New Revision: f0e518175e4e0f013e3cdc88f24ebd22183386d3
Log:
create_temporary_config_file -> create_config_file
Modified files:
lib/groonga/tester.rb
Modified: lib/groonga/tester.rb (+2 -3)
===================================================================
--- lib/groonga/tester.rb 2012-06-11 15:26:27 +0900 (aa21efe)
+++ lib/groonga/tester.rb 2012-06-11 16:09:43 +0900 (47cd7aa)
@@ -322,8 +322,7 @@ module Groonga
if /groonga-httpd$/ =~ @tester.groonga
db_path = context.db_path
- config_file =
- create_temporary_config_file(host, port, db_path, pid_file)
+ config_file = create_config_file(host, port, db_path, pid_file)
groonga_options = [
"-c", config_file.path,
]
@@ -363,7 +362,7 @@ module Groonga
end
end
- def create_temporary_config_file(host, port, db_path, pid_file)
+ def create_config_file(host, port, db_path, pid_file)
config_file = Tempfile.new("test-httpd.conf")
config_file.puts <<EOF
worker_processes 1;