dragonfly
dragonfly copied to clipboard
Use is_color validator in plain generator
This moves the IS_COLOUR validation out of the text generator and into the ParamValidators module so we can use it in the plain generator as well.
Prior to this, specifying a color in hex format in the plain generator would raise a Dragonfly::ParamValidators::InvalidParameter exception.
Fixes #519 (and maybe #518 too)