Skip to content

Address "literal string will be frozen in the future" warnings#15

Open
StalemateInc wants to merge 1 commit into29decibel:masterfrom
StalemateInc:fix-frozen-string-literal-warning
Open

Address "literal string will be frozen in the future" warnings#15
StalemateInc wants to merge 1 commit into29decibel:masterfrom
StalemateInc:fix-frozen-string-literal-warning

Conversation

@StalemateInc
Copy link

Should resolve #14.

  • dup the initial result to avoid freezing and failing down the codepaths that modify it.
  • Fix opening the URL by swapping open with URI.open - Kernel monkey-patch has been removed from open-uri long time ago. I did not test it locally with Rubies that predate 2.6.6.

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.

Converter code produces "literal string will be frozen in the future" warnings

1 participant

Comments