lib/travis/cli/repo_command.rb in travis-1.5.6.travis.317.4 vs lib/travis/cli/repo_command.rb in travis-1.5.6.travis.319.4
- old
+ new
@@ -33,9 +33,13 @@
def job(number_or_id)
return super if number_or_id.is_a? Integer
repository.job(number_or_id)
end
+ def branch(name)
+ repository.branch(name)
+ end
+
def last_build
repository.last_build or error("no build yet for #{slug}")
end
def detected_endpoint?