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

Support numbers in json. #6

Merged
merged 1 commit into from
Aug 17, 2014
Merged

Support numbers in json. #6

merged 1 commit into from
Aug 17, 2014

Conversation

plu
Copy link
Contributor

@plu plu commented Aug 17, 2014

Moin Thorsten,

I hope all is good in HH :)?!

I'm using your great gem to test my JSON responses. Today I noticed that using regexes together with plain numbers (vs. quoted ones "1") is not working (tested on 2.1.2p95). It throws a TypeError:

TypeError: no implicit conversion of Fixnum into String

I have fixed that issue and added a test for it.

Cheers,
plu

Without this change it would fail:

TypeError: no implicit conversion of Fixnum into String
@alto
Copy link
Owner

alto commented Aug 17, 2014

Hi plu,

All fine in Hamburg. Berlin as well?

Thanks for coming up with this pull request, I really appreciate it!

Cheers,
Thorsten

alto added a commit that referenced this pull request Aug 17, 2014
Support numbers in json.
@alto alto merged commit 1e823f8 into alto:master Aug 17, 2014
@alto
Copy link
Owner

alto commented Aug 17, 2014

I just released version 0.2.2 including your change.

@plu
Copy link
Contributor Author

plu commented Aug 17, 2014

Cool thanks 👍

Yea, all good here too :). Just feels like the summer is over already...

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