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 another ambiguity in element_symbol field #1743

Merged
merged 1 commit into from
Sep 14, 2019

Conversation

psibi
Copy link
Member

@psibi psibi commented Sep 14, 2019

The Yaml specification treats both N and No as boolean:
https://yaml.org/type/bool.html

This causes problem when parsing them as a string. The patch makes
sure that the Yaml parser treats them as string.

This should have been fixed as part of
#1717 but I missed it somehow.

The Yaml specification treats both Y and No as boolean:
https://yaml.org/type/bool.html

This causes problem when parsing them as a string. The patch makes
sure that the Yaml parser treats them as string.

This should have been fixed as part of
faker-ruby#1717 but I missed it somehow.
Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

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

👍

@vbrazo
Copy link
Member

vbrazo commented Sep 14, 2019

@psibi thanks for fixing this locale and being around :) see ya!

@vbrazo vbrazo merged commit 80b6ea6 into faker-ruby:master Sep 14, 2019
@psibi
Copy link
Member Author

psibi commented Sep 14, 2019

Thanks for the quick merge!

michebble pushed a commit to michebble/faker that referenced this pull request Feb 16, 2020
The Yaml specification treats both Y and No as boolean:
https://yaml.org/type/bool.html

This causes problem when parsing them as a string. The patch makes
sure that the Yaml parser treats them as string.

This should have been fixed as part of
faker-ruby#1717 but I missed it somehow.
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
The Yaml specification treats both Y and No as boolean:
https://yaml.org/type/bool.html

This causes problem when parsing them as a string. The patch makes
sure that the Yaml parser treats them as string.

This should have been fixed as part of
faker-ruby#1717 but I missed it somehow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants