Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

$ github issues [open|closed] now supports private repositories (i.e. personal and organization) Fixes #58 on defunkt #59

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
View
@@ -257,7 +257,7 @@
end
helper :list_issues_for do |user, state|
- "https://github.com/api/v2/yaml/issues/list/#{user}/#{project}/#{state}"
+ `curl -s -L -F 'login=#{github_user}' -F 'token=#{github_token}' https://github.com/api/v2/yaml/issues/list/#{user}/#{project}/#{state}`
end
helper :has_launchy? do |blk|
View
@@ -7,7 +7,7 @@
case command
when 'open', 'closed'
- report = YAML.load(open(@helper.list_issues_for(user, command)))
+ report = YAML.load(@helper.list_issues_for(user, command))
@helper.print_issues(report['issues'], options)
when 'web'
helper.open helper.issues_page_for(user)