square/cane — pull request #30 by xaviershay (2012-08-25 05:02:16+00:00)
Title: Add support for user-defined checks

Do not merge.

Work in progress branch to allow user-defined checks to augment the default ones. Replaces issue #29, will address #15 and #19.

* **DONE** Allow custom Ruby to be loaded from CLI
* **DONE** Allow checks to be instantiated from CLI and to add new options
* Support `c.use` syntax in rake tasks
* Gracefully handle syntax errors and other load failures
* Perform static validation of custom check classes (conforms to the correct interface)
* Collapse `CLI` and `CLI::Spec` into one class (or at least rename the latter to `Parser`)