Changeset [5c5690d41db698598bf061b7543386f2b7bf7c48] by Emmanuel Gomez

July 23rd, 2011 @ 08:26 PM

Rename Resource::State -> Resource::PersistenceState.

Also rename accessor: Resource#persisted_state -> #persistence_state and add previous accessor as a deprecated alias in dm-core/backwards.rb.
https://github.com/datamapper/dm-core/commit/5c5690d41db698598bf061...

Committed by Emmanuel Gomez

  • A lib/dm-core/backwards.rb
  • A lib/dm-core/resource/persistence_state.rb
  • A lib/dm-core/resource/persistence_state/clean.rb
  • A lib/dm-core/resource/persistence_state/deleted.rb
  • A lib/dm-core/resource/persistence_state/dirty.rb
  • A lib/dm-core/resource/persistence_state/immutable.rb
  • A lib/dm-core/resource/persistence_state/persisted.rb
  • A lib/dm-core/resource/persistence_state/transient.rb
  • R lib/dm-core/resource/state.rb
  • R lib/dm-core/resource/state/clean.rb
  • R lib/dm-core/resource/state/deleted.rb
  • R lib/dm-core/resource/state/dirty.rb
  • R lib/dm-core/resource/state/immutable.rb
  • R lib/dm-core/resource/state/persisted.rb
  • R lib/dm-core/resource/state/transient.rb
  • M lib/dm-core.rb
  • M lib/dm-core/associations/many_to_many.rb
  • M lib/dm-core/collection.rb
  • M lib/dm-core/model.rb
  • M lib/dm-core/model/property.rb
  • M lib/dm-core/model/relationship.rb
  • M lib/dm-core/resource.rb
  • M spec/semipublic/resource/state/clean_spec.rb
  • M spec/semipublic/resource/state/deleted_spec.rb
  • M spec/semipublic/resource/state/dirty_spec.rb
  • M spec/semipublic/resource/state/immutable_spec.rb
  • M spec/semipublic/resource/state/transient_spec.rb
  • M spec/semipublic/resource/state_spec.rb
  • M spec/semipublic/shared/resource_state_shared_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »