summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-11-10 08:17:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-11-10 08:17:40 +0000
commit0707c7a12de82e2a6b3aa149a2c2415dd257ac14 (patch)
tree9923bccea72193193aa3da00c7098a8d95d8e239 /lib
parent882c4495c08b5e4530c9a2b0073c8d0618678c00 (diff)
downloadredmine-0707c7a12de82e2a6b3aa149a2c2415dd257ac14.tar.gz
redmine-0707c7a12de82e2a6b3aa149a2c2415dd257ac14.zip
ci.rake: code format cleanup
git-svn-id: http://svn.redmine.org/redmine/trunk@12257 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/ci.rake16
1 files 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"