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

Remove unnecessary "".respond_to?(:encoding) checks #1043

Merged
merged 3 commits into from
Jan 12, 2025

Conversation

andrehjr
Copy link
Contributor

@andrehjr andrehjr commented Jan 11, 2025

These checks were added back when String didn't have encoding.

As VCR supports Ruby 2.7+ now, I don't think they are necessary anymore.

I've also pinned excon to < 1.0.0, It seems some webmock specs are failing with excon >= 1.0.0 which was recently released.

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @andrehjr!

Good context given in the PR description, Ruby 2.7 is an old memory, now.

@olleolleolle olleolleolle merged commit 747e792 into vcr:master Jan 12, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants