Skip to content

187 compatibility #2

merged 2 commits into from Dec 15, 2011

2 participants


Hi Ilya,

This commit makes sure it works in 1.8.7 as well. The only change is using sprintf for rounding the Spot score instead of Float#round.

bittersweet added some commits Dec 15, 2011
@bittersweet bittersweet Clear whitespace db68a33
@bittersweet bittersweet Use sprintf instead of round for 187 compatibility
Float#round with arguments is not supported in 1.8.7 but sprintf can be
used to get the same result.
@igrigorik igrigorik merged commit 6e9a894 into igrigorik:master Dec 15, 2011

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.