25 Commits

Author SHA1 Message Date
Mark Rickert
066c3fbfb2 Adds international phone number validation. 2015-02-27 15:01:36 -06:00
Mark Rickert
3bd1d87e16 Adds :ukzip to built in validator. 2015-02-06 19:42:45 -05:00
Gant
59828b21c7 added mixed case test to email 2014-12-17 09:22:47 -06:00
Guillermo Guerini
4833e99487 Allows validation of upper case email addresses. 2014-12-17 10:12:00 -05:00
Vaughan Kelly Guy
bba128c6ef stopped .valid and .invalid from returning duplicates 2014-11-06 17:36:21 -05:00
Vaughan Kelly Guy
5fb3b1e2d7 added a :custom validation method 2014-09-11 12:08:12 -04:00
Vaughan Kelly Guy
3ef2f7ce24 raise an ArgumentError when no block is provided to RMQ::Validation.add_validator 2014-09-10 19:05:57 -04:00
Vaughan Kelly Guy
f18460cd40 RMQ::Validation.add_validator method + spec 2014-09-10 17:21:11 -04:00
Gant
2cb860d5d1 added selection rule test for white_list 🌟 2014-09-10 13:50:01 -05:00
Gant
f37ffcb74b utility test for white_list and test cleanup 2014-09-10 13:29:06 -05:00
Gant
24b6a19a4e Added test for failed shortcircuits on debugging 2014-08-21 14:29:12 -05:00
Will Raxworthy
9c65d500a0 Change email regex pattern. 2014-08-18 06:55:47 +10:00
Gant
b401546611 tests for custom and non-custom validation errors 2014-08-10 15:09:13 -05:00
Gant
b74c1d7789 Added allow_blank option to all rules, for optional input 2014-08-02 15:33:58 -05:00
Gant
8bcca7c16d tests for invalid an valid selection 2014-08-01 15:13:17 -05:00
Gant
592bddd063 beginning of .invalid and .valid selections 2014-08-01 14:01:24 -05:00
Gant
de3ff3ae07 added presence validation and feature on length validation 2014-07-31 21:49:58 -05:00
Gant
60c48b982e added validation options at the selction level 2014-07-31 14:38:16 -05:00
Gant
815bec0cfc added ability to handle ranges with length 2014-07-31 11:00:50 -05:00
Gant
9ab2544fa7 taking options and ignoring them for now 2014-07-31 09:03:00 -05:00
David Larrabee
60bcd467a3 Adds validation events on(:valid) & on(:invalid) 2014-07-26 23:26:34 -04:00
Gant
7c8ca17d6e clear all validations 2014-07-14 23:46:08 -05:00
David Larrabee
208af97d7a Adds validations to selectors
* Adds the ability to:
    * rmq.append(selector).validates(:email).data('x')
    * rmq.all.valid?
    * rmq(some_selector).valid?
2014-07-11 00:25:51 -04:00
Gant
205e9df167 added tests for PR #74 2014-06-30 15:49:11 -05:00
Gant
d025353ff6 added buncho tests 2014-06-20 10:30:50 -05:00