Module definition change in guard 2.0

https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0#changes-in-guardguard
Merge pull request #122 from robert2d/master

Module definition change in guard 2.0