Sha256: 41577a7a1eefd6b32068f73648a6b132e513def5587025acafdb65a1cebcb68c

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

# encoding: utf-8
require 'travis/cli'

module Travis
  module CLI
    class Pubkey < RepoCommand
      def run
        say key, "Public key for #{color(repository.slug, :info)}:\n\n%s", :bold
      end

      private

        def key
          repository.public_key.to_rsa.to_s
        end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-1.2.7 lib/travis/cli/pubkey.rb