yard-fence v0.8.2 released!
0.8.2 - 2025-12-30
- TAG: v0.8.2
- COVERAGE: 100.00% – 130/130 lines in 4 files
- BRANCH COVERAGE: 100.00% – 40/40 branches in 4 files
- 50.00% documented
Added
Yard::Fence::RakeTask- New rake task class that providesyard:fence:prepareandyard:fence:cleantasks- Automatically enhances the
:yardtask when defined - Auto-registers when Rake is available at gem load time
- Automatically enhances the
Yard::Fence.prepare_for_yard- New method to prepare for YARD documentation generation- Combines
clean_docs_directoryandprepare_tmp_filesinto a single call - Intended to be called from rake tasks, not at load time
- Combines
Deprecated
Yard::Fence.at_load_hook- Now does nothing; useprepare_for_yardvia rake task instead
Removed
- BREAKING: Removed load-time execution of
clean_docs_directoryandprepare_tmp_files- Previously, these ran when yard-fence was loaded, causing
docs/to be cleared during unrelated rake tasks likebuildandrelease - Now all preparation happens via the
yard:fence:preparerake task, which runs as a prerequisite to the:yardtask
- Previously, these ran when yard-fence was loaded, causing
Fixed
- Fixed
docs/directory being cleared duringrake buildandrake releasecommands- The root cause was
at_load_hookrunning at gem load time instead of only when generating documentation - Now docs cleanup and tmp file preparation only occur when the
yardtask actually runs
- The root cause was
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?