Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-ReadmeAnyFromPod CPAN distribution.

Report information
The Basics
Id: 91146
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-ReadmeAnyFromPod

People
Owner: Nobody in particular
Requestors: Support [...] RoxSoft.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.133360
Fixed in: (no value)



Subject: Undeclared test dependency on Path::Class 0.26
The test script rootprune.t uses the Path::Class::File method spew. This was not added to Path::Class until version 0.26
On Tue Dec 03 07:20:49 2013, PJFL wrote: Show quoted text
> The test script rootprune.t uses the Path::Class::File method spew. > This was not added > to Path::Class until version 0.26
Hmm. Thank you for reporting. Dist::Zilla is the one that requires Path::Class, but I guess since my code is using the spew method my module is the one that needs to declare the version dependency, even though my code doesn't directly require Path::Class?
Alternately, you could use the spew* interfaces in Path::Tiny (since you are already using PT in this distribution), which will also bypass the encoding issues in Path::Class ;)
Le 2013-12-03 19:39:06, RTHOMPSON a écrit : [...] Show quoted text
> but I guess since my code is using the spew method my > module is the one that needs to declare the version dependency, even > though my code doesn't directly require Path::Class?
Yes! -- Olivier Mengué - http://perlresume.org/DOLMEN
On Tue Jun 24 13:38:21 2014, DOLMEN wrote: Show quoted text
> Le 2013-12-03 19:39:06, RTHOMPSON a écrit : > [...]
> > but I guess since my code is using the spew method my > > module is the one that needs to declare the version dependency, even > > though my code doesn't directly require Path::Class?
> > Yes!
Ok, I implemented ETHER's suggestion of using Path::Tiny instead in 67e59c7. https://github.com/DarwinAwardWinner/Dist-Zilla-Plugin-ReadmeAnyFromPod/commit/67e59c71a4844d67bf2806640e13bc3e5a47d440