Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate unnecessary constant in GitHubMetadata::Client #239

Merged
merged 3 commits into from
Apr 4, 2023

Conversation

ashmaroli
Copy link
Member

I stumbled upon the realization that Faraday::ConnectionFailed is valid even in faraday-0.17 and older and that there is no need of testing for Faraday::Error::ConnectionFailed. The latter class is just an alias of the former.

Therefore, let us deprecate the GitHubMetadata::Client::FARADAY_FAILED_CONNECTION constant which should have ideally been a private_constant.

@parkr
Copy link
Member

parkr commented Apr 4, 2023

IIRC, this was for the Faraday 0.x to 1.0 migration.

@parkr
Copy link
Member

parkr commented Apr 4, 2023

@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit a540088 into jekyll:main Apr 4, 2023
jekyllbot added a commit that referenced this pull request Apr 4, 2023
@jekyll jekyll locked and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants