Commit Graph

139 Commits

Author SHA1 Message Date
Adam Meehan
208bfc5af6 version 3.0.0.beta.5 2010-10-14 19:14:10 +11:00
Adam Meehan
cc96cbd9a7 add changelog entry about removing RSpec matcher 2010-10-14 19:12:12 +11:00
Adam Meehan
a0eb38dbc8 parser updates in readme 2010-10-14 19:11:51 +11:00
Adam Meehan
27b7054e02 Merge branch 'timeliness' 2010-10-14 19:01:38 +11:00
Adam Meehan
f2d0be0032 use Date.current in readme example 2010-10-14 19:00:53 +11:00
Adam Meehan
2c6df945ec remove old parser and use timeliness gem 2010-10-14 18:57:53 +11:00
Adam Meehan
423eb96ecf gemfile updates for ruby 1.9 2010-10-14 08:16:35 +11:00
Adam Meehan
1bf068392e avoid ruby 1.9.2 warning in spec 2010-10-14 07:58:23 +11:00
Adam Meehan
316086e76f ruby 1.9.2 spec fixes for instance method checks 2010-10-14 07:55:35 +11:00
Adam Meehan
1e48173e6a don't call to_time on Time object.
Fixes Ruby 1.9 bug which changes the zone to local when calling to_time
on a Time object! Lame! I mean seriously, Rails created the method and
then Ruby copies it into core and changes the behaviour. Why?
2010-10-14 07:40:30 +11:00
Adam Meehan
b152dff626 couple of AS dependencies required 2010-10-11 15:53:16 +11:00
Adam Meehan
71162d5614 parser should be a module not a class 2010-10-11 15:49:01 +11:00
Adam Meehan
3f72f31063 change shorthand values to current timezone (thanks rpbertp13) 2010-10-11 13:12:16 +11:00
Adam Meehan
6301d87829 fix uncommented setting in config template 2010-10-11 12:46:53 +11:00
Adam Meehan
99704211a1 don't run mongoid spec if not loaded 2010-10-09 16:46:02 +11:00
Adam Meehan
2756d21abd added railtie and moved in some config defaults for Rails and AR 2010-10-09 16:44:19 +11:00
Adam Meehan
3f92cac8b0 forgot to add default_timezone to generator 2010-10-09 16:05:39 +11:00
Adam Meehan
247e157708 readme and generator comments 2010-10-08 08:40:22 +11:00
Adam Meehan
d450ab7c06 parser comments 2010-10-01 09:51:57 +10:00
Adam Meehan
f67519f091 don't to_i format values when nil in parser 2010-10-01 09:38:07 +10:00
Adam Meehan
3abb95bc38 parser comments update and typos 2010-10-01 09:08:24 +10:00
Adam Meehan
8a0b2418bb simplify format arguments in parser 2010-10-01 09:07:59 +10:00
Adam Meehan
f2f1e0b165 tiny tweaks 2010-09-30 19:08:09 +10:00
Adam Meehan
cbb03f0f82 upsell 2010-09-30 19:07:42 +10:00
Adam Meehan
bd1b2f0b96 refactor error messages and fix custom invalide type message 2010-09-30 18:28:39 +10:00
Adam Meehan
2be057b057 version 3.0.0.beta.4 2010-09-29 08:29:02 +10:00
Adam Meehan
39be5fa829 readme 2010-09-29 08:26:00 +10:00
Adam Meehan
1ff215bf55 readme and comment changes 2010-09-29 08:14:17 +10:00
Adam Meehan
6e67d45274 Validation support for ActiveModel::Validations without a shim
move validation helpers into ActiveModel::Validations for default base support
add check if attribute methods shim is being used
refactor specs for helper and attribute methods separation
more mongoid workarounds due to incorrect use of AS::Concern
2010-09-29 08:09:43 +10:00
Adam Meehan
5f31f40413 add parser config to initializer 2010-09-27 16:54:21 +10:00
Adam Meehan
8b199b3f10 readme tweaks 2010-09-27 16:54:21 +10:00
Adam Meehan
ea082b5258 use I18n default value when missing value for error value format 2010-09-27 16:53:54 +10:00
Adam Meehan
cd62163152 remove redundant dummy date setting from Parser 2010-09-27 14:58:17 +10:00
Adam Meehan
99ba103181 fix reload return value for AR 2010-09-24 14:51:05 +10:00
Adam Meehan
ff555eb293 refactored raw value cache to be more explicit 2010-09-24 14:19:25 +10:00
Adam Meehan
37593b63ba examples in readme 2010-09-24 13:53:41 +10:00
Adam Meehan
7f297d576a fix plugin parser timezone spec in AR 2010-09-24 13:45:55 +10:00
Adam Meehan
f41903a769 refactored to get attribute type from model types not validation type
reverts to behaviour of old version which allows you to define validations
of any type for sake of the values it is validating against
2010-09-24 12:00:15 +10:00
Adam Meehan
2efcff2fd4 spec cleaning 2010-09-23 21:34:32 +10:00
Adam Meehan
00f01402e0 reload to clear cached value. Fixes mongoid. 2010-09-23 21:34:01 +10:00
Adam Meehan
d5b0fe0526 list mongoid in config comments 2010-09-23 08:14:11 +10:00
Adam Meehan
6220ae7b43 add validation method check to each ORM 2010-09-23 08:13:37 +10:00
Adam Meehan
a9587ba142 ORM update in readme 2010-09-22 12:51:59 +10:00
Adam Meehan
8edf55ef46 version 3.0.0.beta.3 2010-09-22 07:26:43 +10:00
Adam Meehan
b7fd7c1d60 add mongoid comment 2010-09-22 07:09:43 +10:00
Adam Meehan
90f0c45778 preliminary Mongoid support 2010-09-22 07:07:36 +10:00
Adam Meehan
de46a5b003 update Gemfile version instruction 2010-09-22 07:06:18 +10:00
Adam Meehan
1289988bed remove spec for evaludate_option_value zone change on model method 2010-09-21 20:15:46 +10:00
Adam Meehan
0df3886804 fix validator for :format option 2010-09-21 20:15:26 +10:00
Adam Meehan
29057c41f7 use Person for non-ORM specific specs 2010-09-21 20:14:51 +10:00