X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Makefile.PL;h=ccee09bbd25b66343f698a0a15da4f6306a7fa77;hp=bc865177dc86eb3e752e1d1bb6eedd472f8f660e;hb=683d672bda70d0e1297bb8e4695df2b370f8b9a3;hpb=6597dbcb7238d605ba80b726f6c5c0f9a13b8fa4 diff --git a/Makefile.PL b/Makefile.PL index bc86517..ccee09b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,8 +7,9 @@ all_from 'lib/Catalyst/Runtime.pm'; requires 'namespace::clean'; requires 'Scope::Upper' => '0.06'; -requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00800'; +requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00801'; requires 'Moose' => '0.73'; +requires 'MooseX::MethodAttributes::Inheritable' => '0.08'; requires 'Carp'; requires 'Class::C3::Adopt::NEXT' => '0.07'; requires 'Class::MOP' => '0.79'; @@ -20,7 +21,7 @@ requires 'HTTP::Body' => '1.04'; # makes uploadtmp work requires 'HTTP::Headers' => '1.64'; requires 'HTTP::Request'; requires 'HTTP::Response'; -requires 'HTTP::Request::AsCGI' => '0.5'; +requires 'HTTP::Request::AsCGI' => '0.8'; requires 'LWP::UserAgent'; requires 'Module::Pluggable' => '3.01'; requires 'Path::Class' => '0.09'; @@ -39,21 +40,20 @@ recommends 'B::Hooks::OP::Check::StashChange'; test_requires 'Class::Data::Inheritable'; test_requires 'Test::MockObject'; -# Run aggregate tests if AGGREGATE_TESTS environment = 1, but not if it = 0 -# Otherwise default to using Test::Aggregate if installed, but not requiring it. -if ( ( exists $ENV{AGGREGATE_TESTS} && !$ENV{AGGREGATE_TESTS}) - || (!exists $ENV{AGGREGATE_TESTS} && !can_use('Test::Aggregate', '0.34_01'))) { +# aggregate tests if AGGREGATE_TESTS is set and a recent Test::Aggregate is available +if ($ENV{AGGREGATE_TESTS} && can_use('Test::Aggregate', '0.34_01')) { + test_requires('Test::Aggregate', '0.34_01'); +} +else { tests join q{ }, grep { $_ ne 't/aggregate.t' } map { glob } qw[t/*.t t/aggregate/*.t]; } -else { - test_requires('Test::Aggregate', '0.34_01'); -} + my @force_build_requires_if_author = qw( - Test::NoTabs - Test::Pod - Test::Pod::Coverage + Test::NoTabs + Test::Pod + Test::Pod::Coverage Pod::Coverage ); @@ -106,6 +106,9 @@ EOF # NOTE - This is the version number of the _incompatible_ code, # not the version number of the fixed version. my %conflicts = ( + 'Catalyst::Plugin::ConfigLoader' => '0.22', # Older versions work but + # throw Data::Visitor warns + 'Catalyst::Devel' => '0.09', 'Catalyst::Plugin::SmartURI' => '0.029', 'CatalystX::CRUD' => '0.37', 'Catalyst::Action::RenderView' => '0.07', @@ -113,6 +116,7 @@ my %conflicts = ( 'Catalyst::Plugin::Authentication' => '0.100091', 'CatalystX::Imports' => '0.03', 'Catalyst::Plugin::HashedCookies' => '1.03', + 'Catalyst::Action::REST' => '0.67', ); check_conflicts(%conflicts);