peter-murach/github — pull request #34 by dannymidnight (2012-05-21 00:02:05+00:00)
Title: Query params maintained between pagination

This pull requests keeps optional query parameters between paginated responses.

----
Currently query params are dropped from subsequent pages.

eg.
```ruby
issues = github.issues.list_rep('dannymidnight',
'bugs',
:state => closed,
:assignee => 'dannymidnight'
:per_page => 100)
```

Calling `issues.has_next_page?` will make request with `page` and `per_page` **however** `state` and `assignee` are missing.