Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: octokit/octokit.rb
...
head fork: octokit/octokit.rb
Commits on May 16, 2012
@catsby catsby Change what github_url helper method returns
Token based auth is going away, so the default full url if the client is
authenticated should use the basic auth format.

This only matters if in the spec you don't specify the full url, e.g.
`/authorizations`
d369a43
@catsby catsby Add Authorization spec template, Authorizations fixture file
Spec for listing authorizations, stubbed out some other things to have tests for
6a0c670
@catsby catsby Add `authorizations` Module, method
Adds an Authorizations module to Octokit and adds the first method to list all
authorizations for the authenticated user

Refs octokit/octokit.rb#83
c58e917
@catsby catsby Add fixture for single authoriation 751ebe8
@catsby catsby Get a single authorization a0aa617
Commits on May 18, 2012
@catsby catsby Add `create_authorization` method, specs
Filled out spec to get a single auth too
47deabd
@catsby catsby Implement update, delete of Authorizations fae2966
@catsby catsby Merge branch 'master' into authorizations
* master:
  docs
  added received_events api
  Version bump to 1.2.0
  test a hook
  create, edit and remove a hook
  add hook and hooks methods
  Version bump
  Add alias for conceal_membership
5139fd5
Commits on May 20, 2012
@icco icco Adds ratelimit functions to client. 7ffeb1c
Commits on May 21, 2012
@icco icco My attempt at using head instead of get. 6fb3586
@catsby catsby Merge remote-tracking branch 'pengwynn/master' into authorizations
* pengwynn/master:
  Version bump to 1.2.1
  updated the spec for the set_public and set_private methods
  updated to use new private key, rather than the old public for repository visibility
1dd559d
@catsby catsby Update client/gist_spec to pass on 1.8.7
I think there's an issue with 1.8.7 and our Hashie/Mash stuff. Here when we
loaded the fixture and merged `:description` it was either not replacing the
existing `'description'` on
1.8.7, or the Hashie/Mash was favoring this new symbol instead, where as on 1.8.7
it favored the existing `'description'`.

By merging the string version here, specs should be passing again on 1.8.7 and rbx-18mode
10430ec
Commits on May 25, 2012
@kevinjalbert kevinjalbert Improve ratelimit methods and add specs
Add:
 * Specs for the ratelimit methods
 * Ability to 'force' the ratelimit methods to use an API call
 * Functionality to reuse the last API response's header for ratelimit methods
b7d3d43
@icco icco Merge pull request #1 from kevinjalbert/ratelimit
Improve ratelimit methods (specs and reuse old header).
1e0395d
@icco icco Creates a head method to be more consistent. 92bc4c3
@icco icco use class variable instead of instance variable.
This is because instance variables get reset every time when users don't
initialize their client and just call Octokit.ratelimit.
fcd4d5e
@icco icco Use @pengwynn's sexy new api endpoint. 65fb04b
@icco icco Strip out caching in ratelimit functions. 4a461be
@icco icco whoops... 3f9bce7
@icco icco Use get due to a possible bug in the Github API. fec8381
@kevinjalbert kevinjalbert Fix ratelimit specs and clean ratelimit methods
Remove:
 * The force parameter on ratelimit methods (not used anymore)
 * Ratelimit specs that are not needed anymore

Add:
 * TODO on other ratelimit method

Fix:
 * Ratelimit specs (simplified them)
f370b2d
@icco icco Merge pull request #2 from kevinjalbert/ratelimit
Fix ratelimit specs
240ed3f
@icco icco Removes head function. 0d78090
@catsby catsby Merge branch 'ratelimit'
* ratelimit:
  Removes head function.
  Fix ratelimit specs and clean ratelimit methods
  Use get due to a possible bug in the Github API.
  whoops...
  Strip out caching in ratelimit functions.
  Use @pengwynn's sexy new api endpoint.
  use class variable instead of instance variable.
  Creates a head method to be more consistent.
  Improve ratelimit methods and add specs
  My attempt at using head instead of get.
  Adds ratelimit functions to client.
3ff1da4
@pengwynn pengwynn Alias for new rate limit methods 9b15188
@pengwynn pengwynn Version bump cb7da86
Something went wrong with that request. Please try again.