Sha256: 3c811cf90afbd04e50f5390eed619f654a98c54dc9ac4b152cc4b316d3e1520e

Contents?: true

Size: 338 Bytes

Versions: 14

Compression:

Stored size: 338 Bytes

Contents

require 'travis/cli'

module Travis
  module CLI
    class Whatsup < ApiCommand
      def run
        repos.each do |repo|
          say [
            color(repo.slug, [:bold, repo.color]),
            color("#{repo.last_build.state}: ##{repo.last_build.number}", repo.color)
          ].join(" ")
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
travis-1.3.0 lib/travis/cli/whatsup.rb
travis-1.2.8 lib/travis/cli/whatsup.rb
travis-1.2.7 lib/travis/cli/whatsup.rb
travis-1.2.6 lib/travis/cli/whatsup.rb
travis-1.2.5 lib/travis/cli/whatsup.rb
travis-1.2.4 lib/travis/cli/whatsup.rb
travis-1.2.3 lib/travis/cli/whatsup.rb
travis-1.2.2 lib/travis/cli/whatsup.rb
travis-1.2.1 lib/travis/cli/whatsup.rb
travis-1.2.0 lib/travis/cli/whatsup.rb
travis-1.1.3 lib/travis/cli/whatsup.rb
travis-1.1.2 lib/travis/cli/whatsup.rb
travis-1.1.1 lib/travis/cli/whatsup.rb
travis-1.1.0 lib/travis/cli/whatsup.rb