Skip Menu |

This queue is for tickets about the Dist-Zilla-PluginBundle-Author-RWSTAUNER CPAN distribution.

Report information
The Basics
Id: 115387
Status: resolved
Priority: 0/
Queue: Dist-Zilla-PluginBundle-Author-RWSTAUNER

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 4.212
Fixed in: (no value)



Subject: Can't locate object method "subdir" via package "Path::Tiny"
http://www.cpantesters.org/cpan/report/70093953 Can't locate object method "subdir" via package "Path::Tiny" at t/mint.t line 39. t/mint.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Involved line: my $mint_dir = $tzil->tempdir->subdir('mint'); https://metacpan.org/source/RWSTAUNER/Dist-Zilla-PluginBundle-Author-RWSTAUNER-4.212/t/mint.t#L39 At which point I give up and leave it to you. Let me know if you have further questions. Best,
Show quoted text
> my $mint_dir = $tzil->tempdir->subdir('mint');
This needs to become: path($tzil->tempdir)->child('mint'); $tzil->tempdir switched from being a Path::Class to a Path::Tiny in Dist::Zilla 6.000. To remain backwards compatible, ensure it is a Path::Tiny first.
Thanks! Dist::Zilla must have changed from Path::Class to Path::Tiny while I wasn't looking ;-) New release is on its way.
On Thu Jun 16 20:12:44 2016, ETHER wrote: Show quoted text
>
> > my $mint_dir = $tzil->tempdir->subdir('mint');
> > This needs to become: path($tzil->tempdir)->child('mint'); > > $tzil->tempdir switched from being a Path::Class to a Path::Tiny in > Dist::Zilla 6.000. To remain backwards compatible, ensure it is a > Path::Tiny first.
Thanks! I almost did it wrong, but I did settle on this method before committing ;-)