Commit Graph

141 Commits

Author SHA1 Message Date
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
Adam Meehan
48b42da85e seperate attribute method specs into orm specific file
move ORM shims to orm folder
2010-09-21 20:12:40 +10:00
Adam Meehan
bf57efaaa6 include timezone awareness option for attribute parsing 2010-09-21 18:27:12 +10:00
Adam Meehan
c8ad4cd525 use inheritable hash again as class_attribute doesn't clone hash for subclass 2010-09-21 18:26:30 +10:00
Adam Meehan
8d3ae75b19 add use_plugin_parser option to initializer template 2010-09-21 18:25:30 +10:00
Adam Meehan
c804442330 dusting 2010-09-21 10:23:13 +10:00
Adam Meehan
896427a8d5 rspec updates 2010-09-21 10:22:48 +10:00
Adam Meehan
b2d81f0dcf use class_attribute to avoid inheritable accessor issues 2010-09-21 10:21:34 +10:00
Adam Meehan
de1de82ae3 remove deprecated gem spec property 2010-09-21 10:20:39 +10:00
Adam Meehan
9b3efa1ecb ignores 2010-09-21 08:44:00 +10:00
Adam Meehan
92d6fd8725 version 3.0.0.beta.2 2010-09-21 08:42:43 +10:00
Adam Meehan
f0e9d0292a clean up valdiation methods 2010-09-21 08:37:54 +10:00
Adam Meehan
27e01486e9 actually use the plugin parser in the write method (yikes) 2010-09-21 08:36:11 +10:00
Adam Meehan
0b067ba27f gem beta install readme 2010-09-17 15:17:46 +10:00
Adam Meehan
0f84584238 v3.0.0.beta 2010-09-17 15:16:03 +10:00
Adam Meehan
01b734e7cd add package task 2010-09-17 15:13:33 +10:00
Adam Meehan
16cc8101cb whoops. fix Rakefile refs to my other plugin #cargocult 2010-09-17 15:05:43 +10:00
Adam Meehan
4fa8dfac72 don't allow 0 or > 12 for meridian am hour 2010-09-17 14:36:21 +10:00
Adam Meehan
a78700d192 more options in readme and fixes 2010-09-17 14:10:33 +10:00
Adam Meehan
fa2736feb3 fix some timezone handling and add specs 2010-09-17 14:07:34 +10:00
Adam Meehan
b668a6f22e simplify dummy_time Time value creation 2010-09-17 13:46:03 +10:00
Adam Meehan
716f9e4f2e format option added back 2010-09-17 13:45:56 +10:00
Adam Meehan
8aa26a7898 ignore_usec option added back 2010-09-17 13:45:31 +10:00
Adam Meehan
b2d1dcdd3f add some common formats 2010-09-17 13:43:47 +10:00
Adam Meehan
1fb89d6455 simplify tokens to hash and generate in reverse order of token length 2010-09-17 13:42:21 +10:00
Adam Meehan
1df8ab121e wiki link for ORM support 2010-09-17 12:21:27 +10:00
Adam Meehan
bceb0d508f readme 2010-09-17 11:01:10 +10:00
Adam Meehan
423d60f885 use inheritable hash for valdiated attributes 2010-09-17 10:56:13 +10:00
Adam Meehan
4f8b300261 update benchmarks 2010-09-17 08:58:07 +10:00
Adam Meehan
b23dba5202 remove time_with_zone require 2010-09-17 08:52:55 +10:00
Adam Meehan
c8609c1fd0 readme consistencies 2010-09-17 08:49:26 +10:00
Adam Meehan
b261563644 readme with wiki and old plugin refs 2010-09-17 08:44:41 +10:00
Adam Meehan
58fdb7682b removed some unused stuff 2010-09-17 08:33:59 +10:00
Adam Meehan
3f0e430eab refactored parsing and conversion with timezones. removed some cruft 2010-09-17 08:32:56 +10:00
Adam Meehan
3530e3a58c docs 2010-09-16 22:40:42 +10:00
Adam Meehan
ab8d680383 fix multiparam extension 2010-09-16 22:39:56 +10:00
Adam Meehan
5d495505d9 proper timezone awareness and plugin parser hooks
Parser uses method compilation technique namely to a method not a proc
2010-09-16 22:35:38 +10:00
Adam Meehan
9ddd150b2f change ORM attribute generation and extension mechanism
now using shim since the attribute matcher is not required for AM
2010-09-16 22:33:22 +10:00
Adam Meehan
d0080ebac4 update rails in gemfile 2010-09-16 22:27:11 +10:00
Adam Meehan
7274e7841d clarify ORM support 2010-09-01 10:08:21 +10:00
Adam Meehan
10f49144c3 extend AR by default if present 2010-08-31 22:43:40 +10:00
Adam Meehan
53f3d876ea shorthand defaults in generator coments 2010-08-31 16:47:41 +10:00
Adam Meehan
b0ebd5bfda rename instance var 2010-08-31 13:28:05 +10:00
Adam Meehan
7243456b76 remove spec guff 2010-08-31 13:27:36 +10:00
Adam Meehan
2f3efa2107 custom error message options 2010-08-31 13:23:07 +10:00
Adam Meehan
728439201d fix validator spec 2010-08-31 12:46:33 +10:00
Adam Meehan
c97050f62f autoload version file 2010-08-31 12:46:08 +10:00
Adam Meehan
52b69065d3 words 2010-08-11 13:46:43 +10:00
Adam Meehan
e3928e78eb fixe for attribute write and raw value methods
add new generalised method to get raw value without dependence on
before_type_cast which may not be supported in ORMs

call super to define full ORM write method default
2010-08-11 13:45:06 +10:00