Sha256: d92b55ec538af406c91eb8ffc7104cb03b971313f33995384eb7f647382dd68c

Contents?: true

Size: 605 Bytes

Versions: 6

Compression:

Stored size: 605 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli/setup'

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

        def run
          deploy 'anynines' do |config|
            config['username']     ||= ask('anynines username: ').to_s
            config['password']     ||= ask('anynines password: ') { |q| q.echo = '*' }.to_s
            config['organization'] ||= ask('anynines organization: ').to_s
            config['space']        ||= ask('anynines space: ').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/anynines.rb
travis-1.13.3 lib/travis/cli/setup/anynines.rb
travis-1.13.2 lib/travis/cli/setup/anynines.rb
travis-1.13.1 lib/travis/cli/setup/anynines.rb
travis-1.13.0 lib/travis/cli/setup/anynines.rb
travis-1.12.0 lib/travis/cli/setup/anynines.rb