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

Flag files that modify string literals #85

Merged
merged 1 commit into from Feb 6, 2022

Commits on Sep 13, 2021

  1. Flag files that modify string literals

    When running in an environment that freezes string literals by default, `hybi.rb` raises exceptions as it modifies the `'C2'` string.
    
    Adding the magic comment supports this use case without modifying behavior for anyone else. I added it to one spec too, so that running specs this way (`RUBYOPT="--enable=frozen-string-literal" rspec`) keeps them all passing.
    danielmorrison committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    0e950c5 View commit details
    Browse the repository at this point in the history