lib/travis/client/repository.rb in travis-1.5.6.travis.297.4 vs lib/travis/client/repository.rb in travis-1.5.6.travis.299.4

- old
+ new

@@ -164,9 +164,21 @@ else ["common"] end end + def member? + session.user.repositories.include? self + end + + def owner_name + slug[/^[^\/]+/] + end + + def owner + session.account(owner_name) + end + private def state last_build_state end