Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Make --dbport option work #9

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Create
def initialize(o={})
@db = o[:db] if o[:db]
@db_host = o[:db_host] if o[:db_host]
@db_port = o[:db_port] if o[:db_port]
@db_port = Integer(o[:db_port]) if o[:db_port]
@db_pass = o[:db_pass] if o[:db_pass]
@db_user = o[:db_user] if o[:db_user]
@domain = o[:domain] if o[:domain]
Expand Down Expand Up @@ -53,4 +53,4 @@ def save_settings

true
end
end
end