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 error in lib/httpclient/util.rb when frozen strings are enabled #398

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JasonBarnabe
Copy link

Also fix some of the tests to work with frozen strings. There are still more errors, including sparklemotion/http-cookie#25.

Closes #395

Also fix some of the tests to work with frozen strings. There are still more errors, including sparklemotion/http-cookie#25.

Closes nahi#395
@olleolleolle
Copy link
Contributor

This is a great piece of work.

The RuboCop Performance gem has written a section about "unfreezing string", and it can be instructive, as well provide automation for any "big change" to this PR. https://docs.rubocop.org/projects/performance/en/stable/cops_performance/#performanceunfreezestring

@dvandersluis
Copy link

Will this ever be merged?

@jdelStrother
Copy link

Anything we can do that would help merge this?

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.

"FrozenError: can't modify frozen String" in lib/httpclient/util.rb:71:in `authority'
4 participants