Sha256: 662f435ab6f8e8cf2750e9c670c780ffc79cc5afa92747f6bdd4d4610eb10d88

Contents?: true

Size: 267 Bytes

Versions: 386

Compression:

Stored size: 267 Bytes

Contents

require 'travis/cli'

module Travis
  module CLI
    class Disable < RepoCommand
      description "disables a project"

      def run
        authenticate
        repository.disable
        say "disabled", color("#{slug}: %s :(", :error)
      end
    end
  end
end

Version data entries

386 entries across 386 versions & 3 rubygems

Version Path
travis-1.6.2.travis.369.4 lib/travis/cli/disable.rb
travis-1.6.2.travis.368.4 lib/travis/cli/disable.rb
travis-1.6.2.travis.367.4 lib/travis/cli/disable.rb
travis-1.6.2.travis.366.4 lib/travis/cli/disable.rb
travis-1.6.2.travis.365.4 lib/travis/cli/disable.rb
travis-1.6.2.travis.364.4 lib/travis/cli/disable.rb
travis-1.6.1 lib/travis/cli/disable.rb
travis-1.6.1.travis.363.4 lib/travis/cli/disable.rb
travis-1.6.0 lib/travis/cli/disable.rb
travis-1.5.9.travis.362.4 lib/travis/cli/disable.rb
travis-1.5.9.travis.361.4 lib/travis/cli/disable.rb
travis-1.5.9.travis.360.4 lib/travis/cli/disable.rb
travis-1.5.9.travis.358.4 lib/travis/cli/disable.rb
travis-1.5.8 lib/travis/cli/disable.rb
travis-1.5.8.travis.356.4 lib/travis/cli/disable.rb
travis-1.5.7 lib/travis/cli/disable.rb
travis-1.5.7.travis.345.4 lib/travis/cli/disable.rb
travis-1.5.7.travis.341.4 lib/travis/cli/disable.rb
travis-1.5.7.travis.338.4 lib/travis/cli/disable.rb
travis-1.5.6 lib/travis/cli/disable.rb