Commit Graph

  • 69ed88a086 moved formats to root module and retrieve from there in validations added benchmarks for alternates Adam Meehan 2008-07-17 15:00:18 +1000
  • 0dcc255901 changed parsing to use hash of regexp with optional processor blocks. Allows easy addition and removal of preffered formats Adam Meehan 2008-07-17 14:29:59 +1000
  • 7cf8f2cbbc refactor parse to just a little simpler and a little more docs and cleanup Adam Meehan 2008-07-17 06:43:03 +1000
  • 265a3b884a a little more docs Adam Meehan 2008-07-11 17:42:10 +1000
  • 710ed92721 fixed matcher messages and refactored Adam Meehan 2008-07-11 17:41:50 +1000
  • 1a0a35836f fixed dummy time and added spec Adam Meehan 2008-07-11 17:41:07 +1000
  • 20ed2b1633 ignore time part for dates in validation Adam Meehan 2008-07-11 17:23:37 +1000
  • eafce02a73 renamed error message key Adam Meehan 2008-07-11 16:37:37 +1000
  • 89d6d4ac14 doc tweak Adam Meehan 2008-07-11 16:37:02 +1000
  • 899d420b59 renamed base to multiparameter attributes Adam Meehan 2008-07-11 16:35:52 +1000
  • c283d2eed9 rename base to multiparameter attributes Adam Meehan 2008-07-11 16:31:19 +1000
  • 7f1ada4d0e refactored specs into type validations, added some more examples for boundary checks Adam Meehan 2008-07-08 10:44:43 +1000
  • bac867cbbb added core extension files for adding to_dummy_time to Date, Time and DateTime classes Adam Meehan 2008-07-08 10:44:01 +1000
  • ef68b3d0f9 added type to parse method for dummy time check mainly added default datetime type to call to parse from strict type cast Adam Meehan 2008-07-08 10:42:02 +1000
  • 3c934efd0d added requires for core_ext files Adam Meehan 2008-07-08 10:40:57 +1000
  • 8c5b372716 added birth_time attribute Adam Meehan 2008-07-08 10:38:14 +1000
  • a78da16b8e added default task Adam Meehan 2008-07-08 10:37:54 +1000
  • 8ac04e8610 doc rewording Adam Meehan 2008-07-07 19:05:27 +1000
  • 228ab29b5f refactored conversion to remove Time class check which is done in type cast method Adam Meehan 2008-07-07 19:04:13 +1000
  • caf92fba13 include matcher if test env Adam Meehan 2008-07-07 19:03:45 +1000
  • a0583cc6ea added preliminary README docs Adam Meehan 2008-07-07 15:25:26 +1000
  • d6cf8f0889 fixed require for rspec-rails Adam Meehan 2008-07-07 15:24:37 +1000
  • f40bf36bc9 allow for custom messages in error message checks Adam Meehan 2008-07-07 15:23:44 +1000
  • 3f286b9aee refactored restrictions in method Adam Meehan 2008-07-07 15:19:32 +1000
  • bb0e64857a changed Dirty check to full name and changed docs Adam Meehan 2008-07-07 15:18:30 +1000
  • a5daef2069 added library require file for rspec-rails Adam Meehan 2008-07-07 15:17:11 +1000
  • 771f42f076 added rspec-rails for view method specs Adam Meehan 2008-07-07 15:16:30 +1000
  • 494f3bdef4 added time_travel plugin for validation specs to fix time from Time.now Adam Meehan 2008-07-07 15:12:28 +1000
  • bf6aeea841 fixed struct problem Adam Meehan 2008-07-07 15:11:00 +1000
  • bb42ef215f added full spec Adam Meehan 2008-07-07 15:10:08 +1000
  • 68463908be changed require and include for InstanceTag Adam Meehan 2008-07-07 09:57:09 +1000
  • 5edfa5f2fc renamed module DateHelper to InstanceTag Adam Meehan 2008-07-07 09:50:29 +1000
  • 6ffb7e5780 doc tweaks and minor stuff Adam Meehan 2008-07-01 11:34:49 +1000
  • 67183eb69f changed strict_time_type_cast to use validation parse method to unify and allow pluggable parsers Adam Meehan 2008-07-01 11:33:20 +1000
  • d035de1d7c refactored restrictions validation into own method added validates_*type methods for forcing the value type used when doing restriction validation Adam Meehan 2008-07-01 11:31:17 +1000
  • a27e4172a7 added check for already changed attribute added some more documentation Adam Meehan 2008-07-01 10:00:30 +1000
  • 6a6448130d added fall through for restriction to do parse value Adam Meehan 2008-06-30 22:39:11 +1000
  • 64a402676e added version display for AR Adam Meehan 2008-06-30 22:38:30 +1000
  • 8b69ec8134 changed schema to be version agnostic Adam Meehan 2008-06-30 22:37:51 +1000
  • a69e018992 added dirty attribute handling Adam Meehan 2008-06-30 22:37:13 +1000
  • 39e16d2fde fixed error on database write with saving cached values for time attributes which have been converted Adam Meehan 2008-06-30 16:30:13 +1000
  • ed23c4a9a4 refactored to convert and cache user input value on write to distinguish from values in read raw from database which allows correct timezone conversion added override for read_attribute to check for failed time type cast which should save nil value Adam Meehan 2008-06-30 15:38:33 +1000
  • ec12d60224 changed spec_helper rails version selection to use VERSION added RAILS_VER constant for version checking fixed rspec module include requirement for 1.1.4 in specs Adam Meehan 2008-06-27 09:56:45 +1000
  • 8b6d6ec789 minor hash key change Adam Meehan 2008-06-11 10:16:27 +1000
  • 685b0054fe set time zone aware attributes on in spec helper for AR Adam Meehan 2008-05-22 07:35:01 +1000
  • fb463ca7a0 fixed time object passed to strict_time_type_cast error Adam Meehan 2008-05-21 17:03:19 +1000
  • a9b033e539 added strict_time_type_cast method to handle casting refactored to be simler and rely on read_atribute method conversion rather than use new reader method definer got time (Rails 2.1) Adam Meehan 2008-05-21 16:55:10 +1000
  • d3b126729b modified conversion for rails <= 2.0.2 to be faster usign schema conversion methods Adam Meehan 2008-05-21 11:01:41 +1000
  • 7fadc2c164 tightened up specs for attribute methods Adam Meehan 2008-05-21 10:02:13 +1000
  • 1269d794d0 added AR default error messages split out parser into method to allow easy overriding Adam Meehan 2008-05-20 17:12:38 +1000
  • c6312329ec changed rails version detection to be tighter to avoid rails RC problem added rspec on rails validate_timeliness_of matcher Adam Meehan 2008-05-15 11:00:07 +1000
  • 10856b32d0 added vendored_rails check for time zone setting Adam Meehan 2008-05-14 11:22:44 +1000
  • f30b09cf5b added time zone config for Time class needed when running specs using vendored rails Adam Meehan 2008-05-14 11:18:55 +1000
  • b019f87625 reverted parser method as not working with raised exception Adam Meehan 2008-05-14 09:42:34 +1000
  • 2284844426 added DateTimeInvalid class rescue parse error only for DateTimeInvalid class Adam Meehan 2008-05-14 09:35:12 +1000
  • 8e4c4098b7 added spec for values before epoch Adam Meehan 2008-05-14 09:09:41 +1000
  • fd8b8bad2e changed AR version constant to Rails Adam Meehan 2008-05-14 08:59:55 +1000
  • d22aa94b89 changed version check to Rails constant as AR VERSION not loaded by default changed time component validation to use dummy date parts to avoid pre epoch issues Adam Meehan 2008-05-14 08:54:50 +1000
  • 4ee24faad4 switched to using Rails::VERSION constant instead of AR which doesn't seem to be available on rails boot Adam Meehan 2008-05-05 09:41:16 +1000
  • d3e278069e added validations specs Adam Meehan 2008-05-05 09:12:36 +1000
  • 05a2d53b9a moved attribute methods modules into Old and New for rails versions Adam Meehan 2008-05-05 09:11:43 +1000
  • 9a8a82c699 fixed restriction value conversion and added nil check Adam Meehan 2008-05-03 18:12:51 +1000
  • cae3d8cb84 added specs for validation Adam Meehan 2008-05-03 15:52:40 +1000
  • 8751eddac6 adds module for rails 2.0.x to add reader method for date checking includes right module based on AR version better vendored rails check in spec_helper Adam Meehan 2008-05-03 13:03:01 +1000
  • 3cf6e64747 fixed up AR 2.0.x timezone support Adam Meehan 2008-05-03 08:44:41 +1000
  • 9eddf9c130 outputs whether gem or vendor AR being used Adam Meehan 2008-05-03 08:17:45 +1000
  • b8283a7c9c outputs AR version being tested Adam Meehan 2008-05-03 08:12:44 +1000
  • fe7310fc10 fixed read method to use value before type cast added AR version checks in specs include AR from vendor if in Rails app Adam Meehan 2008-05-03 08:08:28 +1000
  • 7a34881472 Merge branch 'master' of ssh://ameehan@researchpath.com.au/var/git/validates-timeliness Adam Meehan 2008-05-02 19:08:18 +1000
  • 8072fe733e set value nil if invalid Adam Meehan 2008-05-02 19:07:48 +1000
  • e0e8d0c9b4 removed active_support require as AR does it Adam Meehan 2008-05-02 18:48:58 +1000
  • dff7900c4a check for Time object before validating Adam Meehan 2008-05-02 17:14:48 +1000
  • 591ea3126b first commit Adam Meehan 2008-05-02 16:42:51 +1000