Closed whitequark closed 7 years ago
Oh, strange… the refactoring inside Nanoc (creating Nanoc::Pruner
) was not intended to be a breaking one. I’ll release 4.3.9 which adds Nanoc::Extra::Pruner
as an alias.
Nanoc::Extra::Pruner
alias is added in https://github.com/nanoc/nanoc/commit/14f662e9f1a58c3d49195c16511146a6289a8a1f.
What about the other bug?
Working on it!
@ddfreyne Looks like the culprit is this commit, which broke the API contract of Pruner: https://github.com/nanoc/nanoc/commit/86291cf7f27622916582e4aaace738bf9ef2b19f#diff-e4b217529af19acd7c22d317b1731556R186. So maybe it wasn't a good idea to expose it under Extras::Pruner after all.
Yep, just figured that out. The good news is that Pruner
is part of a private api (# @api private
), and that the compiler now takes care of pruning (which makes much more sense). The fix for guard-nanoc (which I’m working on right now) is to not prune explicitly.
Fixed (along with some other issues) in the newly released guard-nanoc 2.1.1.
Thanks!
First, Nanoc::Extra::Pruner got renamed to Nanoc::Pruner, which I've addressed here: https://github.com/whitequark/guard-nanoc/commit/3148c9c68934fbee2859aa801158c31d8e075f94.
But then it still crashes:
I don't have time right now to figure out why.