resources/load_hearthstone_cards.rb in flare-up-0.9 vs resources/load_hearthstone_cards.rb in flare-up-0.10

- old
+ new

@@ -3,11 +3,11 @@ host_name = 'flare-up-test.cskjnp4xvaje.us-west-2.redshift.amazonaws.com' db_name = 'dev' table_name = 'hearthstone_cards' data_source = 's3://slif-redshift/hearthstone_cards_short_list.csv' -conn = FlareUp::Connection.new(host_name, db_name, ENV['REDSHIFT_USERNAME'], ENV['REDSHIFT_PASSWORD']) +conn = FlareUp::Connection.new(host_name, db_name, ENV['REDSHIFT_USERNAME'], ENV['REDSHIFT_PASSWORD'], ENV['REDSHIFT_PORT']) copy = FlareUp::Command::Copy.new(table_name, data_source, ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']) copy.columns = %w(name cost attack health description) copy.options = "REGION 'us-east-1' CSV" @@ -59,6 +59,6 @@ flare-up-test.cskjnp4xvaje.us-west-2.redshift.amazonaws.com \ dev \ hearthstone_cards \ --column-list name cost attack health description \ --copy_options "CSV ;lmlkmlk3" -COMMAND \ No newline at end of file +COMMAND