octokit.rb

Ruby toolkit for the GitHub API

MIT License

Downloads
264.8M
Stars
3.8K
Committers
347

Bot releases are hidden (Show)

octokit.rb - v3.1.2

Published by pengwynn over 10 years ago

No changes since v3.1.1. Bumping to fix a RubyGems issue.

octokit.rb - v3.1.1

Published by pengwynn over 10 years ago

  • Octokit::Client#user_keys no longer requires authentication #474
  • RSS parser is only loaded as needed #484
  • Numerous documentation fixes
octokit.rb - v3.1.0

Published by pengwynn over 10 years ago

octokit.rb - v3.0.0

Published by pengwynn over 10 years ago

  • Tweaks to support changes in the Deployments API Preview. #443 - @atmos
  • Support for the Combined Status API preview #456 - @bhuga
  • Remove Ruby warnings #434 - @sferik
  • OCTOKIT_SILENT=true to hush preview API warnings #447 @joeyw
  • Various test fixture improvements @joeyw
octokit.rb - v3.0.0 preview

Published by pengwynn over 10 years ago

octokit.rb -

Published by pengwynn almost 11 years ago

  • Myriad of docs fixes @StephenOTT @joeyw @barisbalic
  • Test setup tweaks @joeyw @sigmavirus24
  • More API coverage @joeyw @md5 #373
  • Date fields for Commit listings are now DateTime objects- lostisland/sawyer#16
octokit.rb -

Published by pengwynn almost 11 years ago

  • #350 Use relative paths for search requests for Enterprise - @benburkert
  • #353 Fix method redefinition warnings - @zenspider
  • #360 Properly paginate .users, .following, .followers - @arthurn
  • #351 #352 #354 #356 #357 Numerous docs updates
octokit.rb -

Published by pengwynn almost 11 years ago

#349 - Fixes an issue with .netrc support when the .netrc file doesn't include a line for the client's .api_endpoint. - @catsby

octokit.rb -

Published by pengwynn almost 11 years ago

Redacts OAuth client secret and access tokens in error messages - #342 @catsby

octokit.rb -

Published by pengwynn almost 11 years ago

  • #336 Adds new .available_hooks method to Client - @danmcclain
  • #338 Fixes a bug where app creds were not passed to API root - @rmetzler
  • #335 Fixes a bug where pull requests weren't paginated - @pedro
octokit.rb -

Published by pengwynn almost 11 years ago

Remove warn for Releases and Search APIs

octokit.rb -

Published by pengwynn almost 11 years ago

Adds Octokit::Conflict for 409 errors. - @bhuga

octokit.rb -

Published by pengwynn almost 11 years ago

Adds support for GET /user/teams.

octokit.rb -

Published by pengwynn about 11 years ago

  • Restores 1.8.7 compatibility #317 boxen/boxen#111
  • Removes spec files from gemspec to fix installation on Windows #313
octokit.rb -

Published by pengwynn about 11 years ago

  • Adds support for the new Releases API
  • Adds .errors array to Octokit::Error
octokit.rb - 2.1.0

Published by pengwynn about 11 years ago

Updates to support GitHub 2FA.

  • New error type Octokit::OneTimePasswordRequired raised when response is 401 but X-GitHub-OTP present
  • New idempotent token creation.
octokit.rb - 2.0.0

Published by pengwynn about 11 years ago

This new major version is hypermedia-enabled, version 3.0.0 will aim to be hypermedia-driven. See the Upgrade Guide for more.

Highlights

  • Totally refactored Configuration and defaults to support memoized Client objects, required to use middleware like faraday-http-cache for conditional requests.
  • Bumped Faraday dependency to 0.9
  • New Client#last_response for raw access to the last HTTP response, including pagination headers.
  • Moves search_* methods to legacy_search_*
  • Uses VCR for more robust test request/response fixtures.
  • Uses Sawyer under the hood for hypermedia support. HTTP responses are now proper Resources with link Releations. Client.root and Client#agent are also provided to make hypermedia requests:
>> Octokit.root.rels[:user].get :uri => {:user => 'mojombo'}

  • Support for the new Search APIs as a preview feature.
>> Octokit.search_code 'octokit in:file extension:gemspec'
WARNING: The preview version of the Search API is not yet suitable for production use.
See the blog post for details: http://git.io/_-FA3g

#<Sawyer::Resource:0x007faf749ec138 @_agent=<Sawyer::Agent https://api.github.com/>, 
...
  • Adds ability to check if one user follows another via .follows? - @catsby
  • Adds to new error classes for 403 responses:
    • Octokit::TooManyRequests when rate limit exceeded
    • Octokit::TooManyLoginAttempts when special login attempt limit exceeded
octokit.rb - 2.0 Release Candidate 3

Published by pengwynn about 11 years ago

  • Adds ability to check if one user follows another via .follows? - @catsby
  • Adds to new error classes for 403 responses:
    • Octokit::TooManyRequests when rate limit exceeded
    • Octokit::TooManyLoginAttempts when special login attempt limit exceeded
octokit.rb - 2.0 Release Candidate 2

Published by pengwynn over 11 years ago

This release candidate adds support for the new Search APIs as a preview feature.

>> Octokit.search_code 'octokit in:file extension:gemspec'
WARNING: The preview version of the Search API is not yet suitable for production use.
See the blog post for details: http://git.io/_-FA3g

#<Sawyer::Resource:0x007faf749ec138 @_agent=<Sawyer::Agent https://api.github.com/>, 
...
octokit.rb - 2.0.0 Preview

Published by pengwynn over 11 years ago

This is the first pre release of 2.0.0 and includes a number of changes. While this version is hypermedia-enabled, version 3.0.0 will aim to be hypermedia-driven.

  • Totally refactored Configuration and defaults to support memoized Client objects, required to use middleware like faraday-http-cache for conditional requests.
  • Bumped Faraday dependency to 0.9
  • New Client#last_response for raw access to the last HTTP response, including pagination headers.
  • Moves search_* methods to legacy_search_*
  • Uses VCR for more robust test request/response fixtures.
  • Uses Sawyer under the hood for hypermedia support. HTTP responses are now proper Resources with link Releations. Client.root and Client#agent are also provided to make hypermedia requests:
>> Octokit.root.rels[:user].get :uri => {:user => 'mojombo'}