Commit Graph

272 Commits

Author SHA1 Message Date
Adam Meehan
b632093ce2 add examples for custom_error_messages and interpolation values. what can I say? TATFT 2009-01-12 12:36:37 +11:00
Adam Meehan
525b3b9941 fix custom_error_message hash bug using wrong match data index 2009-01-12 12:35:35 +11:00
Adam Meehan
db8dd9ac99 version 1.1.1 2009-01-03 19:11:36 +11:00
Adam Meehan
1fdfc23cb8 fixed bug in matcher using local variable for options, must not have run the specs one last time before last release. Umm marr 2009-01-03 19:07:27 +11:00
Adam Meehan
7d3ee4bc1b added rspec matcher to features list 2009-01-02 12:15:09 +11:00
Adam Meehan
694a4bdd69 change error to warning for untested Rails version 2009-01-01 20:53:19 +11:00
Adam Meehan
07359c6157 updated TODO to remove between and DM and Merb support in light of Rails 3 merge 2009-01-01 20:51:49 +11:00
Adam Meehan
215b3dedfd updated changelog for v1.1 2009-01-01 20:38:09 +11:00
Adam Meehan
753a63417b version bumped to 1.1 2009-01-01 20:36:57 +11:00
Adam Meehan
af923014f5 added ignore file 2009-01-01 20:30:32 +11:00
Adam Meehan
a7c6e37333 Merge branch 'between' 2009-01-01 20:30:22 +11:00
Adam Meehan
a14bc306b3 added between option details to README 2009-01-01 20:28:02 +11:00
Adam Meehan
a71d6f7945 added between option testing to matcher and refactored 2009-01-01 20:13:44 +11:00
Adam Meehan
45ab815039 added between option and some refactoring 2009-01-01 20:11:30 +11:00
Adam Meehan
c308aaf4a9 refactored attribute name handling in spec 2008-12-28 17:22:24 +11:00
Adam Meehan
6584d0f1f0 removed random blob of code in readme 2008-12-10 08:41:31 +11:00
Adam Meehan
5abaec66ae remove version check, check for I what I want 2008-12-09 16:56:03 +11:00
Adam Meehan
ea5452a604 installation instructions for plugin corrected 2008-12-08 08:38:04 +11:00
Adam Meehan
40437c970d make format error raise with message 2008-12-07 21:29:50 +11:00
Adam Meehan
37bfbfe5e7 doc update with new feature 2008-12-07 18:01:01 +11:00
Adam Meehan
897a9a3bd3 final touch ups to changelog, todo and gemspec for release 1.0.0 2008-12-07 12:06:42 +11:00
Adam Meehan
e9fa4ca20a fixed bug where accessor methods not properly generating due columns_hash lookup failing on method name as a symbol
force value to time on write unless is a date attribute
2008-12-07 11:07:39 +11:00
Adam Meehan
e4760126e2 allow for a string column being validated as a date/time 2008-12-07 11:06:43 +11:00
Adam Meehan
12af4d8d9d updated changelog and added to gem files 2008-12-06 15:43:56 +11:00
Adam Meehan
81330e7aad gemified using newgem with --simple option 2008-12-06 14:58:05 +11:00
Adam Meehan
e82b1e2033 removed some time_travel setup which are not used here 2008-12-06 14:42:21 +11:00
Adam Meehan
2ba85772b6 renamed license file 2008-12-06 14:42:02 +11:00
Adam Meehan
64ffb52dae spec text tweaks 2008-12-06 14:27:20 +11:00
Adam Meehan
ea6ec0cd75 added rdoc extension to readme for github prettiness 2008-12-06 14:25:58 +11:00
Adam Meehan
a691b4ed35 moved sqlite patch into seperate file 2008-12-06 09:06:24 +11:00
Adam Meehan
e2790538a8 added make_time examples 2008-12-05 20:46:40 +11:00
Adam Meehan
75f3ef34e8 made parameters explicit for validates_timeliness since its private and should not be used directly for validation 2008-12-05 20:35:37 +11:00
Adam Meehan
4cb51ae602 teeny comment correction 2008-12-05 20:30:54 +11:00
Adam Meehan
dad55456d5 patched sqlite adapter in spec_helper to fix time attributes in rails 2.0.2 errorneously reporting time attributes as datetime column types 2008-12-05 20:25:28 +11:00
Adam Meehan
87b0beef5a moved ignore_restriction_errors and error_value_formats into Validator class 2008-12-05 20:24:06 +11:00
Adam Meehan
6cd6cd9dc0 made restriction_value instance method as it relies on validator instance attribute type
removed old type_cast_method class method
2008-12-05 18:45:28 +11:00
Adam Meehan
0c5cc1a536 more refactoring of validator
fixed bug when Date is restriction value for a datetime attribute so its cast to time in default timezone
2008-12-05 18:25:44 +11:00
Adam Meehan
c224db7af8 moved specs to validator 2008-12-05 18:24:31 +11:00
Adam Meehan
4868746e94 refactor specs from validation_methods to validator and refactored to make much more sense 2008-12-05 18:23:39 +11:00
Adam Meehan
bf999170d7 fix timezone issue for to_dummy_time as per normal Rails which uses AR default_timezone 2008-12-05 16:34:28 +11:00
Adam Meehan
dbfd9231b5 moved including of modules into module files 2008-12-03 21:44:39 +11:00
Adam Meehan
3da24f0f33 a few changes to prepare for better version support 2008-12-03 21:22:19 +11:00
Adam Meehan
6f4306973b updated some comments 2008-12-03 21:20:53 +11:00
Adam Meehan
71f2a43424 added i18n support for error messages in Rails 2.2 2008-12-03 18:20:34 +11:00
Adam Meehan
c386a9cdcf removed some naff comments 2008-12-02 21:40:41 +11:00
Adam Meehan
1596ffd2cb namespaced matcher 2008-12-02 21:07:08 +11:00
Adam Meehan
d847d3b95a removed a debug hint in matcher 2008-12-02 20:42:00 +11:00
Adam Meehan
d0e60ece92 updated with new plugin settings method names and some refinements 2008-12-02 20:35:12 +11:00
Adam Meehan
3ac65b507f renamed methods which have been moved out of AR and so dont need to be fully qualified 2008-12-02 20:34:02 +11:00
Adam Meehan
d71f581e10 refactored error message handling and specs 2008-12-02 19:36:03 +11:00