Move pod tests to be author only
Tomas Doran [Sun, 24 Jan 2010 22:21:36 +0000 (22:21 +0000)]
MANIFEST
META.yml
Makefile.PL
t/author/pod-coverage.t [new file with mode: 0644]
t/author/pod.t [new file with mode: 0644]
t/pod-coverage.t [deleted file]
t/pod.t [deleted file]

index b0f7fab..acea10d 100644 (file)
--- 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
index bcf5da1..44d41f3 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -2,8 +2,13 @@
 abstract: 'Use subincludes in your Catalyst views'
 author:
   - 'Nilson Santos Figueiredo Junior, C<< <nilsonsfj at cpan.org> >>'
+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/
index 1151ee7..b45f639 100644 (file)
@@ -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 (file)
index 0000000..d58f174
--- /dev/null
@@ -0,0 +1,5 @@
+#!perl -T\r
+\r
+use Test::More;\r
+use Test::Pod::Coverage 1.04;\r
+all_pod_coverage_ok();\r
diff --git a/t/author/pod.t b/t/author/pod.t
new file mode 100644 (file)
index 0000000..8c67b5c
--- /dev/null
@@ -0,0 +1,5 @@
+#!perl -T\r
+\r
+use Test::More;\r
+use Test::Pod 1.14;\r
+all_pod_files_ok();\r
diff --git a/t/pod-coverage.t b/t/pod-coverage.t
deleted file mode 100644 (file)
index 96d1c52..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!perl -T\r
-\r
-use Test::More;\r
-eval "use Test::Pod::Coverage 1.04";\r
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;\r
-all_pod_coverage_ok();\r
diff --git a/t/pod.t b/t/pod.t
deleted file mode 100644 (file)
index f062570..0000000
--- a/t/pod.t
+++ /dev/null
@@ -1,6 +0,0 @@
-#!perl -T\r
-\r
-use Test::More;\r
-eval "use Test::Pod 1.14";\r
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;\r
-all_pod_files_ok();\r