clbustos/distribution — pull request #5 by freefrancisco (2012-03-16 02:04:05+00:00)
Title: fix issue #4, gem changes behavior of integer division

gem only changes behavior of integer division in ruby versions < 1.9, because it includes mathn in order to use Prime. But mathn has the side effect of changing integer division. Instead of including mathn, we can just copy the Prime code from ruby 1.8.7 in the one line where mathn is called.