Sha256: 130c4cc9da4cc0c772ed2f61e45c23c487329bda090b787ba9a0a3f49e41aa38

Contents?: true

Size: 586 Bytes

Versions: 6

Compression:

Stored size: 586 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli/setup'

module Travis
  module CLI
    class Setup
      class CloudFiles < Service
        description 'automatic pushing to Rackspace Cloud Files'

        def run
          deploy 'cloudfiles' do |config|
            config['username'] = ask('Rackspace Username: ').to_s
            config['api_key'] = ask('Rackspace Api Key: ') { |q| q.echo = '*' }.to_s
            config['region'] = ask('Cloud Files Region: ').to_s
            config['container'] = ask('Container: ').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/cloud_files.rb
travis-1.13.3 lib/travis/cli/setup/cloud_files.rb
travis-1.13.2 lib/travis/cli/setup/cloud_files.rb
travis-1.13.1 lib/travis/cli/setup/cloud_files.rb
travis-1.13.0 lib/travis/cli/setup/cloud_files.rb
travis-1.12.0 lib/travis/cli/setup/cloud_files.rb