X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Makefile.PL;h=2c383397ec55ac9209e8cf0e34676bb0f940a2ba;hp=f2c36be713d655df60e3ed46fcc90a3ae69e21d5;hb=b553e30c12cade787e4c26ca54f19983577bdb30;hpb=bd6de1abdcd934c66d49b609d599cd7e5d25a45a diff --git a/Makefile.PL b/Makefile.PL index f2c36be..2c38339 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,11 +8,10 @@ all_from 'lib/Catalyst/Runtime.pm'; requires 'namespace::clean'; requires 'Scope::Upper' => '0.06'; requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00801'; -requires 'Moose' => '0.73'; -requires 'MooseX::MethodAttributes::Inheritable' => '0.06'; +requires 'Moose' => '0.76'; +requires 'MooseX::MethodAttributes::Inheritable' => '0.09'; requires 'Carp'; requires 'Class::C3::Adopt::NEXT' => '0.07'; -requires 'Class::MOP' => '0.79'; requires 'CGI::Simple::Cookie'; requires 'Data::Dump'; requires 'File::Modified'; @@ -21,7 +20,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'; @@ -40,17 +39,16 @@ 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 @@ -107,6 +105,8 @@ 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',