Commit Graph

202 Commits

Author SHA1 Message Date
Adam Meehan
5be45b00db Hook into undefine_attributes_methods to remove timeliness methods as well 2012-02-01 20:38:05 +11:00
Adam Meehan
f8aeeca0a9 A fix for ActiveRecord 3.1.x and plugin parser not working together (issue #52) 2012-01-26 22:44:01 +11:00
Adam Meehan
f5e2deeb73 Add credit in changelog 2011-12-24 17:53:07 +11:00
Adam Meehan
acd10f7b64 v3.0.8 2011-12-24 17:50:22 +11:00
Adam Meehan
68b2579ca0 Merge pull request #61 from carlosantoniodasilva/rails-3.2-deprecation-warnings
Remove deprecated InstanceMethods module when using AS::Concern
2011-12-22 23:00:25 -08:00
Carlos Antonio da Silva
7a784a6c54 Remove InstanceMethods module when using AS::Concern, as it was deprecated in 3.2 2011-12-20 20:52:33 -02:00
Adam Meehan
907fd3e439 Fix for Mongoid shim for reload which was nicely moved into a module to allow super 2011-12-10 17:46:35 +11:00
Adam Meehan
e44e9d2f11 v3.0.7 2011-09-21 21:41:01 +10:00
Adam Meehan
86b7bc4829 Fix before_type_cast for non-dirty attributes (issue #52).
Only use before_type_cast implementation if earlier than 3.1.0 which has
it's own working version for date/time fields now.
2011-09-21 21:28:53 +10:00
Adam Meehan
34824bbbab Specs against rails 3.1.0 2011-09-18 18:56:06 +10:00
Adam Meehan
11ae94cba6 Cleanup DateTimeSelect extension specs 2011-09-18 18:53:38 +10:00
Adam Meehan
473da0fa5e Fix DateTimeSelect extension for Rails 3.1.0 2011-09-18 18:37:01 +10:00
Adam Meehan
e7b503ae4f Fix DateTimeSelect extension to use integers from param values.
Change extension spec to use string params.
2011-09-18 18:34:23 +10:00
Adam Meehan
af9d6cdba4 Fix brokena and brittle tests 2011-09-18 18:33:30 +10:00
Adam Meehan
9a99c47323 Can use simple Mongoid inclusion now that fixed Concern usage is released (a while ago) 2011-09-18 18:33:29 +10:00
Adam Meehan
fbc2867197 Remove Gemfile.lock from source and ignore 2011-09-18 18:33:29 +10:00
Adam Meehan
969edfcb83 Helper method spec 2011-09-18 18:33:29 +10:00
Adam Meehan
1faf0efa4b Spec helper validate method setup in test models not needed 2011-09-18 18:33:29 +10:00
Adam Meehan
2b53d713bc Merge pull request #45 from trusche/master
Add support for :discard_day option in DateTimeSelect extension
2011-09-18 01:32:08 -07:00
Thilo Rusche
ac90ab96cd fixed integer vs string expectation 2011-05-13 17:47:59 +01:00
Thilo Rusche
b4c1a39343 added support for :discard_day in form helpers 2011-05-13 17:13:11 +01:00
Adam Meehan
7886132114 version 3.0.5 2011-05-09 17:34:09 +10:00
Adam Meehan
c3b1ddffbb Readme typo 2011-05-09 07:45:38 +10:00
Adam Meehan
ac98978441 Better timeliness_type_cast_code 2011-05-09 07:43:41 +10:00
Adam Meehan
ea7c9ec7be Type caste to Date for date columns in AR after parsing string in attribute writer 2011-04-27 07:37:26 +10:00
Adam Meehan
e3dea5aebd use activemodel scoped class name in helper method to remove need for .kind override 2011-02-24 21:12:49 +11:00
Adam Meehan
9d654b1122 update to rails 3.0.4 2011-02-24 07:59:01 +11:00
Adam Meehan
2822e368e3 Exit restriction validation on first restriction error 2011-02-24 07:58:48 +11:00
Adam Meehan
2244d5e74d Use bundle gem tasks and move gemspec from Rakefile the .gemspec 2011-02-24 07:44:39 +11:00
Adam Meehan
1c70af4dba simplify data select spec 2011-02-23 20:05:09 +11:00
Adam Meehan
dac62060df version 3.0.5 2011-01-29 17:42:42 +11:00
Adam Meehan
4efa91f3b0 some Rakefile cleanup and simplification 2011-01-29 17:39:00 +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
983e80f239 move some files into spec/support and include ModelHelpers in config 2011-01-28 19:36:02 +11:00
Adam Meehan
bbb752e4e3 version 3.0.4 2011-01-22 11:16:10 +11:00
Adam Meehan
9d4ac8d513 update test gems 2011-01-22 11:15:15 +11:00
Adam Meehan
54347ee682 doc tweak 2011-01-22 10:49:59 +11:00
Adam Meehan
54ba4a038c use namespaced validator class name for the :timeliness option 2011-01-22 10:48:40 +11:00
Adam Meehan
7b5b11ad63 use class_attribute again, now that I know how to use it safely 2011-01-22 10:47:22 +11:00
Edgars Beigarts
d14ae09820 Fixed :between option. 2011-01-21 11:02:59 +02:00
Adam Meehan
01d1dc7c5e version 3.0.3 2010-12-11 09:17:31 +11:00
Adam Meehan
b09f937688 tiny consistency change 2010-12-11 09:17:08 +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
e345b5dc7d update README with supported Ruby platforms 2010-12-04 17:14:46 +11:00
Adam Meehan
57eef70b7c remove ruby-debug from Gemfile for now 2010-12-04 17:14:16 +11:00
Adam Meehan
46eafe31a1 version 3.0.2 2010-12-04 16:40:13 +11:00
Adam Meehan
f17a799b5c updated Timeliness to 0.3.2 for zone and offset in string support 2010-12-04 16:34:34 +11:00
Adam Meehan
3bf364a395 reluctantly overriding whole execute_callstack_for_multiparameter_attributes method
this fixes issue for Date column types. Damn method is just too
unwieldly and should be refactored in Rails.
2010-12-04 16:29:05 +11:00
Adam Meehan
bfcab52c22 can use super for some InstanceTag methods
cleans up for DateTimeSelect extension a little
2010-11-02 10:13:13 +11:00