Adam Meehan
|
55333d6ca3
|
standardising test date values
|
2008-07-23 20:38:18 +10:00 |
|
Adam Meehan
|
28b44b4ca6
|
some docs tweaks and spec value changes
|
2008-07-22 11:47:17 +10:00 |
|
Adam Meehan
|
175b5c8d36
|
moved type cast conversion specs from attribute_methods to validations
|
2008-07-22 10:12:53 +10:00 |
|
Adam Meehan
|
4e8007bc65
|
added ignore_datetime_restriction_errors class option and docs
bit more for chronic parser
|
2008-07-21 13:02:21 +10:00 |
|
Adam Meehan
|
1836e4f6ca
|
removed setting of time parts to 0 for date type in parse as any time parts should be valid as well
format proc now returns time array with nil values as 0
|
2008-07-21 10:31:06 +10:00 |
|
Adam Meehan
|
7a16d35e31
|
tweaked readme
changed mixed validation spec to datetime value out of Time range
|
2008-07-20 10:53:09 +10:00 |
|
Adam Meehan
|
9cf994564e
|
fixed fallback for out of range dates which Rails does not handle automatically
aliased timeliness_date_time_parse to parse_date_time for nicer interface
|
2008-07-20 09:06:39 +10:00 |
|
Adam Meehan
|
5f55fad076
|
added :before option to add_formats to insert above existing format
|
2008-07-20 07:45:22 +10:00 |
|
Adam Meehan
|
ec46a3bd35
|
added specs for formats and more docs
renamed valid_time_formats etc to time_formats
|
2008-07-18 16:29:26 +10:00 |
|
Adam Meehan
|
33c298163e
|
moved format proc helper methods into formats module so they work
|
2008-07-17 16:25:54 +10:00 |
|
Adam Meehan
|
0dcc255901
|
changed parsing to use hash of regexp with optional processor blocks. Allows easy addition and removal of preffered formats
|
2008-07-17 14:29:59 +10:00 |
|
Adam Meehan
|
20ed2b1633
|
ignore time part for dates in validation
|
2008-07-11 17:23:37 +10:00 |
|
Adam Meehan
|
7f1ada4d0e
|
refactored specs into type validations, added some more examples for boundary checks
|
2008-07-08 10:44:43 +10:00 |
|
Adam Meehan
|
494f3bdef4
|
added time_travel plugin for validation specs to fix time from Time.now
|
2008-07-07 15:12:28 +10:00 |
|
Adam Meehan
|
d035de1d7c
|
refactored restrictions validation into own method
added validates_*type methods for forcing the value type used when doing restriction validation
|
2008-07-01 11:31:17 +10:00 |
|
Adam Meehan
|
8e4c4098b7
|
added spec for values before epoch
|
2008-05-14 09:09:41 +10:00 |
|
Adam Meehan
|
d3e278069e
|
added validations specs
|
2008-05-05 09:12:36 +10:00 |
|