0.3.0 / 2012-02-17¶ ↑
-
Require dm-core ~> 1.2.
-
Replaced
DataMapper::Resource::State::ReadOnly
withDataMapper::Is::ReadOnly::State
. -
Replaced
DataMapper::ReadOnlyError
withDataMapper::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 whenset
ordelete
are called. -
Fixed a bug where read-only resources with relationships were not being loaded.
0.1.1 / 2010-08-11¶ ↑
-
Override
saved?
inDataMapper::Resource
to always returntrue
, so that methods such assave_self
will also returntrue
. 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.