mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
add changelog entry about removing RSpec matcher
This commit is contained in:
parent
a0eb38dbc8
commit
cc96cbd9a7
@ -4,6 +4,7 @@
|
||||
- Configuration settings stored in ValidatesTimeliness module only. ValidatesTimeliness.setup block to configure.
|
||||
- Parser extracted to the Timeliness gem http://github.com/adzap/timeliness
|
||||
- Parser is disabled by default. See initializer for enabling it.
|
||||
- Removed RSpec matcher. Encouraged poor specs by copy-pasting from spec to model, or worse, the other way round.
|
||||
- Method override for parsing and before type cast values is on validated attributes only. Old version handled all date/datetime columns, validates or not. Too intrusive.
|
||||
- Add validation helpers to classes using extend_orms config setting. e.g. conf.extend_orms = [ :active_record ]
|
||||
- Changed :between option so it is split into :on_or_after and :on_or_before option values. The error message for either failing check will be used instead of a between error message.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user