Sha256: ad6a258be58da99d0c142e49c8aa70ffb6925401fa8f1171f7f5adda0cf4a760

Contents?: true

Size: 515 Bytes

Versions: 6

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli/setup'

module Travis
  module CLI
    class Setup
      class Appfog < Service
        description 'automatic deployment to Appfog'

        def run
          deploy 'appfog' do |config|
            config['email'] = ask('Email address: ').to_s
            config['password'] = ask('Password: ') { |q| q.echo = '*' }.to_s
            config['app'] = ask('App name: ') { |q| q.default = repository.name }.to_s
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.14.0 lib/travis/cli/setup/appfog.rb
travis-1.13.3 lib/travis/cli/setup/appfog.rb
travis-1.13.2 lib/travis/cli/setup/appfog.rb
travis-1.13.1 lib/travis/cli/setup/appfog.rb
travis-1.13.0 lib/travis/cli/setup/appfog.rb
travis-1.12.0 lib/travis/cli/setup/appfog.rb