From: Dave Rolsky Date: Sun, 19 Feb 2012 23:52:16 +0000 (-0600) Subject: s/Version::Requirements/CPAN::Meta::Requirements/g X-Git-Tag: 2.0500~91 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ebf2c009f0d1009cb0bef0179b297ba043c47e9;p=gitmo%2FMoose.git s/Version::Requirements/CPAN::Meta::Requirements/g --- diff --git a/inc/RequireAuthorDeps.pm b/inc/RequireAuthorDeps.pm index 3858bfc..896fb0e 100644 --- a/inc/RequireAuthorDeps.pm +++ b/inc/RequireAuthorDeps.pm @@ -3,8 +3,8 @@ package inc::RequireAuthorDeps; use Class::Load qw(load_class); use Moose; +use CPAN::Meta::Requirements; use Try::Tiny; -use Version::Requirements; with 'Dist::Zilla::Role::BeforeRelease'; @@ -12,7 +12,7 @@ sub before_release { my $self = shift; $self->log("Ensuring all author dependencies are installed"); - my $req = Version::Requirements->new; + my $req = CPAN::Meta::Requirements->new; my $prereqs = $self->zilla->prereqs; for my $phase (qw(build test configure runtime develop)) {