SIGN IN SIGN UP

Replace Cache with Event object in callbacks (#45)

* Replace Cache with Event object in callbacks

Introduces FixtureKit::Event, which wraps the fixture and exposes
identifier (cache key) and path (source location of the definition
block). This gives callback subscribers the definition file path,
which was the original motivation for the change.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Rename Definition#source_location to Definition#path

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Remove unnecessary safe navigation in Definition#path

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
N
Ngan Pham committed
2c012a2c86998eb54ed6de26ea6b4bd1f3b6dc87
Parent: 26ac4ca
Committed by GitHub <noreply@github.com> on 4/7/2026, 3:38:38 PM