Permalink
Commits on Feb 8, 2013
  1. Version bump

    pengwynn committed Feb 8, 2013
  2. Remove pry-debugger

    pengwynn committed Feb 8, 2013
Commits on Feb 6, 2013
  1. Merge pull request #214 from camelmasa/fix_break_url

    fix broken urls in documentation.
    joeyw committed Feb 6, 2013
  2. fix break urls

    camelmasa committed Feb 6, 2013
  3. Merge pull request #213 from fphilipe/fix-error-class

    Respect superclass's initializer arity in Error
    pengwynn committed Feb 6, 2013
Commits on Feb 5, 2013
  1. Add Octokit::Client::GitHub, .github_meta endpoint

    .github_meta fetches the '/meta' endpoint for information about GitHub.com
    
    http://developer.github.com/v3/meta/
    joeyw committed Feb 5, 2013
Commits on Feb 4, 2013
  1. Respect superclass's initializer arity in Error

    This fixes rspec-mocks and probably other mocking libs that create instances of
    error classes without arguments.
    
    E.g. in rspec-mocks `api.stub(:foobar).and_raise(Octokit::NotFound)` would cause
    an error because of the missing response argument in Octokit::Error#initializer.
    fphilipe committed Feb 4, 2013
Commits on Feb 3, 2013
Commits on Feb 2, 2013
  1. Merge pull request #207 from jbence/feature/access_token

    Feature/access_token
    pengwynn committed Feb 2, 2013
  2. Merge pull request #210 from pengwynn/add-github-status-api

    Add methods for GitHub:status api endpoints.
    pengwynn committed Feb 2, 2013
  3. require 'octokit/version'

    Because require hashes based on the string, not the expanded path of the
    file, it's important that we require the version file the same way that
    it will be required elsewhere to avoid constant warnings.
    sferik committed Feb 2, 2013
Commits on Feb 1, 2013
  1. Add methods for GitHub:status api endpoints.

    Methods added:
    
    `.github_status`
    `.github_status_messages`
    `.github_status_last_message`
    
    Re: #209
    joeyw committed Feb 1, 2013
  2. Merge pull request #208 from pengwynn/specific_endpoints

    Allow endpoint to be set with options[:endpoint]
    pengwynn committed Feb 1, 2013
  3. Allow endpoint to be set with options[:endpoint]

    In the case of exchanging a code for an oauth token in the oauth process we
    need to be able to point octokit to github.com instead of api.github.com.
    Instead of jumping through hoops, this commit simplifies the process by
    allowing the endpoint to be passed as an option.
    
    Currently
      Octokit.get '/'
      => GET https://api.github.com/
    
    This Commit
      Octokit.get '/', {:endpoint => Octokit.web_endpoint}
      => GET https://github.com/
    joeyw committed Feb 1, 2013
  4. New method #access_token; adapt #user for oauth_token

    The #user method now takes options as a second parameter. This permits
    passing nil for the user along with the oauth_token in the options hash
    to retrieve user details.
    
    The new method #access_token takes the authorization code, client id,
    and client secret, and returns the associated access token. This access
    token can also be retrieved using the omniauth-github gem.
    jbence committed Feb 1, 2013
  5. Merge pull request #206 from fphilipe/add-boolean-team-member

    Add #team_member?
    pengwynn committed Feb 1, 2013
  6. Add #team_member?

    This allows checking for team membership analogous to #org_member?.
    fphilipe committed Feb 1, 2013
Commits on Jan 25, 2013
Commits on Jan 15, 2013
  1. version bump

    pengwynn committed Jan 15, 2013
  2. Use boolean_from_response for PubSubHubbub requests

     * fix stubs to match current API behavior
     * refs #202
    gonzoyumo committed Jan 15, 2013
  3. Restore use of url_encoded request for pubsubhubbub

     * assert request's content-type in specs
     * refs #202
    gonzoyumo committed Jan 15, 2013
Commits on Jan 11, 2013
  1. Merge pull request #200 from spraints/include_response_with_error

    Include response with error
    pengwynn committed Jan 11, 2013
Commits on Jan 10, 2013
  1. Prep 1.21.0 for release

    pengwynn committed Jan 10, 2013