Sha256: 8e26c4c48aecab4013cf864604cb454c48d19227a1d98313d194fd82c8b64109

Contents?: true

Size: 884 Bytes

Versions: 1

Compression:

Stored size: 884 Bytes

Contents

## Released

## [0.0.2] - 2024-12-23

### Added
- Single Table Inheritance (STI) support for custom state types
- Ability to create custom state classes by inheriting from `HasStates::Base`
- Default state class `HasStates::State` for basic state management
- Example implementation of custom state types in documentation

### Changed
- Refactored base state functionality into `HasStates::Base`
- Updated `add_state` method to support custom state classes
- Improved test coverage for inheritance and custom state types

## [0.0.3] - 2024-01-14

- Adding current_state method
- Adding DB indexes for state lookups
- Adding query methods for state types on stateable (`stateable.state_type` and `stateable.state_types`)

## [0.0.2] - 2024-12-23

- Added test coverage
- Refactor of State model into a inheritable Base class

## [0.0.1] - 2024-12-21

- Initial release
- See READme.md

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stateful_models-0.0.3 CHANGELOG.md