lib/travis/cli/setup/modulus.rb in travis-1.11.1 vs lib/travis/cli/setup/modulus.rb in travis-1.12.0
- old
+ new
@@ -1,16 +1,18 @@
+# frozen_string_literal: true
+
require 'travis/cli/setup'
module Travis
module CLI
class Setup
class Modulus < Service
- description "deployment to Modulus"
+ description 'deployment to Modulus'
def run
deploy 'modulus' do |config|
- config['api_key'] = ask("Modulus Api Key: ") { |q| q.echo = "*" }.to_s
- config['project_name'] = ask("Modulus Project Name: ").to_s
+ config['api_key'] = ask('Modulus Api Key: ') { |q| q.echo = '*' }.to_s
+ config['project_name'] = ask('Modulus Project Name: ').to_s
end
end
end
end
end