Commit Graph

16 Commits

Author SHA1 Message Date
Adam Meehan
d57c64dcc2 Getting with the RSpec times 2015-12-30 12:06:42 +11:00
Adam Meehan
0feeb746cd Fix zone in test 2015-12-29 17:57:54 +11:00
Adam Meehan
08b16f155c Rspec 3 syntax 2015-12-29 14:55:03 +11:00
Adam Meehan
6560a09ad2 Change Time.local_time to Time.local 2015-12-28 13:47:11 +11:00
Adam Meehan
38457ec334 change spec config setup to use class method with_config 2011-01-29 16:33:37 +11:00
Adam Meehan
3793ef2ed4 fix for validation nil value with :format option plugin parser disabled (issue 34) 2011-01-29 16:07:56 +11:00
Adam Meehan
509336e080 Fix type_cast_value for values which don't respond to to_time or to_date (renatoelias) 2010-12-11 09:13:35 +11:00
Adam Meehan
1bf068392e avoid ruby 1.9.2 warning in spec 2010-10-14 07:58:23 +11: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
fa2736feb3 fix some timezone handling and add specs 2010-09-17 14:07:34 +10:00
Adam Meehan
8aa26a7898 ignore_usec option added back 2010-09-17 13:45:31 +10:00
Adam Meehan
3f0e430eab refactored parsing and conversion with timezones. removed some cruft 2010-09-17 08:32: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
82ede60985 restriction shorthand symbols 2010-08-07 19:08:35 +10:00
Adam Meehan
12b59739ad evaluate_option_value specs 2010-08-01 20:54:11 +10:00
Adam Meehan
fdc3086976 initial Rails 3 rewrite commit
completely rewritten for ActiveModel compatibility
uses ActiveModel EachValidator class as validator base class
simplifies :between by splitting into a :on_or_before and an :on_of_after
only :is_at option tested
2010-08-01 18:35:18 +10:00