Sha256: a8d57737c5555aa193c1be4d67957c177821b727cf313ff1827438d58c8c79c4

Contents?: true

Size: 972 Bytes

Versions: 6

Compression:

Stored size: 972 Bytes

Contents

# frozen_string_literal: true

require 'thor'
require 'chamber/commands/travis/secure'

module  Chamber
module  Binary
class   Travis < Thor
  desc 'secure', 'Uses your Travis CI public key to encrypt the settings you have ' \
                 'chosen not to commit to the repo'

  method_option :dry_run,
                type:    :boolean,
                aliases: '-d',
                desc:    'Does not actually encrypt anything to .travis.yml, but ' \
                         'instead displays what values would be encrypted'

  method_option :only_sensitive,
                type:    :boolean,
                aliases: '-o',
                default: true,
                desc:    'Does not encrypt settings into .travis.yml unless they are ' \
                         'contained in files which have been gitignored or settings ' \
                         'which are marked as "_secure"'

  def secure
    Commands::Travis::Secure.call(options)
  end
end
end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chamber-2.12.5 lib/chamber/binary/travis.rb
chamber-2.12.3 lib/chamber/binary/travis.rb
chamber-2.12.2 lib/chamber/binary/travis.rb
chamber-2.12.1 lib/chamber/binary/travis.rb
chamber-2.12.0 lib/chamber/binary/travis.rb
chamber-2.11.0 lib/chamber/binary/travis.rb