lib/travis/cli/branches.rb in travis-1.5.2 vs lib/travis/cli/branches.rb in travis-1.5.3

- old
+ new

@@ -1,9 +1,11 @@ require 'travis/cli' module Travis module CLI class Branches < RepoCommand + description "displays the most recent build for each branch" + def run repository.last_on_branch.each do |build| say [ color("#{build.branch_info}:".ljust(longest + 2), [:info, :bold]), color("##{build.number.to_s.ljust(4)} #{build.state}".ljust(16), build.color),