Commit Graph

  • 7967b5a212 refactored error value formats to use locale file for I18n. Rail 2.0/2.1 to use default_error_value_formats now. moved default_error_messages_method into validator Adam Meehan 2009-03-28 18:49:26 +1100
  • a836ed8434 changed Formats#parse to take options hash for strict and other possibilities Adam Meehan 2009-03-28 17:35:41 +1100
  • c2a4f45b5a removed old spec Adam Meehan 2009-03-28 17:35:21 +1100
  • 312c1510cb refactored AR parsing methods into Parser module to reduce AR method pollution and make more consistent Adam Meehan 2009-03-28 17:25:48 +1100
  • 88fce1d679 updated version number (1.1.7) 1.1.7 Adam Meehan 2009-03-26 16:49:19 +1100
  • ffd8476f74 version 1.1.7 Adam Meehan 2009-03-26 16:46:53 +1100
  • 728c5ccda5 safely extract time values from multiparam array Adam Meehan 2009-03-26 15:20:08 +1100
  • 4f0c81b6f8 properly chain multiparameter attributes Adam Meehan 2009-03-26 15:13:35 +1100
  • 11e643c0fe version 1.1.6 1.1.6 Adam Meehan 2009-03-19 20:52:35 +1100
  • d1ee94248b added :equal_to and :ignore_usec options. the later is for ignore microsecond value in datetime restrictions Adam Meehan 2009-03-19 20:49:06 +1100
  • eecef62de4 updating ginger scenarios with Rails 2.3.2 Adam Meehan 2009-03-19 20:47:50 +1100
  • fae38cfecd use value as raw_value if object doesn't have _before_type_cast method Adam Meehan 2009-03-12 19:08:31 +1100
  • 515a1b3126 make format sections titles Adam Meehan 2009-03-12 07:33:13 +1100
  • 736b1b582f removed dupe example Adam Meehan 2009-03-12 07:30:35 +1100
  • 903850bc23 Merge branch 'with' for with_date and with_time options Adam Meehan 2009-03-10 15:38:04 +1100
  • c3f3edf324 added enable method for multiparameter attribute handling of datetime which is enabled by default but will be off in version2 renamed enable action view extension method and enable both extensions in the one method as they are needed together Adam Meehan 2009-03-08 17:55:48 +1100
  • 1dbac5190b fix last refactor so it casts Date object to time if attribute is datetime or time with spec added Adam Meehan 2009-03-05 19:56:38 +1100
  • 497a97e0b0 cleanup setup and version check guff. enable action view extension by default until version 2 Adam Meehan 2009-03-05 18:34:16 +1100
  • 9dd3282a81 add method to enable action view invalid value extension. will be on by default but will off in version 2 Adam Meehan 2009-03-05 18:32:25 +1100
  • e7e9a8b238 fix bad variable name Adam Meehan 2009-03-05 18:30:48 +1100
  • cb962d1157 some refactoring and behave even more friendly with alias_method_chain Adam Meehan 2009-03-05 18:10:59 +1100
  • 403a91addf added if and unless to valid options Adam Meehan 2009-03-04 21:09:51 +1100
  • 7ca84f3116 behaves as better AR citizen by alias_method_chaining define_attribute_methods and read_attribute instead of overriding Adam Meehan 2009-03-03 12:38:54 +1100
  • 19457a6c1d removed some module inclusion silliness in spec Adam Meehan 2009-02-27 23:40:14 +1100
  • 5e85649a34 readme plugin installation fix and gem dependency Adam Meehan 2009-02-26 09:26:16 +1100
  • e76c53a295 doc fix Adam Meehan 2009-02-09 18:20:29 +1100
  • f93720177b doc fixes Adam Meehan 2009-02-09 18:14:51 +1100
  • 1181b725d0 doc tweaks Adam Meehan 2009-02-09 18:12:08 +1100
  • 12aa78271e added docs and removed with_* from todo Adam Meehan 2009-02-09 17:49:39 +1100
  • 862b41f903 added :with_date and :with_time options refactored restriction_value into evaluate_option_value class method for more general usage refactored type_cast_value into class method Adam Meehan 2009-02-09 16:44:03 +1100
  • 904c202fb4 little cleanup and consistency Adam Meehan 2009-02-09 12:11:56 +1100
  • 1001d29c01 rails 2.3.0 fix with I18n.reload! added 2.3 to ginger list Adam Meehan 2009-02-08 20:54:45 +1100
  • 29c23a7a26 move format compilcation call to where it belongs Adam Meehan 2009-02-08 13:02:06 +1100
  • 7ef9078369 use the value from validates_each in validator Adam Meehan 2009-02-08 12:46:22 +1100
  • a1ae5f9313 added option key validation to prevent silly validation problems due to bad key name Adam Meehan 2009-02-01 20:08:07 +1100
  • b3e235a8a1 release 1.1.5 1.1.5 Adam Meehan 2009-01-21 14:15:35 +1100
  • 71583805c8 fixed regex for yy format token which wasn't greedy enough when datetime string parsed as date causing a 4 digit year to be extracted as first 2 digits Adam Meehan 2009-01-21 14:07:35 +1100
  • 2ee971623c whitespace Adam Meehan 2009-01-21 14:07:20 +1100
  • 817e49940c removed the 'resume' call, um wtf? Adam Meehan 2009-01-21 14:05:46 +1100
  • a76fc112e7 release 1.1.4 1.1.4 Adam Meehan 2009-01-13 20:11:04 +1100
  • 575ff85346 Merge branch 'months' Adam Meehan 2009-01-13 20:07:54 +1100
  • 7ed76b5161 removed i18n of month names from TODO Adam Meehan 2009-01-13 20:07:24 +1100
  • 65ed8a657e format months names now respect i18n Adam Meehan 2009-01-13 20:05:55 +1100
  • 360108c39f release version 1.1.3 1.1.3 Adam Meehan 2009-01-13 10:25:27 +1100
  • 0ad8ace335 refactored AR attribute methods to define read method for all date, time and datetime attributes. Makes things much clearer and fixes bug reported (#2) by Brad (pvjg) Adam Meehan 2009-01-13 10:12:41 +1100
  • 7c9ec695f4 small refactor and cleanup of formats class Adam Meehan 2009-01-12 21:42:14 +1100
  • 6af61917dd release v1.1.2 1.1.2 Adam Meehan 2009-01-12 13:20:58 +1100
  • 43e6748cd2 actually removed DM and Merb todos this time and added month name i18n handling and remove_formats Adam Meehan 2009-01-12 13:12:51 +1100
  • 760a52a2a4 cleanup matcher spec a little Adam Meehan 2009-01-12 13:08:22 +1100
  • 9f1642c730 fix matcher error_message_for when i18n is loaded and custom error message to use regular string interpolation Adam Meehan 2009-01-12 13:04:41 +1100
  • 011ea070db fix interpolation_values examples for rails version without i18n Adam Meehan 2009-01-12 13:03:21 +1100
  • b632093ce2 add examples for custom_error_messages and interpolation values. what can I say? TATFT Adam Meehan 2009-01-12 12:36:37 +1100
  • 525b3b9941 fix custom_error_message hash bug using wrong match data index Adam Meehan 2009-01-12 12:35:35 +1100
  • db8dd9ac99 version 1.1.1 1.1.1 Adam Meehan 2009-01-03 19:11:36 +1100
  • 1fdfc23cb8 fixed bug in matcher using local variable for options, must not have run the specs one last time before last release. Umm marr Adam Meehan 2009-01-03 19:07:27 +1100
  • 7d3ee4bc1b added rspec matcher to features list Adam Meehan 2009-01-02 12:15:09 +1100
  • 694a4bdd69 change error to warning for untested Rails version Adam Meehan 2009-01-01 20:53:19 +1100
  • 07359c6157 updated TODO to remove between and DM and Merb support in light of Rails 3 merge Adam Meehan 2009-01-01 20:51:49 +1100
  • 215b3dedfd updated changelog for v1.1 1.1.0 Adam Meehan 2009-01-01 20:38:09 +1100
  • 753a63417b version bumped to 1.1 Adam Meehan 2009-01-01 20:36:57 +1100
  • af923014f5 added ignore file Adam Meehan 2009-01-01 20:30:32 +1100
  • a7c6e37333 Merge branch 'between' Adam Meehan 2009-01-01 20:30:22 +1100
  • a14bc306b3 added between option details to README Adam Meehan 2009-01-01 20:28:02 +1100
  • a71d6f7945 added between option testing to matcher and refactored Adam Meehan 2009-01-01 20:13:44 +1100
  • 45ab815039 added between option and some refactoring Adam Meehan 2009-01-01 20:11:30 +1100
  • c308aaf4a9 refactored attribute name handling in spec Adam Meehan 2008-12-28 17:22:24 +1100
  • 6584d0f1f0 removed random blob of code in readme Adam Meehan 2008-12-10 08:41:31 +1100
  • 5abaec66ae remove version check, check for I what I want Adam Meehan 2008-12-09 16:56:03 +1100
  • ea5452a604 installation instructions for plugin corrected Adam Meehan 2008-12-08 08:38:04 +1100
  • 40437c970d make format error raise with message Adam Meehan 2008-12-07 21:29:50 +1100
  • 37bfbfe5e7 doc update with new feature Adam Meehan 2008-12-07 18:01:01 +1100
  • 897a9a3bd3 final touch ups to changelog, todo and gemspec for release 1.0.0 1.0.0 Adam Meehan 2008-12-07 12:06:42 +1100
  • 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 Adam Meehan 2008-12-07 11:07:39 +1100
  • e4760126e2 allow for a string column being validated as a date/time Adam Meehan 2008-12-07 11:06:43 +1100
  • 12af4d8d9d updated changelog and added to gem files Adam Meehan 2008-12-06 15:43:56 +1100
  • 81330e7aad gemified using newgem with --simple option Adam Meehan 2008-12-06 14:58:05 +1100
  • e82b1e2033 removed some time_travel setup which are not used here Adam Meehan 2008-12-06 14:42:21 +1100
  • 2ba85772b6 renamed license file Adam Meehan 2008-12-06 14:42:02 +1100
  • 64ffb52dae spec text tweaks Adam Meehan 2008-12-06 14:27:20 +1100
  • ea6ec0cd75 added rdoc extension to readme for github prettiness Adam Meehan 2008-12-06 14:25:58 +1100
  • a691b4ed35 moved sqlite patch into seperate file Adam Meehan 2008-12-06 09:06:24 +1100
  • e2790538a8 added make_time examples Adam Meehan 2008-12-05 20:46:40 +1100
  • 75f3ef34e8 made parameters explicit for validates_timeliness since its private and should not be used directly for validation Adam Meehan 2008-12-05 20:35:37 +1100
  • 4cb51ae602 teeny comment correction Adam Meehan 2008-12-05 20:30:54 +1100
  • dad55456d5 patched sqlite adapter in spec_helper to fix time attributes in rails 2.0.2 errorneously reporting time attributes as datetime column types Adam Meehan 2008-12-05 20:25:28 +1100
  • 87b0beef5a moved ignore_restriction_errors and error_value_formats into Validator class Adam Meehan 2008-12-05 20:24:06 +1100
  • 6cd6cd9dc0 made restriction_value instance method as it relies on validator instance attribute type removed old type_cast_method class method Adam Meehan 2008-12-05 18:45:28 +1100
  • 0c5cc1a536 more refactoring of validator fixed bug when Date is restriction value for a datetime attribute so its cast to time in default timezone Adam Meehan 2008-12-05 18:25:44 +1100
  • c224db7af8 moved specs to validator Adam Meehan 2008-12-05 18:24:31 +1100
  • 4868746e94 refactor specs from validation_methods to validator and refactored to make much more sense Adam Meehan 2008-12-05 18:23:39 +1100
  • bf999170d7 fix timezone issue for to_dummy_time as per normal Rails which uses AR default_timezone Adam Meehan 2008-12-05 16:34:28 +1100
  • dbfd9231b5 moved including of modules into module files Adam Meehan 2008-12-03 21:44:39 +1100
  • 3da24f0f33 a few changes to prepare for better version support Adam Meehan 2008-12-03 21:22:19 +1100
  • 6f4306973b updated some comments Adam Meehan 2008-12-03 21:20:53 +1100
  • 71f2a43424 added i18n support for error messages in Rails 2.2 Adam Meehan 2008-12-03 18:20:34 +1100
  • c386a9cdcf removed some naff comments Adam Meehan 2008-12-02 21:40:41 +1100
  • 1596ffd2cb namespaced matcher Adam Meehan 2008-12-02 21:07:08 +1100
  • d847d3b95a removed a debug hint in matcher Adam Meehan 2008-12-02 20:42:00 +1100
  • d0e60ece92 updated with new plugin settings method names and some refinements Adam Meehan 2008-12-02 20:35:12 +1100
  • 3ac65b507f renamed methods which have been moved out of AR and so dont need to be fully qualified Adam Meehan 2008-12-02 20:34:02 +1100