git-pr-release icon indicating copy to clipboard operation
git-pr-release copied to clipboard

Octokit dropped support Ruby 2.6

Open nhosoya opened this issue 2 years ago • 3 comments

Oktkit v5 no longer supports Ruby 2.6 https://github.com/octokit/octokit.rb/releases/tag/v5.0.0 https://github.com/octokit/octokit.rb/commit/21131ef870b37091664ce7ac2f02726b7cd9ef80

If this gem continues to support Ruby 2.6 until EOL, I think something needs to be done.

nhosoya avatar Jul 13 '22 02:07 nhosoya

Ruby < 2.7 is reached to EOL date.

  • Use Ruby >= 2.7
  • or freeze octokit gem (workaround)
# Gemfile
gem "git-pr-release"

gem "octokit", "< 5.0.0" # add this line

I may change the supported version of git-pr-release to Ruby 2.7 or later.

onk avatar Jul 13 '22 02:07 onk

Oh, I mistakenly thought there is still some time until EOL for Ruby 2.6.

nhosoya avatar Jul 13 '22 03:07 nhosoya

Any updates on this? There are some conflicts with octokit 4.22 and legacy (<1) faraday packages. The above fix would help.

trashypete avatar Oct 24 '22 16:10 trashypete