lib/travis/cli/setup/open_shift.rb in travis-1.11.1 vs lib/travis/cli/setup/open_shift.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 OpenShift < Service - description "automatic deployment to OpenShfit" + description 'automatic deployment to OpenShfit' def run deploy 'openshift' do |config| - config['user'] = ask("OpenShift user: ").to_s - config['password'] = ask("OpenShift password: ") { |q| q.echo = "*" }.to_s - config['app'] = ask("OpenShift application name: ") { |q| q.default = repository.name }.to_s - config['domain'] = ask("OpenShift domain: ").to_s + config['user'] = ask('OpenShift user: ').to_s + config['password'] = ask('OpenShift password: ') { |q| q.echo = '*' }.to_s + config['app'] = ask('OpenShift application name: ') { |q| q.default = repository.name }.to_s + config['domain'] = ask('OpenShift domain: ').to_s end end end end end -end \ No newline at end of file +end