We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running my app with RUBYOPT="--enable-frozen-string-literal" gives
RUBYOPT="--enable-frozen-string-literal"
FrozenError: can't modify frozen String /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/httpclient-2.8.3/lib/httpclient/util.rb:71:in `authority' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/addressable-2.5.2/lib/addressable/uri.rb:2306:in `to_s' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/addressable-2.5.2/lib/addressable/uri.rb:811:in `initialize' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/addressable-2.5.2/lib/addressable/uri.rb:136:in `new' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/addressable-2.5.2/lib/addressable/uri.rb:136:in `parse' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/httpclient-2.8.3/lib/httpclient/util.rb:154:in `urify' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/httpclient-2.8.3/lib/httpclient/http.rb:195:in `<class:Headers>' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/httpclient-2.8.3/lib/httpclient/http.rb:104:in `<class:Message>' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/httpclient-2.8.3/lib/httpclient/http.rb:98:in `<module:HTTP>' /Users/jasonbarnabe/.rvm/gems/ruby-2.5.1/gems/httpclient-2.8.3/lib/httpclient/http.rb:19:in `<main>'
The text was updated successfully, but these errors were encountered:
Fix error in lib/httpclient/util.rb when frozen strings are enabled.
432877e
Also fix some of the tests to work with frozen strings. There are still more errors, including sparklemotion/http-cookie#25. Closes nahi#395
dfa5cd8
Successfully merging a pull request may close this issue.
Running my app with
RUBYOPT="--enable-frozen-string-literal"
givesThe text was updated successfully, but these errors were encountered: