Commit Graph

213 Commits

Author SHA1 Message Date
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
Adam Meehan
aa42fb76b6 get the model to add errors to record returned from validation instead of validator 2008-11-30 08:34:17 +11:00
Adam Meehan
b0647d456e refactored validations in validation methods for model and validator class 2008-11-30 07:40:11 +11:00
Adam Meehan
9610d79d7d move core extension spec to namespace folder 2008-11-29 18:55:18 +11:00
Adam Meehan
412ff22dd9 namespaced ActiveRecord and ActionView specifc modules and specs with a mind to making the plugin framework agnostic in the future 2008-11-29 18:32:32 +11:00
Adam Meehan
21d26ee2b1 remove multiparameter time format example for 2.0.x because sqlite didn't support time column types in that version 2008-11-29 10:52:03 +11:00
Adam Meehan
5a4be4a91e added ginger scenarios to run specs against all supported rails versions 2008-11-24 05:25:05 +11:00
Adam Meehan
705e787775 small cleanup and correction of docs 2008-11-23 17:42:34 +11:00
Adam Meehan
a54d562a69 refactored version checks for method aliasing 2008-11-23 17:41:58 +11:00
Adam Meehan
6a0cece4d7 a little README cleanup 2008-11-23 16:58:48 +11:00