mikel/mail — pull request #754 by cbillen (2014-07-23 17:11:36+00:00)
Title: Forcing evaluation to integer prevents infinite looping with ruby-units

If you use ruby-units in your project the division of 1/2 will return a fraction, in turn this will yield an infinite loop in this method causing any call to mail to fail and freeze the system. By simply ensuring we're casting to an integer we avoid any potential conflicts.