lib/github_api/repos/watching.rb in github_api-0.4.4 vs lib/github_api/repos/watching.rb in github_api-0.4.5

- old
+ new

@@ -57,10 +57,10 @@ def watching?(user_name, repo_name, params={}) _validate_presence_of user_name, repo_name _normalize_params_keys(params) get("/user/watched/#{user_name}/#{repo_name}", params) true - rescue Github::ResourceNotFound + rescue Github::Error::NotFound false end # Watch a repository #