From: Tomas Doran Date: Sun, 24 Jan 2010 22:21:36 +0000 (+0000) Subject: Move pod tests to be author only X-Git-Tag: 0.07_01~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-View-Component-SubInclude.git;a=commitdiff_plain;h=09b238b37e903de72e44c5e730e368690a54f373 Move pod tests to be author only --- diff --git a/MANIFEST b/MANIFEST index b0f7fab..acea10d 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,6 +1,8 @@ Changes inc/Module/AutoInstall.pm inc/Module/Install.pm +inc/Module/Install/AuthorRequires.pm +inc/Module/Install/AuthorTests.pm inc/Module/Install/AutoInstall.pm inc/Module/Install/Base.pm inc/Module/Install/Can.pm @@ -18,7 +20,13 @@ lib/Catalyst/View/Component/SubInclude/Visit.pm Makefile.PL MANIFEST This list of files META.yml -t/00-load.t -t/pod-coverage.t -t/pod.t README +t/00-load.t +t/author/pod-coverage.t +t/author/pod.t +t/lib/ESITest.pm +t/lib/ESITest/Controller/Root.pm +t/lib/ESITest/root/index.tt +t/lib/ESITest/root/time_include.tt +t/lib/ESITest/View/TT.pm +t/script/esitest_server.pl diff --git a/META.yml b/META.yml index bcf5da1..44d41f3 100644 --- a/META.yml +++ b/META.yml @@ -2,8 +2,13 @@ abstract: 'Use subincludes in your Catalyst views' author: - 'Nilson Santos Figueiredo Junior, C<< >>' +build_requires: + Catalyst::View::TT: 0 + ExtUtils::MakeMaker: 6.42 +configure_requires: + ExtUtils::MakeMaker: 6.42 distribution_type: module -generated_by: 'Module::Install version 0.79' +generated_by: 'Module::Install version 0.910' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -16,10 +21,9 @@ no_index: requires: Carp: 0 Catalyst::Plugin::SubRequest: 0 - Catalyst::Runtime: 5.70000 + Catalyst::Runtime: 5.80014 Moose: 0 Moose::Role: 0 - Task::Weaken: 0 namespace::clean: 0 resources: license: http://dev.perl.org/licenses/ diff --git a/Makefile.PL b/Makefile.PL index 1151ee7..b45f639 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,8 @@ -# IMPORTANT: if you delete this file your app will not work as -# expected. you have been warned -use inc::Module::Install; +use strict; +use warnings; +use inc::Module::Install 0.91; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; name 'Catalyst-View-Component-SubInclude'; all_from 'lib/Catalyst/View/Component/SubInclude.pm'; @@ -14,6 +16,10 @@ requires 'namespace::clean'; test_requires 'Catalyst::View::TT'; +author_requires 'Test::Pod::Coverage' => '1.04'; +author_requires 'Test::Pod' => '1.14'; +author_tests 't/author'; + catalyst; auto_install; diff --git a/t/author/pod-coverage.t b/t/author/pod-coverage.t new file mode 100644 index 0000000..d58f174 --- /dev/null +++ b/t/author/pod-coverage.t @@ -0,0 +1,5 @@ +#!perl -T + +use Test::More; +use Test::Pod::Coverage 1.04; +all_pod_coverage_ok(); diff --git a/t/author/pod.t b/t/author/pod.t new file mode 100644 index 0000000..8c67b5c --- /dev/null +++ b/t/author/pod.t @@ -0,0 +1,5 @@ +#!perl -T + +use Test::More; +use Test::Pod 1.14; +all_pod_files_ok(); diff --git a/t/pod-coverage.t b/t/pod-coverage.t deleted file mode 100644 index 96d1c52..0000000 --- a/t/pod-coverage.t +++ /dev/null @@ -1,6 +0,0 @@ -#!perl -T - -use Test::More; -eval "use Test::Pod::Coverage 1.04"; -plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@; -all_pod_coverage_ok(); diff --git a/t/pod.t b/t/pod.t deleted file mode 100644 index f062570..0000000 --- a/t/pod.t +++ /dev/null @@ -1,6 +0,0 @@ -#!perl -T - -use Test::More; -eval "use Test::Pod 1.14"; -plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; -all_pod_files_ok();