lib/furik/pull_requests.rb in furik-0.1.2 vs lib/furik/pull_requests.rb in furik-0.1.3

- old
+ new

@@ -60,21 +60,23 @@ rescue => e puts e end def all_repo_names - names = self.user_repo_names - names.concat self.orgs_repo_names + self.user_repo_names.concat(self.orgs_repo_names).uniq end + # It contains repositories of your organization, If you are a public member + # of the organization. def user_repo_names @client.repos.map(&:full_name) end def user_orgs_names @client.orgs.map(&:login) end + # It contains all repositories for your organization. def org_repo_names(org_name) @client.org_repos(org_name).map(&:full_name) end def orgs_repo_names