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

Simplified handling of UTF-8 symbols in YAML #399

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

casperisfine
Copy link
Contributor

We actually don't need to store the encoding, we can assume
everything is UTF-8. Symbol#to_sym will take care of coercing
to ASCII when applicable.

Any other encoding is not supported as the cache should be invoked
if Psych could generate any other encoding.

We actually don't need to store the encoding, we can assume
everything is UTF-8. `Symbol#to_sym` will take care of coercing
to ASCII when applicable.

Any other encoding is not supported as the cache should be invoked
if Psych could generate any other encoding.
@casperisfine casperisfine merged commit a75ab21 into main Jan 31, 2022
@casperisfine casperisfine deleted the simpler-symbol-encoding branch January 31, 2022 10:46
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems January 31, 2022 10:51 Inactive
@@ -2,7 +2,7 @@
* Suggested reading order:
* 1. Skim Init_bootsnap
* 2. Skim bs_fetch
* 3. The rest of everything
* 3. The rest of everyrything
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume this was typed by accident: everything?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened as #405

teoljungberg added a commit to teoljungberg/bootsnap that referenced this pull request Feb 16, 2022
The typo was introduced by accident in Shopify#399.
@teoljungberg teoljungberg mentioned this pull request Feb 16, 2022
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