lib/create.rb in mogbak-0.2.0 vs lib/create.rb in mogbak-0.2.1

- old
+ new

@@ -6,11 +6,11 @@ #Run validations and create the backup profile #@param [Hash] o hash containing the settings for the backup profile 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] @tracker_ip = o[:tracker_ip] if o[:tracker_ip] @tracker_port = o[:tracker_port] if o[:tracker_port] @@ -51,6 +51,6 @@ file.write settings.to_yaml end true end -end \ No newline at end of file +end