lib/travis/cli/setup/ninefold.rb in travis-1.11.1 vs lib/travis/cli/setup/ninefold.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 Ninefold < Service - description "Automatic deployment to Ninefold" + description 'Automatic deployment to Ninefold' def run deploy 'ninefold', 'release' do |config| - config['app_id'] ||= ask("Ninefold App ID: ").to_s - config['auth_token'] ||= ask("Ninefold Auth Token: ") { |q| q.echo = "*" }.to_s + config['app_id'] ||= ask('Ninefold App ID: ').to_s + config['auth_token'] ||= ask('Ninefold Auth Token: ') { |q| q.echo = '*' }.to_s - encrypt(config, 'auth_token') if agree("Encrypt Auth Token? ") { |q| q.default = 'yes' } + encrypt(config, 'auth_token') if agree('Encrypt Auth Token? ') { |q| q.default = 'yes' } end end end end end -end \ No newline at end of file +end