Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-octokit
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
devel/ruby-octokit: update to 6.1.1 6.1.1 (2023-04-06) What's Changed Features * Add Octokit::Client#delete_organization to support org deletion by @jdennes in #1558 * Added Environments API by @jer-k in #1554 Bugs * [fix] Ensures that the API Token in clear text is never present in the error stack trace when set in the URL by @nickfloyd in #1562 Docs * [docs] Adds link to search limits by @yeikel in #1555 Maintenance * Bump rubocop requirement from 1.46.0 to 1.48.1 by @dependabot in #1551 * Bump rubocop requirement from 1.48.1 to 1.49.0 by @dependabot in #1561 * Bump actions/add-to-project from 0.4.1 to 0.5.0 by @dependabot in #1560 * Bump actions/stale from 7 to 8 by @dependabot in #1556 New Contributors * @yeikel made their first contribution in #1555
devel/ruby-octokit: update to 6.1.0 6.1.0 (2023-03-09) What's Changed Features * Allow using the response_headers or headers when getting Rate Limit Info by @DougEdey in #1533 * Add Faraday DEFAULT_EXCEPTIONS for when retry middleware is available by @DougEdey in #1546 Bugs * Repository: Fix issue with fragment identifier in branch name by @pier-oliviert in #1529 Docs * Add using GitHub app authentication in README by @Tatsumi0000 in #1512 * Fix missing and broken links in README table of contents by @Jarvl in #1513 * Add Ruby 3.2 to tested implementations in README by @koic in #1545 Maintenance * updated Workflows @octokitbot * Update rubocop requirement from 1.39.0 to 1.42.0 by @dependabot in #1525 * Adds a stale action to clean up old PRs/Issues by @nickfloyd in #1511 * Bump actions/stale from 6 to 7 by @dependabot in #1527 * Update rubocop requirement from 1.42.0 to 1.43.0 by @dependabot in #1531 * Update rubocop requirement from 1.43.0 to 1.44.1 by @dependabot in #1537 * Rename obsolete parameter IgnoredMethods to AllowedMethods by @kyoshidajp in #1530 * Remove jruby-specific platform by @kfcampbell in #1520 * Adds Ruby 3.2 to the CI matrix by @petergoldstein in #1524 * Update rubocop requirement from 1.44.1 to 1.45.1 by @dependabot in https://github.com/octokit/otokit.rb/pull/1541 * Specify TargetRubyVersion: 2.7 in .rubocop.yml by @koic in #1544 * Bump actions/add-to-project from 0.4.0 to 0.4.1 by @dependabot in #1547 * Update rubocop requirement from 1.45.1 to 1.46.0 by @dependabot in #1548 * Specify --require spec_helper in .rspec by @koic in #1549 New Contributors * @octokitbot made their first contribution in #1516 * @Tatsumi0000 made their first contribution in #1512 * @Jarvl made their first contribution in #1513 * @pier-oliviert made their first contribution in #1529 * @kyoshidajp made their first contribution in #1530 * @DougEdey made their first contribution in #1533 * @koic made their first contribution in #1545
devel/ruby-octokit: update to 6.0.1 Please refer <https://github.com/octokit/octokit.rb/releases> for changes of 5.x since they are too many to write here. 6.0.0 (2022-10-20) We're releasing v6.0.0 because #1494 and #1495 are technically breaking changes although the APIs that underlie this functionalilty have been not operational for some time. What's Changed * Fix broken pagination in ActionsWorkflowRuns by @luke-engle in #1488 * Remove Octokit::Client::Hooks#available_hooks by @kfcampbell in #1495 * Change the default value of update_ref force to false by @pocke in #980 * Remove Octokit::Client::Authorizations by @kfcampbell in #1494 * Bump to v6.0.0 by @kfcampbell in #1496 6.0.1 (2022-11-23) What's Changed Dependencies * Update rubocop requirement from 1.36.0 to 1.37.1 by @dependabot in #1497 * Update rubocop requirement from 1.37.1 to 1.38.0 by @dependabot in #1503 * Update rubocop requirement from 1.38.0 to 1.39.0 by @dependabot in #1509 Housekeeping * Outdated credential removal by @kfcampbell in #1500 * Add issue templates by @kfcampbell in #1501 * Add PR templates by @nickfloyd in #1507 Bug fixes * Fix broken encoding (fixes #920) by @lparry in #1118
devel/ruby-octokit: update to 4.25.1
Update ruby-octokit to 4.25.1. Latest version is 5.3.0 but jekyll-gist
require before 5.0.
4.23.0 (2022-05-26)
Known issues
Autoloading modules cause some modules to not load before use
* What: This version implements autoloading for some modules. The initial
change was deemed good but our community has since come across issues
where autoloading could cause issues due to modules not being loaded or
load order even.
* Action: We will be rolling back this change in the next release (#1428)
* Next steps: This change provides value in the cases where this is not an
issue so we are going to work to come up with an opt-in approach. More
details here.
* Work around: #1420
Hat tip to: @collinsauve. @waiting-for-dev, @etiennebarrie, and @timrogers
for the discovery around this.
Code improvements
* #1382 Correctly raise Octokit::TooManyRequests when hitting secondary rate
limit via @jasonopslevel
* #1411 Adds support for Faraday v2 usage via @skryukov
CI Improvements
* #1395 Adds Ruby 3.1 to CI via @petergoldstein
Performance improvements
* #1351 Make clients autoload via @gmcgibbon
Bug fixes
* #1297 Escape label names with URL characters via @Fryguy
* #1375 Escape ref in archive_link via @max611
* #1117 & #1419 Ensures that any nil parameters being passed in will
initialize with Octokit's defaults instead of nil via @akerl, @nickfloyd
* #1321 & #1415 Fixed total_count calculation when paginating results for
check runs and check suites via @a2ikm, @matiasalbarello
* #1121 Fixes service status methods via @vierarb
Documentation
* #1414 replace git.io link in source docs via @wonda-tea-coffee
* #1412 Document how and when the SDK raises exceptions via @timrogers
* #1356 Fixes grammar and style via @nikoandpiko
4.24.0 (2022-06-06)
Known issues
Note: This release fixes the issue around autoloading modules causing some
modules to not load before use #1428
Code improvements
* #1354, #1426 Enabling Ruby's immutable ("frozen") string literals
i.e. --enable-frozen-string-literal via @timrogers and @olleolleolle
CI Improvements
* Adds Code QL analysis to octokit.rb via @nickfloyd
Bug fixes
* #1428 Fixes module loading issue with autoloading (this reverts #1351 ) -
more information here via @collinsauve. @waiting-for-dev, @etiennebarrie,
@timrogers, and @nickfloyd
4.25.0 (2022-06-15)
NOTE: This remediates A security advisory was published on versions 4.23.0
and 4.24.0 of this gem. You can read more about this in the published
security advisory.
DX Improvements
* Rubocop improvements by @timrogers in #1441
* Require multi-factor authentication to push new releases to RubyGems by
@timrogers in #1443
CI Improvements
Updates all build scripts to be more durable and adds details on how to run
a manual file integrity check by @nickfloyd in #1446
Housekeeping
* Drop support for Ruby 1.9.2 in Octokit::Client::Contents#create_contents
by @timrogers in #1442
4.25.1 (2022-07-01)
* Stop configuring Faraday's retry middleware twice (@Edouard-chin)
* Fix various Ruby warnings (e.g. missing parentheses) (@coryf)
devel/ruby-octokit: update to 4.22.0 4.22.0 (2022-01-12) Deprecation Fix * 1359 Fix Faraday deprecation warning @ybiquitous Code Improvements * 1336 Update regex for create ref @thepwagner * 1350 Support pagination in compare api @mrpinsky CI and dependency updates * 1353 Add Ruby 3.0 support for CI builds @olleolleolle * 1387 Update pry-byebug requirement @ashishkeshan Documentation * 1376 Update example README code with token filtering @bencolon * 1381 Update organization migration documentation links @rzhade3
devel/ruby-octokit: update to 4.21.0 4.21.0 (2021-04-26) API Support * #1319 Add delete workflow run support @szemek * #1322 Add match refs support @AHaymond * #1329 Add rename branch support @gmcgibbon * #1332 Add billing actions support @M-Yamashita01 Error handling * #1324 Handle path diff too large errors @yykamei Code clean up * #1326 Remove graduated preview headers @ivailop Documentation * #1314 Update authentication usage @curquiza * #1317 Fix logo link @gjtorikian * #1318 Fix GitHub typo @bl-ue
devel/ruby-octokit: update to 4.18.0 4.18.0 (2020-03-25) API Support * #1304 Added the ability to delete a deployment @jer-k * #1308 Add repo vulnerability alerts related functionality for repositories @calvinhughes Bug fixes * #1309 Paginate outside_collaborators calls @sds * #1316 Uses of FaradayMiddleware#on_complete should not be private @tarebyte Code improvements * #1131 Add CommitIsNotPartOfPullRequest error @wata727 * #1303 Remove integrations preview header @MichaelViveros * #1307 Raise Octokit::InstallationSuspended when another error is received @yykamei Documentation * #1302 Add documentation on how to specify the ref option for RubyDoc @aomathwift * #1311 Fix Code of Conduct link in Table of Contents @eduardoj 4.19.0 (2020-10-20) Code Improvements * #1223 Ensure a boolean is returned for application_authenticated @zakallen * #1255 Update api paths in the organization api to take ids @hmharvey * #1260 Fix last_response behavior after failures @JackTLi * #1253 Ensure adapters set SSL options properly @tjwallace * #1270 Add context around rate limit errors @jatindhankhar API Support * #1252 Introduces support for the ActionWorkflow and ActionWorkflowRun APIs @petar-lazarov * #1236 Support for ActionsSecrets API @jylitalo * #1266 Support for get the authenticated app @kitop * #1281 Support for create a workflow dispatch event @igfoo * #1286 Support installation suspended failures @stmllr * #1288 Support for user migration endpoints @stmllr Documentation * #1248 Fix documentation link for update a repository @spier * #1269 Update some documentation param names @tarebyte * #1276 Remove dangling phrase in CONTRIBUTING.md @igfoo * #1278 Link related doc in CONTRIBUTING.md @igfoo * #1279 Fix script typo in README.md @igfoo * #1291 Fix typo in authorizations comments @ohbarye
devel/ruby-octokit: update to 4.18.0 Update ruby-octokit to 4.18.0. 4.18.0 (2020-03-25) Documentation * #1200 Fix an API link in the Search client @NickLaMuro Preview Header Support * #1183 Enable issue events API to return project events @gammons * #1203 Update deprecated application API to new preview @oreoshake Bug Fixes * #1201 Fix random test failures @MSP-Greg * #1218 Fix incorrect URLs for the Authorizations client @tarebyte
devel/ruby-octokit: update to 4.17.0 Update ruby-octokit to 4.17.0. 4.17.0 (2020-03-10) Documentation * #1200 Fix an API link in the Search client @NickLaMuro Preview Header Support * #1183 Enable issue events API to return project events @gammons * #1203 Update deprecated application API to new preview @oreoshake Bug Fixes * #1201 Fix random test failures @MSP-Greg
devel/ruby-octokit: update to 4.16.0 Update ruby-octokit to 4.16.0. 4.16.0 (2020-02-05) New features * #1187 Support for Commit Branches @tgmachina Resolve deprecation warnings * #1192 Fix deprecation notice for authentication via query parameters @tarebyte Documentation * #1137 Clarify force parameter documentation @rmacklin * #1186 Fix team_by_name example @steinbrueckri * #1190 Fix API links in the Apps client @ybiquitous Tooling updates * #1185 Fix action builds against 4-stable @tarebyte
devel/ruby-octokit: update to 4.15.0 Update ruby-octokit to 4.15.0. 4.15.0 (2020-01-02) Preview header support * #1114 Adds drafts preview header @andrew * #1132 Update branch protection preview @spikex New features * #1133 Support for template repositories @EricPickup * #1136 Add method to find team by name @gallexi * #1153 Add method to delete installation @yykamei * #1151 Add method to update pull request review @eric-silverman * #1162 Support for Commit pulls @tgmachina Improved error handling * #1115 Add BillingIssue error @stmllr * #1106 Add TooLargeContent error @ybiquitous * #1164 Add SAMLProtected error @tarebyte Resolve deprecation warnings * #1152 Fix version deprecation warning in ci builds @hmharvey * #1154 Fix faraday error subclass @Gasparila Documentation * #1123 Add option in the pull request state parameter @4geru * #1135 Fix the contributing doc steps @gallexi * #1134 Fix the code example for update branch @rmacklin * #1139 Add assignee params @4geru * #1138 Update link to new collaborators api @shaunakpp * #1129 Add code of conduct @spikex * #1102 Update readme to point directly to v3 api @binhums Tooling updates * #1142 Migrated to actions @tarebyte 4.14.0 (2019-03-29) Bug fixes * Support auto pagination in org_projects #1090 (@mattr-) * Support falsy values in configuration #1091 (@nickstanish) * fixup ssl verify mode #1098 (@tnaoto) Code cleanup * Change the raise_invalid_repository! msg from repo/user to user/repo #1094 (@DaiAoki) * Fix redundant code in Octkit::Client #1100 (@rnitta) Documentation * Adds timeout instructions to readme #1089 (@abinoda) * Fix docs of #repository? return value type #1092 (@vecerek) * Update doc of Repositories#collaborators method #1105 (@ybiquitous) New features * Add client methods for the Checks API #1101 (@laserlemon) 4.13.0 (2019-10-11) Bug fixes * Fixes 422 error for passing client_id when making a new OAuth Authorization #1077 (@tarebyte) Documentation * Add Octopoller section to readme #1073 (@BenEmdon) Support for new preview headers * Add new strict validation preview header #1078 (@tarebyte) Testing fixes * Update WebMock and VCR / update Octokit::Client::Authorizations spec #1077 (@tarebyte)
devel/ruby-octokit: update to 4.12.0 4.12.0 (2018/09/11) Support for additional APIs * #1060 Add support for Transfer repository API * #1070 Add support for List Assignees API * #975 Add support for Community Profile API Bugfixes * #1069 Do not pass wrong params in org membership method v4.11.0 (2018/08/30) Code clean up * #1054 Remove the :name key from #add_team_repository request Documentation fixes * #1050 Add in note about require * #1056 Fixes documentation url for outside_collaborators Existing endpoint changes * #1055 Use new app installation token endpoint Support new endpoints * #1052 App installation finders 4.10.0 (2018/08/09) Graduated preview periods * #1020 Remove preview warning for marketplace API * #1041 Remove marketplace preview warnings (we mean it, this time) * #1042 Remove preview warning for Repository Invitations API * #1047 Rework request review API to support team reviewers Support for new endpoints * #1044 Implement Topics API * #990 Implement delete a pull request review request Bugfixes * #1025 Fix contributors endpoint for empty repos * #1034 Duplicate option to prevent mutating original * #1018 Convert OCTOKIT_SSL_VERIFY_MODE environment variable to integer Enhancements * #1021 Add Faraday retry middleware * #1032 Use auto pagination when retrieving statuses 4.9.0 (2018/05/08) Bugfixes * #1006 Use Addressable::URI instead of stdlib URI for normalization * #1003 Fix pagination of GitHub App endpoints * #1000 Call dup on arguments before mutating Documentation changes * #969 Document the steps necessary to cut a release * #972 Url to the review API was wrong * #973 Fix pull_requests_comments example documentation * #985 Add tag_name to update_release documentation * #989 Command example fix in documentation. * #1008 Fixes documentation for getting single issue comment * #1011 Fix example call to Octokit.label Enhancements * #982 Be able to set an SSL verify mode on faraday * #1009 Add missing remove_org_membership alias Maintenance * #970 Update Ruby versions for CI * #961 Update VCR gem Support for additional API endpoints * #984 Add remove_assignees method to the client * #959 Commit Search API preview * #996 Add ability to list a single deployment, by id
devel/ruby-octokit: update to 4.8.0 4.8.0 2017/12/21 Support for additional API endpoints * #885 Topics API * #884 Get a single Installation * #894 Add assignees * #895 Find user installations * #929 Marketplace listings API * #928 Nested Teams API * #938 Get user's marketplace purchases * #932 GitHub Apps API APIs taken out of preview * #913 Organization Memberships API * #923 Pull Request Review API Enhancements * #886 Allow reviews and review comments to be paginated * #899 Expose response_headers and response_body on error objects * #877 Improve error message when Octokit::Repository.new fails * #958 Update add/remove installations methods to use non-deprecated endpoints * #892 Move integrations endpoints across to apps Bugfixes * #876 Remove destructive assignment for repository * #966 Fix apps client for GitHub Enterprise installs (new endpoints in this release, but still) Note about Rubinius support We have been unable to get a Rubinius build working for CI for quite some time, meaning that Rubinius support has been spotty or non-existent. In this release we finally stopped trying. This isn't directly backwards-incompatible since it already wasn't working, but it does feel a bit iffy. If you happen to use Rubinius and know how to get this working on Travis, we'd be delighted to review a pull request that adds it back in.CVS: ----------------------------------------------------------------------
Update ruby-octokit to 4.7.0. 4.7.0 2017/04/05 * #837 Fix passing options to all_organizations * #841 Add new methods from the most recent org memberships API enhancements * #851 Fix application requests for non dotcom hosts * #858 Don't mutate the options variable passed to API calls * #871 Add support to prerelease Integrations API * #874 Handle PR Review errors * #860 Implement Review Preview API * #869 Use Organization.path for organization membership method * #880 Fix incorrect mimetype for integrations in PREVIEW_TYPES * #881 Change several occurrences of Hash#merge!
Update ruby-octokit to 4.6.2. 4.6.1 and 4.6.2 fixes miscellaneous bug fixes. v4.6.0 9 Nov 2016 Library Changes * #829 Sawyer dependency loosened to support new release 'sawyer', '>= 0.5.3', '~> 0.8.0' Thank you @andrew Updated Methods #821 * #protect_branch required_status_check parameter is no longer required, which makes the method call signature changed. required_status_check can be passed in the options hash. * #unprotect_branch returns a boolean value now New Methods #820 Projects APIs https://developer.github.com/v3/projects/ * #projects List projects for a repository * #create_project Create a Project * #org_projects List Organization Projects * #create_org_project Create Organization Project * #project Get a Repository Project * #update_project Update a Project * #delete_project Delete a Project * #project_columns List a Project's Columns * #create_project_column Create a Project Column * #project_column Get a Project Column * #update_project_column Update a Project Column * #delete_project_column Delete a Project Column * #move_project_column Move a Project Column * #column_cards List Column Cards * #create_project_card Create a Project Card * #project_card Get a Project Card * #update_project_card Update a Project Card * #move_project_card Move a Project Card * #delete_project_card Delete a Project Card #824 Traffic APIs https://developer.github.com/v3/repos/traffic/ * #top_referrers Get the top 10 referrers over the last 14 days. * #top_paths Get the top 10 popular contents over the last 14 days. * #views Get the total number of views and breakdown per day or week for the last 14 days. * #clones Get the total number of clones and breakdown per day or week for the last 14 days.
Update ruby-octokit to 4.4.1. Bugfix Release Introduced in v4.4.0 #pages method was incorrectly updated to require the new preview header.
Update ruby-octokit to 4.4.0.
v4.4.0
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
* #748 Add support for Source Import APIs @LizzHale
https://developer.github.com/v3/migration/source_imports/
* #814 #799 New method Repositories.branch_protection to get a branch's
protection status
https://developer.github.com/v3/repos/branches/#get-branch-protection
* #770 Add Issues#lock and Issues#unlock @davidcelis
https://developer.github.com/v3/issues/#lock-an-issue
https://developer.github.com/v3/issues/#unlock-an-issue
* #816 Add Pages.pages_build to get specific page build by ID
https://developer.github.com/v3/repos/pages/#list-a-specific-pages-build
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
lowercase license name
Update ruby-octokit to 4.3.0. v4.3.0 * #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
Add ruby-octokit, required by new ruby-jekyll-gist package. Octokit Ruby toolkit for the GitHub API.