From: Tomas Doran Date: Sun, 22 Mar 2009 02:19:44 +0000 (+0000) Subject: Make tests local::lib compatible, remove generated files X-Git-Tag: 0.030~53 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-WrapCGI.git;a=commitdiff_plain;h=ac41c40be89a8406381b1e957db11d35a3bcbf2f Make tests local::lib compatible, remove generated files --- diff --git a/Changes b/Changes index 3986d0d..d60bdc8 100644 --- a/Changes +++ b/Changes @@ -14,3 +14,8 @@ Revision history for Catalyst-Controller-WrapCGI 0.0025 2009-01-09 14:59:20 Tell Static::Simple to ignore root/cgi-bin for C::C::CGIBin + +0.0026 UNRELEASED + Stop storing generated files in SVN and add svn:ignore. + Remove taint from tests as this breaks in a local::lib environment + as PERL5LIB is stripped. diff --git a/MANIFEST b/MANIFEST deleted file mode 100644 index 656ad7d..0000000 --- a/MANIFEST +++ /dev/null @@ -1,31 +0,0 @@ -Changes -inc/Module/AutoInstall.pm -inc/Module/Install.pm -inc/Module/Install/AutoInstall.pm -inc/Module/Install/Base.pm -inc/Module/Install/Can.pm -inc/Module/Install/Fetch.pm -inc/Module/Install/Include.pm -inc/Module/Install/Makefile.pm -inc/Module/Install/Metadata.pm -inc/Module/Install/Win32.pm -inc/Module/Install/WriteAll.pm -lib/Catalyst/Controller/CGIBin.pm -lib/Catalyst/Controller/WrapCGI.pm -lib/CatalystX/GlobalContext.pm -Makefile.PL -MANIFEST -META.yml -README -t/00-load.t -t/boilerplate.t -t/cgibin.t -t/global-context.t -t/lib/TestApp.pm -t/lib/TestApp/Controller/Root.pm -t/lib/TestCGIBin.pm -t/lib/TestCGIBin/Controller/CGIHandler.pm -t/lib/TestCGIBin/root/cgi-bin/path/test.pl -t/lib/TestCGIBin/root/cgi-bin/test.sh -t/pod.t -t/wrap-cgi.t diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP new file mode 100644 index 0000000..10378bb --- /dev/null +++ b/MANIFEST.SKIP @@ -0,0 +1,41 @@ +# Avoid version control files. +\bRCS\b +\bCVS\b +,v$ +\B\.svn\b + +# Avoid Makemaker generated and utility files. +\bMakefile$ +\bblib +\bMakeMaker-\d +\bpm_to_blib$ +\bblibdirs$ +^MANIFEST\.SKIP$ + +# Avoid Module::Build generated and utility files. +\bBuild$ +\b_build + +# Avoid temp and backup files. +~$ +\.tmp$ +\.old$ +\.bak$ +\#$ +\b\.# +\.DS_Store$ + +# Avoid Apache::Test files +t/conf/apache_test_config.pm +t/conf/extra.conf$ +t/conf/httpd.conf +t/conf/mime.types +t/htdocs +t/logs +t/var + +# No tarballs! +\.gz$ + +# Skip the roadmap +lib/Catalyst/ROADMAP.pod diff --git a/META.yml b/META.yml deleted file mode 100644 index cb4a0fa..0000000 --- a/META.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -abstract: 'Run CGIs in Catalyst' -author: - - 'Matt S. Trout ' -build_requires: - Catalyst::Plugin::Static::Simple: 0 - Test::More: 0 -distribution_type: module -generated_by: 'Module::Install version 0.78' -license: perl -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 -name: Catalyst-Controller-WrapCGI -no_index: - directory: - - inc - - t -requires: - Catalyst: 5.7007 - Class::C3: 0 - File::Find::Rule: 0 - File::Slurp: 0 - HTTP::Request::AsCGI: 0 - List::MoreUtils: 0 - Task::Weaken: 0 - URI: 0 - namespace::clean: 0 - parent: 0 -resources: - license: http://dev.perl.org/licenses/ -version: 0.0026 diff --git a/t/00-load.t b/t/00-load.t index bdb1a62..2355173 100644 --- a/t/00-load.t +++ b/t/00-load.t @@ -1,4 +1,4 @@ -#!perl -T +#!perl use Test::More tests => 3; diff --git a/t/global-context.t b/t/global-context.t index d925502..bc3238d 100644 --- a/t/global-context.t +++ b/t/global-context.t @@ -1,4 +1,4 @@ -#!perl -T +#!perl use strict; use warnings;