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 -

Published by joeyw almost 8 years ago

Bugfix Release

Introduced in v4.4.0 #pages method was incorrectly updated to require the new preview header.

octokit.rb -

Published by joeyw almost 8 years ago

Regression notice

#815 #pages method was incorrectly updated to require the new preview header. Fix released in v4.4.1

Library changes

  • #777 This impacts all methods that pass a repository parameter. Change Repository.validate_owner_and_name! to use URI::ABS_URI instead the deprecated URI.regexp
  • #752 Use octokit_warn instead of warn in Preview.warn_preview
  • #761 Octokit::AccountSuspended for 403 responses @koglinjg

New methods

Updated Methods

  • #733 Support getting Milestones by repository id @stmllr
  • #739 Escape options values in authorize_url @shvaikalesh
  • #705 #704 Support API urls in Repository#from_url
  • #780 Dup options in #create_repo method before mutating the hash @davidcpell
  • #815 Change Pages.pages to use preview media type to gain additional data. Add Pages.request_page_build for https://developer.github.com/v3/repos/pages/#request-a-page-build
  • #797 Change #upload_assets to read files in read only mode @trevorrowe
  • #743 Add deprecation warning for when :permission parameter is passed to Organizations.create_team. Assign team repository permissions with Organizations.add_team_repository instead.
  • #805 *_stats methods return nil on timeout when : retry_wait is used. Previously returned empty Sawyer::Resource. @etiennebarrie
  • #819 #protect_branch Enable branch protection without enforcing required_status_checks. @mgreensmith

Documentation Edits

  • #750 Fix typo in README.md @blunderdome
  • #804 @kei-s #create_pull_request_comment_reply
  • #817 Fix .decline_repository_invitation API doc url
  • #742 Fix Default.middleware documentation comment @v-kolesnikov
  • #754 Add Table of contents to README.md

Octokit Development Changes

  • #751 Add webmock pessimism < 2.0.0
  • #723 Improved the setup for the Issues specs by creating temp repos to test against @tarebyte
octokit.rb -

Published by pengwynn over 8 years ago

  • #667 Fix org creation to include login and admin. @nmaki
  • #668 Allow org hooks to be used by org login or ID @tarebyte
  • #677 Fix Migration API bug @gjtorikian
  • #678 Fix Managment console bug @gjtorikian
  • #680 Add Hooks#ping_hook method @joeyw
  • #682 Add Gists#gist_commits method @joeyw
  • #683 Add Gists#gist_forks method @joeyw
  • #692 Fetch stats with retry
  • #722 Add Source Imports preview to Octokit @tarebyte
  • #725 Loosen sawyer dependency @nlopes
octokit.rb -

Published by pengwynn almost 9 years ago

  • #649 - Creating Authorization with fingerprint - @jessicayang15
  • #652 - Add Client#license_contents method - @benbalter
  • #653 - Delete user Enterprise Admin API - @gjtorikian
  • #655 - Fix labels docs - @byroot
  • #658 - Custom error class for unverified emails - @johnpaulashenfelter
  • #660 - Fix user teams path to be Enterprise-friendly - @nBerg
  • #661 - Fix preview warnings - @pvdb
  • #662 - Add warning for protected branches preview - @pvdb
  • #664 - Add Client#protect_branch, Client#unprotect_branch - @tarebyte
octokit.rb - v4.1.1

Published by pengwynn about 9 years ago

  • #641 - Validate repository format, raise more meaningful Octokit::InvalidRepository as custom ArgumentError - @simon0191
  • #644 - Allow custom headers when checking scopes on token - @tarebyte
octokit.rb -

Published by pengwynn about 9 years ago

  • #627 Migrator API support - @gjtorikian
  • #628 Admin APIs for GitHub Enterprise 2.3 - @gjtorikian
octokit.rb - v4.0.1

Published by pengwynn over 9 years ago

#620 Allow repo under an org using org ID instead of name. @tarebyte

octokit.rb - v4.0.0

Published by pengwynn over 9 years ago

  • #567 New hook payload parser @zqzas
  • #568 Fix tests on JRuby, Rubinius @bjfish
  • #572 Licenses API support @zqzas
  • #582 Support for Enterprise-only APIs @gjtorikian @joeyw
  • #588 Remove defaults for Client#edit_hook @byroot
  • #593 Stop passing convenience headers in query string @krainboltgreene
  • #596 Support auto-pagination for listing user orgs
  • #618 Paginate all orgs
octokit.rb -

Published by pengwynn over 9 years ago

  • #564 Raise Octokit::RepositoryUnavailable when a repository resource is blocked - @Palleas
  • #566 Support for get latest release, get release by tag name - @zqzas
octokit.rb -

Published by pengwynn over 9 years ago

  • #543 Properly paginate PR comments - @gylaz
  • #544 New Octokit::AbuseDetected error for some 403 responses - @bhuga
  • #553 Make sure owner/repo string is properly formatted - @joeyw
  • #555 Remove some hardcoding from tests - @sm11963
  • #558 Separate constants for Octokit::VERSION parts - @jacobbednarz
  • #562 Properly encode spaces in Labels API paths
octokit.rb -

Published by pengwynn almost 10 years ago

Support for the Org Hooks API Preview #539

octokit.rb -

Published by pengwynn almost 10 years ago

Fixes a bug when creating an Issue without labels #538 @djreimer

octokit.rb -

Published by pengwynn almost 10 years ago

  • Deployments API is now final #537
  • Fix bug with negative resets_in values for rate limiting #536 @markphelps
  • Client#update_issue now acts like a PATCH #531 @djreimer
  • Bumps Sawyer to support Sawyer::Resource#each lostisland/sawyer#33
  • Various docs typo fixes
octokit.rb -

Published by pengwynn almost 10 years ago

Supports auto pagination in Octokit::Client#pull_requests_comments - #526 @gylaz

octokit.rb -

Published by pengwynn about 10 years ago

Compatibility updates for v0.8.0 of netrc gem - #522

octokit.rb -

Published by pengwynn about 10 years ago

  • Removes preview warnings for Team Membership API methods - #518 // @afeld
octokit.rb -

Published by pengwynn about 10 years ago

  • #505 Remove preview warning for Combined Status API // @theckman
  • #507 Implement Org invitation API // @blt04
octokit.rb -

Published by pengwynn about 10 years ago

Fixes a bug where not sending the appropriate Content-Type request header would result in a 500 error from the API.

octokit.rb -

Published by pengwynn about 10 years ago

Support for new Team Memberships API

octokit.rb - v3.2.0

Published by pengwynn over 10 years ago

  • Methods that take a repository :owner/:repo argument now accept an :id - #485 @joeyw
  • Methods that take a User or Org name argument now accept an :id - #485 @joeyw
  • Documentation type fixes - #488 #490 @abonas
  • Fix tests for console masking - #493 @frank-west-iii
  • Test improvements - #492
  • Deprecate SSH key, Deploy key update methods - #491