All Versions
44
Latest Version
Avg Release Cycle
197 days
Latest Release
721 days ago

Changelog History
Page 3

  • v3.0.6 Changes

    May 09, 2011
    • 🔌 Fix for AR type conversion for date columns when using plugin parser.
    • Add timeliness_type_cast_code for ORM specific type casting after parsing.
  • v3.0.5 Changes

    January 29, 2011
    • 📜 Fix for Conversion#parse when given nil value (closes issue #34)
  • v3.0.4 Changes

    January 22, 2011
    • Fix :between option which was being ignored (ebeigarts)
    • 🚚 Use class_attribute to remove deprecated class_inheritable_accessor
    • Namespace copied validator class to ActiveModel::Validations::Timeliness for :timeliness option
  • v3.0.3 Changes

    December 11, 2010
    • Fix validation of values which don't respond to to_date or to_time (renatoelias)
  • v3.0.2 Changes

    December 04, 2010
    • Fix AR multiparameter extension for Date columns
    • ⚡️ Update to Timeliness 0.3.2 for zone abbreviation and offset support
  • v3.0.1 Changes

    November 02, 2010
    • Generate timeliness write methods in an included module to allow overriding in model class (josevalim)
  • v3.0.0 Changes

    October 18, 2010
    • 🚅 Rails 3 and ActiveModel compatibility
    • Uses ActiveModel::EachValidator as validator base class.
    • 🔧 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.
    • Provides :timeliness option key for validates class method. Be sure to pass :type option as well e.g. :type => :date.
    • Allows validation methods to be called on record instances as per ActiveModel API.
    • Performs parsing (optional) and raw value caching (before_type_cast) on validated attributes only. It used to be all date, time and datetime attributes.
  • v2.3.1 Changes

    March 19, 2010
    • 🛠 Fixed bug where custom attribute writer method for date/times were being overriden
  • v2.3.0 Changes

    February 04, 2010
    • 🛠 Backwards incompatible change to :equal_to option. Fixed error message clash with :equal_to option which exists in Rails already. Option is now :is_at.
    • 🌐 Fixed I18n support so it returns missing translation message instead of error
    • 🛠 Fixed attribute method bug. Write method was bypassed when method was first generated and used Rails default parser.
    • Fixed date/time selects when using enable_datetime_select_extension! when some values empty
    • 🛠 Fixed ISO8601 datetime format which is now split into two formats
    • 0️⃣ Changed I18n error value format to fallback to global default if missing in locale
    • 🔨 Refactored date/time select invalid value extension to use param values. Functionality will be extracted from plugin for v3.
  • v2.2.2 Changes

    September 19, 2009
    • Fixed dummy_time using make_time to respect timezone. Fixes 1.9.1 bug.