From: Leon Timmermans Date: Sat, 11 Aug 2012 11:24:40 +0000 (+0300) Subject: Add explicit dependency on Test::More 0.89 X-Git-Tag: v0.001005~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd634cf03d06dc913509202d66f089c7ab55200d;p=p5sagit%2FSub-Exporter-Progressive.git Add explicit dependency on Test::More 0.89 --- diff --git a/Changes b/Changes index 77b9698..9950071 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ - Add support for tags - Warn if defaults are not in exports + - Add explicit dependency on Test::More 0.89 0.001004 - 2012-08-09 - fix skipping when Sub::Exporter isn't installed diff --git a/Makefile.PL b/Makefile.PL index 5cd9f1f..9ed9552 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,7 +4,12 @@ use 5.008001; use ExtUtils::MakeMaker; (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; +my $key = eval { ExtUtils::MakeMaker->VERSION(6.56) } ? 'BUILD_REQUIRES' : 'PREREQ_PM' ; + WriteMakefile( NAME => 'Sub-Exporter-Progressive', VERSION_FROM => 'lib/Sub/Exporter/Progressive.pm', + $key => { + 'Test::More' => 0.89, + } ); diff --git a/t/all.t b/t/all.t index 9751d0e..2421633 100644 --- a/t/all.t +++ b/t/all.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More; +use Test::More 0.89; use List::Util 'first'; use lib 't/lib'; use A::JunkAll; diff --git a/t/basic.t b/t/basic.t index 5a841d1..b6937e6 100644 --- a/t/basic.t +++ b/t/basic.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More; +use Test::More 0.89; use List::Util 'first'; use lib 't/lib'; use A::Junk 'junk1'; diff --git a/t/default.t b/t/default.t index f7eb327..522bc22 100644 --- a/t/default.t +++ b/t/default.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More; +use Test::More 0.89; use List::Util 'first'; use lib 't/lib'; use A::Junk; diff --git a/t/sex.t b/t/sex.t index 103b0d1..7445705 100644 --- a/t/sex.t +++ b/t/sex.t @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More; +use Test::More 0.89; BEGIN { plan skip_all => 'Sub::Exporter not installed' unless eval { require Sub::Exporter };