Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2019 13:14:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 242703] net/rubygem-octokit deprecated class used
Message-ID:  <bug-242703-21402-vGxil79eAR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242703-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242703-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-ruby mailing l=
ist
<ruby@FreeBSD.org> for maintainer-feedback:
Bug 242703: net/rubygem-octokit deprecated class used
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242703



--- Description ---
Recently got a problem using www/gitlab-ce which is using net/rubygem-octok=
it.
I can't paste here exact messages because I forgot to copy that to some pla=
ce
this week-end.

It seems that I had to patch this file:
/usr/local/lib/ruby/gems/2.6/gems/octokit-4.13.0/lib/octokit/middleware/fol=
low_
redirects.rb

so that it does not use a deprecated '...ClientError' class, and had to rep=
lace
with 'Faraday::ClientError' instead of the one used when the package is
installed from packages. It should be located on line 14, and now is :

```
    class RedirectLimitReached < Faraday::ClientError
```

Sorry if this is not very clear.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242703-21402-vGxil79eAR>