Closed Grepsy closed 12 years ago
Sorry about that. I think I've fixed it, but couldn't run the tests yet (Windows without Ruby here at work, so can't build). I'll test later today at home and run the tests.
Ok, all tests are passing now. Should be ok.
Great, thank you! Your fix was merged and included in v0.2.9.
The weight calulation is invalid when all the weights in the list are the same. This patch checks for this situation and uses a default weight of '5' in case it happens.