423 Commits

Author SHA1 Message Date
Vance Lucas
a2c165f650 Merge pull request #4 from pborreli/typos
Fixed typos
2013-03-05 18:31:12 -08:00
Pascal Borreli
0ada9f2ad6 Fixed typos 2013-03-06 01:54:59 +00:00
Vance Lucas
c049a8f380 Merge branch 'add-rules-in-bulk' v1.0.3 2013-03-05 18:01:35 -06:00
Joel Clermont
4ed332c66e update README for bulk rule method 2013-03-05 17:54:05 -06:00
Joel Clermont
173ad40b7d fix array structure to make it easier to parse. update tests 2013-03-05 17:12:42 -06:00
Vance Lucas
76105e277b Add php code highlighting to code blocks in README 2013-03-05 16:26:09 -06:00
Joel Clermont
035de87cf7 update rules method to be more consistent with rule method 2013-03-05 14:14:34 -06:00
Vance Lucas
eee2cc299e Merge branch 'validation-updates' (closes #3) v1.0.2 2013-03-05 14:13:03 -06:00
Vance Lucas
36f4e8d3b1 Ensuring array values are strings for sprintf 2013-03-05 14:00:13 -06:00
Joel Clermont
ca553cf658 remove debugging code 2013-03-05 11:27:01 -06:00
Chris Cornutt
6169b04cc5 adding default error message to EN language file for "contains" 2013-03-05 10:41:38 -06:00
Chris Cornutt
24f26b75e9 adding "contains" to the README 2013-03-05 09:45:58 -06:00
Chris Cornutt
cb880e73b2 fixing some logic on the URL checking and adding new "contains" validator 2013-03-05 09:40:28 -06:00
Vance Lucas
fdaa2d6502 README update to clarify testing requirements 2013-03-05 09:33:33 -06:00
Joel Clermont
1d68384f05 updated tests to more clearly isolate the issue 2013-03-05 06:48:47 -06:00
Joel Clermont
d41d115ab7 tests and code to support adding multiple rules via an array 2013-03-04 21:06:04 -06:00
Vance Lucas
650db517b4 Add example for adeding custom validation rules 2013-02-06 14:13:22 -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
v1.0.0
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
1c387a67c0 README update 2013-01-31 17:20:27 -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