Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (26 loc) · 1.1 KB

ChangeLog.md

File metadata and controls

36 lines (26 loc) · 1.1 KB

0.3.0 / 2012-02-17

  • Require dm-core ~> 1.2.
  • Replaced DataMapper::Resource::State::ReadOnly with DataMapper::Is::ReadOnly::State.
  • Replaced DataMapper::ReadOnlyError with DataMapper::Is::ReadOnly::Error.

0.2.1 / 2011-03-23

  • Require dm-core ~> 1.0.

0.2.0 / 2010-11-05

  • Added DataMapper::Resource::State::ReadOnly:
    • Inherits from the Clean state.
    • Raises DataMapper::ReadOnlyError exceptions when set or delete are called.
  • Fixed a bug where read-only resources with relationships were not being loaded.

0.1.1 / 2010-08-11

  • Override saved? in DataMapper::Resource to always return true, so that methods such as save_self will also return true. This allows read-only models to be used in relationships with non-read-only models.

0.1.0 / 2010-06-08

  • Initial release.
    • Ignores auto-migrations on read-only Models.
    • Ignores auto-upgrades on read-only Models.
    • Puts all resources of a read-only Model into the Immutable state.
    • Supports the :migrations and :mutable options for selectively enabling migrations or mutability.