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

Format only float values with decimals. #20

Merged
merged 1 commit into from
Nov 13, 2012

Conversation

meineerde
Copy link
Contributor

Meh, looks like I screwed up a bit, I'm sorry.

With the #19 Pull Request, the HTTP status code started to get formatted as a float, as I formatted any Numeric value with 2 decimals. Turns out, the status is not a float...

This pull request fixes the bug and slightly adapts the specs by adding the trailing whitespace to make sure to match the actual values and not just the beginning of them to catch this issue.

Again, I'm really sorry for that.

The HTTP status is not a float and thus should not get any decimas appended.
@roidrage
Copy link
Owner

Thanks for the fix, no worries!

roidrage added a commit that referenced this pull request Nov 13, 2012
Format only float values with decimals.
@roidrage roidrage merged commit e80301b into roidrage:master Nov 13, 2012
@wuputah
Copy link

wuputah commented Dec 7, 2012

Can you cut a new release with this fix in it?

@roidrage
Copy link
Owner

roidrage commented Dec 8, 2012

@wuputah just pushed 0.1.1 to rubygems.org

@wuputah
Copy link

wuputah commented Dec 8, 2012

Thanks, much appreciated!

tmcgilchrist pushed a commit to blake-education/lograge that referenced this pull request Jan 10, 2013
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.

3 participants