From: Dave Rolsky Date: Wed, 16 Jan 2013 18:03:22 +0000 (-0600) Subject: Fix bad prereqs and make sure we explicitly ask for module versions we need X-Git-Tag: v0.18~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Params-Validate.git;a=commitdiff_plain;h=bde73fccbc31ff8b472146773a49d566d14e80df;hp=678dd4de32f416905c50a5b46bbc913208837418 Fix bad prereqs and make sure we explicitly ask for module versions we need --- diff --git a/dist.ini b/dist.ini index 3f7748a..e1be5d4 100644 --- a/dist.ini +++ b/dist.ini @@ -35,5 +35,6 @@ repository.type = git [Test::Pod::No404s] [AutoPrereqs] +skip = ^Roles::Blah$ [@Git] diff --git a/lib/MooseX/Params/Validate.pm b/lib/MooseX/Params/Validate.pm index c2f691b..881caed 100644 --- a/lib/MooseX/Params/Validate.pm +++ b/lib/MooseX/Params/Validate.pm @@ -7,8 +7,10 @@ use Carp 'confess'; use Devel::Caller 'caller_cv'; use Scalar::Util 'blessed', 'refaddr', 'reftype'; -use Moose::Util::TypeConstraints qw( find_type_constraint class_type role_type ); -use Params::Validate (); +use Moose 0.58 (); +use Moose::Util::TypeConstraints + qw( find_type_constraint class_type role_type ); +use Params::Validate 0.88 (); use Sub::Exporter -setup => { exports => [ qw( validated_hash validated_list pos_validated_list validate validatep ) diff --git a/t/001_basic.t b/t/001_basic.t index 13ecee0..b5787ca 100644 --- a/t/001_basic.t +++ b/t/001_basic.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More; +use Test::More 0.88; use Test::Fatal; {