The Issues API allows the viewing of either open or closed issues, but not both from the same call. This is silly. We want Issues.find_all(user, repo) to return both open and closed issues; Issues.find_all(user, repo, state) would support limiting by state. Currently, the first invocation assumes state=open.
If develop/develop.github.com/#16 is fixed, we'll stop providing a default for state and this should just work. Otherwise, we may need to make two calls (one for each state) and merge the results. This would only be done in the absence of a state parameter.
The Issues API allows the viewing of either open or closed issues, but not both from the same call. This is silly. We want Issues.find_all(user, repo) to return both open and closed issues; Issues.find_all(user, repo, state) would support limiting by state. Currently, the first invocation assumes
state
=open.If develop/develop.github.com/#16 is fixed, we'll stop providing a default for
state
and this should just work. Otherwise, we may need to make two calls (one for each state) and merge the results. This would only be done in the absence of astate
parameter.