grocer/grocer — pull request #63 by cmason (2013-08-06 17:37:11+00:00)
Title: Return boolean values from valid?

Hi,

I ran across some unexpected behavior the other day when using the valid? method to validate notifications before sending. valid? returns nil _(which evaluates to false)_ if the notification is valid. If the notification is invalid, valid? raises an exception.

This updates valid? to return true or false which is more generally expected behavior.

Thanks for writing this!