Skip Menu |

This queue is for tickets about the MooseX-Attribute-Dependent CPAN distribution.

Report information
The Basics
Id: 113599
Status: resolved
Priority: 0/
Queue: MooseX-Attribute-Dependent

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

Bug Information
Severity: (no value)
Broken in: 1.1.2
Fixed in: 1.1.3



Subject: MooseX-Attribute-Dependent-1.1.2 fails with Moose 2.1701-TRIAL
Tests fail like this: ... # Failed test 'city and zip are required' # at t/others.t line 24. # expecting: Regexp ((?-xism:city)) # found: Can't call method "List::MoreUtils::all" without a package or object reference at /tmpfs/.cpan-build-cpansand/2016040715/MooseX-Attribute-Dependent-1.1.2-VFgjk2/blib/lib/MooseX/Attribute/Dependency.pm line 56. ... Please note that Moose does not depend anymore on List::MoreUtils.
On 2016-04-07 10:32:43, SREZIC wrote: Show quoted text
> Tests fail like this: > > ... > # Failed test 'city and zip are required' > # at t/others.t line 24. > # expecting: Regexp ((?-xism:city)) > # found: Can't call method "List::MoreUtils::all" without a package or > object reference at /tmpfs/.cpan-build-cpansand/2016040715/MooseX- > Attribute-Dependent-1.1.2- > VFgjk2/blib/lib/MooseX/Attribute/Dependency.pm line 56. > ... > > Please note that Moose does not depend anymore on List::MoreUtils.
List::Util contains 'all' now, so you should just use that. (and please include it in the prereq specification.)
I've created a PR on github to address this: https://github.com/monken/p5-moosex-attribute-dependent/pull/3 I just added a dependency on List::MoreUtils to keep the changes minimal for now. Hopefully the author responds. This dist hasn't been updated in 5 years and the authors last CPAN upload was over 2 years ago so not sure if the author is still active on CPAN or not. Would love to see this fixed soon! -- Regards, Michael Schout
v1.1.3 has just been uploaded to CPAN which fixes this issue. -- Regards, Michael Schout
Marking resolved -- 1.1.3 has shipped.