lib/travis/cli/restart.rb in travis-1.4.0 vs lib/travis/cli/restart.rb in travis-1.5.0

- old
+ new

@@ -2,9 +2,10 @@ module Travis module CLI class Restart < RepoCommand def run(number = last_build.number) + authenticate entity = job(number) || build(number) entity.restart say "restarted", "#{entity.class.one} ##{entity.number} has been %s" end