hassox/dm-zone-types — pull request #6 by mltsy (2012-05-18 19:41:12+00:00)
Title: A possible fix for issue 5 - fixed the .valid? method

I don't know how to link pull requests to issues... can I?
https://github.com/hassox/dm-zone-types/issues/5

Anyway, this is the change I mentioned - using negate in a different way. But removing the .valid? method altogether would be another option, but I don't know what the reason for adding it was, so I'm sure there would be some extra work required there.

Anyway, this works for me! :)