Sha256: 4895137f940a3d2837c9970a785e3a14abd80b37132bc8c488ec918255898b6f

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

### 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.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dm-is-read_only-0.3.0 ChangeLog.md