Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepingkingstudios committed Nov 28, 2023
1 parent 9d1a784 commit ecb1fb4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,26 @@
Implemented `Cuprum::Collections::Association`, which represents an association between entity types.

- Implemented `Cuprum::Collections::Associations::BelongsTo`.
- Implemented `Cuprum::Collections::Associations::HasMany`.
- Implemented `Cuprum::Collections::Associations::HasOne`.

### Collections

Defined standard interface for collections.

- Implemented `Cuprum::Collections::Collection`.
- Collections can now be initialized with any combination of collection name and entity class.
- Collections can now be initialized with any combination of collection name, entity class, and qualified name.

Updated `Cuprum::Collections::Basic::Collection`.

- Implemented `#count` method.
- Implemented `#qualified_name` method.

Deprecated certain collection methods and corresponding constructor keywords:

- `#collection_name`: Use `#name`.
- `#member_name`: Use `#singular_name`.

### Commands

Implemented built-in Commands, which take a `:collection` parameter:
Expand Down Expand Up @@ -49,6 +56,10 @@ Defined standard interface for repositories.

Defined `Cuprum::Collections::Resource`, representing a singular or plural resource of entities.

### RSpec

- **(Breaking Change)** Contracts have been refactored to use `RSpec::SleepingKingStudios::Contract`. Contract names and filenames have changed.

## 0.2.0

Implemented `Cuprum::Collections::Repository`.
Expand Down

0 comments on commit ecb1fb4

Please sign in to comment.