56 Commits

Author SHA1 Message Date
Joel Clermont
d41d115ab7 tests and code to support adding multiple rules via an array 2013-03-04 21:06:04 -06:00
Vance Lucas
85b359babe Removed missing method passthru for leaner API
* Remove __call in favor of more explicit `rule` method - smaller API
   to maintain without magic method use
 * Updated README with current supported rules
2013-02-04 18:07:18 -06:00
Vance Lucas
4123e185f4 Add error messages with basic translation support
* Initial English error messages file and directory
 * Setup methods to specify language and directory to find lang files in
 * Change 'alphaDash' validation name to 'slug' for URL slugs
 * Now passing all parameters to error message via `vsprintf`
 * Add `message` convenience method to easily specify custom message on
   last validation rule
 * Add tests for error messages
2013-02-02 20:10:02 -06:00
Vance Lucas
33c92a3f24 Add tests for array of field names in rule 2013-01-31 17:36:40 -06:00
Vance Lucas
9a69eb6198 All initial validators added and tested 2013-01-28 13:10:50 -06:00
Vance Lucas
ef40f0e187 Working basic validations with tests 2013-01-26 21:30:55 -06:00