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

- old
+ new

@@ -1,20 +1,22 @@ +# frozen_string_literal: true + require 'travis/cli/setup' module Travis module CLI class Setup class Cloud_66 < Service - description "Automatic deployment to Cloud 66" + description 'Automatic deployment to Cloud 66' service_name 'cloud66' def run deploy 'cloud66', 'release' do |config| - config['redeployment_hook'] ||= ask("Cloud 66 Redeployment Hook Url: ") { |q| q.echo = "*" }.to_s + config['redeployment_hook'] ||= ask('Cloud 66 Redeployment Hook Url: ') { |q| q.echo = '*' }.to_s - encrypt(config, 'redeployment_hook') if agree("Encrypt Redeployment Hook?") { |q| q.default = 'yes' } + encrypt(config, 'redeployment_hook') if agree('Encrypt Redeployment Hook?') { |q| q.default = 'yes' } end end end end end -end \ No newline at end of file +end