From 0707c7a12de82e2a6b3aa149a2c2415dd257ac14 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 10 Nov 2013 08:17:40 +0000 Subject: [PATCH] ci.rake: code format cleanup git-svn-id: http://svn.redmine.org/redmine/trunk@12257 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/ci.rake | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index ab7eb2341..0834d874d 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -45,16 +45,24 @@ file 'config/database.yml' do case database when 'mysql' - dev_conf = {'adapter' => (RUBY_VERSION >= '1.9' ? 'mysql2' : 'mysql'), 'database' => dev_db_name, 'host' => 'localhost', 'username' => 'jenkins', 'password' => 'jenkins', 'encoding' => 'utf8'} + dev_conf = {'adapter' => (RUBY_VERSION >= '1.9' ? 'mysql2' : 'mysql'), + 'database' => dev_db_name, 'host' => 'localhost', + 'username' => 'jenkins', 'password' => 'jenkins', + 'encoding' => 'utf8'} test_conf = dev_conf.merge('database' => test_db_name) when 'postgresql' - dev_conf = {'adapter' => 'postgresql', 'database' => dev_db_name, 'host' => 'localhost', 'username' => 'jenkins', 'password' => 'jenkins'} + dev_conf = {'adapter' => 'postgresql', 'database' => dev_db_name, + 'host' => 'localhost', + 'username' => 'jenkins', 'password' => 'jenkins'} test_conf = dev_conf.merge('database' => test_db_name) when 'sqlite3' - dev_conf = {'adapter' => 'sqlite3', 'database' => "db/#{dev_db_name}.sqlite3"} + dev_conf = {'adapter' => 'sqlite3', + 'database' => "db/#{dev_db_name}.sqlite3"} test_conf = dev_conf.merge('database' => "db/#{test_db_name}.sqlite3") when 'sqlserver' - dev_conf = {'adapter' => 'sqlserver', 'database' => dev_db_name, 'host' => 'mssqlserver', 'port' => 1433, 'username' => 'jenkins', 'password' => 'jenkins'} + dev_conf = {'adapter' => 'sqlserver', 'database' => dev_db_name, + 'host' => 'mssqlserver', 'port' => 1433, + 'username' => 'jenkins', 'password' => 'jenkins'} test_conf = dev_conf.merge('database' => test_db_name) else abort "Unknown database" -- 2.39.5