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

Correctly parse 0 as a Fixnum #39

Merged
merged 1 commit into from
May 27, 2013
Merged

Correctly parse 0 as a Fixnum #39

merged 1 commit into from
May 27, 2013

Conversation

jackbot
Copy link
Contributor

@jackbot jackbot commented May 26, 2013

I had a bit of an issue when parsing a simple array of integers in that 0 would always return a string:

yaml = [0, 1].to_yaml
YAML.load(yaml)
 => ["0", 1]

dtao added a commit that referenced this pull request May 27, 2013
Correctly parse 0 as a Fixnum
@dtao dtao merged commit 5cf8e15 into dtao:master May 27, 2013
@dtao
Copy link
Owner

dtao commented May 28, 2013

@jackbot: Can't believe I let that bug slip in! Thanks for the fix.

@jackbot
Copy link
Contributor Author

jackbot commented May 28, 2013

No problemo! :)

ota42y pushed a commit to ota42y/safe_yaml that referenced this pull request Aug 14, 2017
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.

2 participants