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

Fix compatibility with frozen string literals #832

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

casperisfine
Copy link
Contributor

We're running one of our app's CI with RUBYOPT="--enable-frozen-string-literal", and VCR fails with:

TypeError: can't define singleton
gems/vcr-3.0.3/lib/vcr/version.rb:15:in `version'
gems/vcr-3.0.3/lib/vcr/errors.rb:78:in `relish_version_slug'

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 for the fix!

@olleolleolle olleolleolle merged commit 89045aa into vcr:master Sep 24, 2020
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.

None yet

3 participants