Adam Meehan
|
e82b1e2033
|
removed some time_travel setup which are not used here
|
2008-12-06 14:42:21 +11:00 |
|
Adam Meehan
|
2ba85772b6
|
renamed license file
|
2008-12-06 14:42:02 +11:00 |
|
Adam Meehan
|
64ffb52dae
|
spec text tweaks
|
2008-12-06 14:27:20 +11:00 |
|
Adam Meehan
|
ea6ec0cd75
|
added rdoc extension to readme for github prettiness
|
2008-12-06 14:25:58 +11:00 |
|
Adam Meehan
|
a691b4ed35
|
moved sqlite patch into seperate file
|
2008-12-06 09:06:24 +11:00 |
|
Adam Meehan
|
e2790538a8
|
added make_time examples
|
2008-12-05 20:46:40 +11:00 |
|
Adam Meehan
|
75f3ef34e8
|
made parameters explicit for validates_timeliness since its private and should not be used directly for validation
|
2008-12-05 20:35:37 +11:00 |
|
Adam Meehan
|
4cb51ae602
|
teeny comment correction
|
2008-12-05 20:30:54 +11:00 |
|
Adam Meehan
|
dad55456d5
|
patched sqlite adapter in spec_helper to fix time attributes in rails 2.0.2 errorneously reporting time attributes as datetime column types
|
2008-12-05 20:25:28 +11:00 |
|
Adam Meehan
|
87b0beef5a
|
moved ignore_restriction_errors and error_value_formats into Validator class
|
2008-12-05 20:24:06 +11:00 |
|
Adam Meehan
|
6cd6cd9dc0
|
made restriction_value instance method as it relies on validator instance attribute type
removed old type_cast_method class method
|
2008-12-05 18:45:28 +11:00 |
|
Adam Meehan
|
0c5cc1a536
|
more refactoring of validator
fixed bug when Date is restriction value for a datetime attribute so its cast to time in default timezone
|
2008-12-05 18:25:44 +11:00 |
|
Adam Meehan
|
c224db7af8
|
moved specs to validator
|
2008-12-05 18:24:31 +11:00 |
|
Adam Meehan
|
4868746e94
|
refactor specs from validation_methods to validator and refactored to make much more sense
|
2008-12-05 18:23:39 +11:00 |
|
Adam Meehan
|
bf999170d7
|
fix timezone issue for to_dummy_time as per normal Rails which uses AR default_timezone
|
2008-12-05 16:34:28 +11:00 |
|
Adam Meehan
|
dbfd9231b5
|
moved including of modules into module files
|
2008-12-03 21:44:39 +11:00 |
|
Adam Meehan
|
3da24f0f33
|
a few changes to prepare for better version support
|
2008-12-03 21:22:19 +11:00 |
|
Adam Meehan
|
6f4306973b
|
updated some comments
|
2008-12-03 21:20:53 +11:00 |
|
Adam Meehan
|
71f2a43424
|
added i18n support for error messages in Rails 2.2
|
2008-12-03 18:20:34 +11:00 |
|
Adam Meehan
|
c386a9cdcf
|
removed some naff comments
|
2008-12-02 21:40:41 +11:00 |
|
Adam Meehan
|
1596ffd2cb
|
namespaced matcher
|
2008-12-02 21:07:08 +11:00 |
|
Adam Meehan
|
d847d3b95a
|
removed a debug hint in matcher
|
2008-12-02 20:42:00 +11:00 |
|
Adam Meehan
|
d0e60ece92
|
updated with new plugin settings method names and some refinements
|
2008-12-02 20:35:12 +11:00 |
|
Adam Meehan
|
3ac65b507f
|
renamed methods which have been moved out of AR and so dont need to be fully qualified
|
2008-12-02 20:34:02 +11:00 |
|
Adam Meehan
|
d71f581e10
|
refactored error message handling and specs
|
2008-12-02 19:36:03 +11:00 |
|
Adam Meehan
|
aa42fb76b6
|
get the model to add errors to record returned from validation instead of validator
|
2008-11-30 08:34:17 +11:00 |
|
Adam Meehan
|
b0647d456e
|
refactored validations in validation methods for model and validator class
|
2008-11-30 07:40:11 +11:00 |
|
Adam Meehan
|
9610d79d7d
|
move core extension spec to namespace folder
|
2008-11-29 18:55:18 +11:00 |
|
Adam Meehan
|
412ff22dd9
|
namespaced ActiveRecord and ActionView specifc modules and specs with a mind to making the plugin framework agnostic in the future
|
2008-11-29 18:32:32 +11:00 |
|
Adam Meehan
|
21d26ee2b1
|
remove multiparameter time format example for 2.0.x because sqlite didn't support time column types in that version
|
2008-11-29 10:52:03 +11:00 |
|
Adam Meehan
|
5a4be4a91e
|
added ginger scenarios to run specs against all supported rails versions
|
2008-11-24 05:25:05 +11:00 |
|
Adam Meehan
|
705e787775
|
small cleanup and correction of docs
|
2008-11-23 17:42:34 +11:00 |
|
Adam Meehan
|
a54d562a69
|
refactored version checks for method aliasing
|
2008-11-23 17:41:58 +11:00 |
|
Adam Meehan
|
6a0cece4d7
|
a little README cleanup
|
2008-11-23 16:58:48 +11:00 |
|
Adam Meehan
|
a425555de6
|
remove explicit interop require which is done in rspec-rails
|
2008-11-22 10:38:36 +11:00 |
|
Adam Meehan
|
34c3f8602b
|
removing some spec cruft as now using rpec-rails gem
|
2008-11-22 10:33:49 +11:00 |
|
Adam Meehan
|
abbf79faae
|
removed unnecessary version condition
|
2008-11-22 09:46:28 +11:00 |
|
Adam Meehan
|
aa92ad8788
|
added Alex to changelog
|
2008-11-13 10:31:14 +11:00 |
|
Adam Meehan
|
889bdc3ae3
|
allow uppercase meridian to be valid
|
2008-11-13 10:26:16 +11:00 |
|
Adam Meehan
|
604a792e25
|
Rails 2.2 compatibility fixes with more version check hackery (yuck, will fix later)
|
2008-10-28 22:05:25 +11:00 |
|
Adam Meehan
|
2f162ca500
|
little spec house cleaning
|
2008-10-28 20:03:37 +11:00 |
|
Adam Meehan
|
49cd69e565
|
merging attribute method refactor branch
|
2008-10-28 19:59:31 +11:00 |
|
Adam Meehan
|
ced61929da
|
fixed dirty attributes when old value incorrectly read and added more examples for dirty attributes
|
2008-10-28 19:54:52 +11:00 |
|
Adam Meehan
|
cffb466e20
|
added refactoring to changelog
|
2008-09-24 21:48:43 +10:00 |
|
Adam Meehan
|
8f950d5ac6
|
refactored attribute write method definitions in single definition and added write_date_time_attribute method to unify value writing
|
2008-09-24 15:58:08 +10:00 |
|
Adam Meehan
|
1b1d17ebd8
|
updated changelog
|
2008-08-25 14:32:44 +10:00 |
|
Adam Meehan
|
f23d2a0c2d
|
fixed non-timezone write method not updating changed attributes hash
|
2008-08-25 14:30:36 +10:00 |
|
Adam Meehan
|
68e7adc028
|
more specific changes description
|
2008-08-22 15:20:33 +10:00 |
|
Adam Meehan
|
0ef34c7d28
|
parse_date_time method returns for date column to return Date object when assigned string as per normal Rails
parse_date_time method returns same object when assigned Date or Time object
|
2008-08-22 15:12:38 +10:00 |
|
Adam Meehan
|
aecaa7baca
|
silence migration in specs
|
2008-08-22 14:21:05 +10:00 |
|