Making logan compatible with ruby 1.8.7
Merge pull request #4 from tybenz/master

Making logan compatible with ruby 1.8.7