| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-14 | Use active DSL registry for Resource.find | Paul Buetow | |
| 2026-03-01 | refactor: replace ObjectSpace scan with inherited-hook registry | Paul Buetow | |
| ResourceDependencies#initialize iterated every live object in the Ruby heap (ObjectSpace.each_object(Class)) to discover Resource subclasses, which is O(heap), non-deterministic, and load-order-dependent (subclasses loaded after an instance was created were invisible to it). Add Resource.inherited + @@subclass_names so each subclass self-registers at load time. ResourceDependencies#initialize now just assigns the shared (frozen) registry reference instead of scanning ObjectSpace. Benefits: - O(1) constructor path instead of O(heap) - Load-order safe: new subclasses are visible to all instances immediately - Deterministic: set is built in require order, not GC-dependent order Also fix the "recource" typo in the ResourceDependencies comment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | |||
| 2026-03-01 | refactor: extract do? into DryRun concern module in resource.rb | Paul Buetow | |
| do? (dry-run-aware block execution) was sitting inside ResourceDependencies, which is responsible for dependency tracking — an SRP violation. Move it into its own DryRun module and include that in Resource alongside the existing concerns. No logic changed; all 29 tests continue to pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | |||
| 2025-02-26 | already done | Paul Buetow | |
| 2025-02-26 | rename dry? to do? | Paul Buetow | |
| 2025-02-19 | adding dry | Paul Buetow | |
| 2025-02-19 | fix | Paul Buetow | |
| 2025-02-19 | Paul Buetow | ||
| 2025-02-19 | nicer | Paul Buetow | |
| 2025-02-18 | refactor | Paul Buetow | |
| 2025-02-18 | backupping file when change | Paul Buetow | |
| 2025-02-17 | cache the resource objs | Paul Buetow | |
| 2025-02-17 | use a set | Paul Buetow | |
| 2025-02-17 | sugar | Paul Buetow | |
| 2025-02-17 | can detect dependency loop | Paul Buetow | |
| 2025-02-16 | can find resource objs | Paul Buetow | |
| 2025-02-16 | sugar | Paul Buetow | |
| 2025-02-16 | change foo[...] to foo(...) syntax for deps | Paul Buetow | |
| test deps | |||
| 2025-02-15 | better | Paul Buetow | |
| 2025-02-15 | can detect invalid resource names | Paul Buetow | |
| 2025-02-15 | add depends_on syntax | Paul Buetow | |
