lib/travis/cli/setup/cloud_files.rb in travis-1.11.1 vs lib/travis/cli/setup/cloud_files.rb in travis-1.12.0

- old
+ new

@@ -1,18 +1,20 @@ +# frozen_string_literal: true + require 'travis/cli/setup' module Travis module CLI class Setup class CloudFiles < Service - description "automatic pushing to Rackspace Cloud Files" + description 'automatic pushing to Rackspace Cloud Files' def run deploy 'cloudfiles' do |config| - config['username'] = ask("Rackspace Username: ").to_s - config['api_key'] = ask("Rackspace Api Key: ") { |q| q.echo = "*" }.to_s - config['region'] = ask("Cloud Files Region: ").to_s - config['container'] = ask("Container: ").to_s + config['username'] = ask('Rackspace Username: ').to_s + config['api_key'] = ask('Rackspace Api Key: ') { |q| q.echo = '*' }.to_s + config['region'] = ask('Cloud Files Region: ').to_s + config['container'] = ask('Container: ').to_s end end end end end