Skip to content

Conversation

@notapatch
Copy link
Contributor

VCR dropping support for Ruby 2.4 allows a VCR specific module, HeaderDowncaser, to be replaced by a Ruby standard library call Hash#transform_keys.

I didn't find any unit tests specific to the module but the support module was used throughout the RSpec test suite.

Reference

Ruby 2.5 introduced Hash#transform_keys
https://docs.ruby-lang.org/en/3.2/NEWS/NEWS-2_5_0.html

Close: #1012

VCR dropping support for Ruby 2.4 allows a VCR specific module,
HeaderDowncaser, to be replaced by a Ruby standard library call
Hash#transform_keys.

I didn't find any unit tests specific to the module but the
support module was used throughout the RSpec test suite.

Reference

Ruby 2.5 introduced Hash#transform_keys
https://docs.ruby-lang.org/en/3.2/NEWS/NEWS-2_5_0.html

Close: vcr#1012
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, @notapatch 🙏 Good one!

@olleolleolle olleolleolle merged commit 40f1246 into vcr:master Feb 21, 2024
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.

tests: Drop module HeaderDowncaser and use Hash#transform_keys instead

2 participants