187 compatibility #2

merged 2 commits into from Dec 15, 2011


None yet
2 participants

bittersweet commented Dec 15, 2011

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

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 added a commit that referenced this pull request Dec 15, 2011

@igrigorik igrigorik merged commit 6e9a894 into igrigorik:master Dec 15, 2011


igrigorik commented Dec 15, 2011

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment