X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=6957a7d7858f9d3f22631b057f03672b3396be0b;hb=7f21ab5a1e8e12603094f74a79bd86715fe0d2db;hp=6f56619e05a02eaf638a42102194c3cabffb4494;hpb=399f35008260625b5e127628e0c3e80c3b145cfe;p=gitmo%2FMooseX-Storage.git diff --git a/Makefile.PL b/Makefile.PL index 6f56619..6957a7d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,38 +1,57 @@ # Load the Module::Install bundled in ./inc/ -use inc::Module::Install; +use inc::Module::Install 0.75; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; # Define metadata name 'MooseX-Storage'; all_from 'lib/MooseX/Storage.pm'; # Specific dependencies -requires 'Moose' => '0.20'; +requires 'Moose' => '0.99'; +requires 'String::RewritePrefix'; + +author_requires 'Test::Without::Module'; # you should have at least one # serialization format +auto_install; # Needed for features to work. RT#67170 feature 'JSON', -default => 1, - 'JSON::Any' => '0.1', - 'Test::JSON' => '0'; + 'JSON::Any' => '1.15', + 'Test::JSON' => '0.06'; + +author_requires 'JSON::Any' => '1.15'; +author_requires 'Test::JSON' => '0.06'; feature 'YAML', -default => 1, - 'Best' => '0.1', - 'Test::YAML::Valid' => '0'; + 'YAML::Any' => '0'; +author_requires 'YAML::Any'; feature 'Storable', -default => 1, 'Storable' => '0'; +author_requires 'Storable'; # and the ability to save the # file to disk feature 'File', -default => 1, 'IO::File' => '0.1'; +author_requires 'IO::File' => '0.1'; + +author_tests 't/author'; -build_requires 'Test::More' => '0.42'; +build_requires 'Test::More' => '0.88'; +build_requires 'Test::Deep' => '0'; +build_requires 'Test::Fatal' => '0'; +build_requires 'Test::Requires' => '0.05'; -no_index 'directory' => 'ex'; +author_requires 'Test::Pod' => '1.14'; +author_requires 'Test::Pod::Coverage' => '1.08'; + +resources repository => 'git://git.moose.perl.org/MooseX-Storage.git'; -auto_install; WriteAll; +