pengwynn/octokit — pull request #178 by glow-mdsol (2012-11-12 12:02:11+00:00)
Title: Feature/commit bounding - Adding time-windowed commit methods

Added the commits_since, commits_before, commits_on and commits_between methods to specify windows on the commits retrieved. Also tidied up a couple of YARD failures in client/commits and client/repositories.

As these methods take parseable arguments, I've set them all to raise ArgumentError if the dates passed in are invalid (have pulled in 'date' in the commits.rb so I can use the DateTime.parse). Also had to switch to stub_http_method as the '+' in the iso8601 was giving the stub_get method some gyp.