Module definition change in guard 2.0

https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0#changes-in-guardguard