r76274 - in /trunk/libcgi-application-perl: debian/ debian/components/f/ debian/components/sc/ f/ sc/ sc/lib/ sc/lib/CGI/ sc/lib/CGI/Application/ sc/lib/CGI/Application/Standard/ sc/t/
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Wed Jun 22 15:43:17 UTC 2011
Author: periapt-guest
Date: Wed Jun 22 15:43:15 2011
New Revision: 76274
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76274
Log:
* Added ErrorPage, Redirect and Standard::Config plugins as components
- Added dependencies on libcgi-psgi-perl
Added:
trunk/libcgi-application-perl/debian/components/sc/
trunk/libcgi-application-perl/debian/components/sc/watch
trunk/libcgi-application-perl/sc/
trunk/libcgi-application-perl/sc/Build.PL
trunk/libcgi-application-perl/sc/Changes
trunk/libcgi-application-perl/sc/MANIFEST
trunk/libcgi-application-perl/sc/META.yml
trunk/libcgi-application-perl/sc/Makefile.PL
trunk/libcgi-application-perl/sc/README
trunk/libcgi-application-perl/sc/lib/
trunk/libcgi-application-perl/sc/lib/CGI/
trunk/libcgi-application-perl/sc/lib/CGI/Application/
trunk/libcgi-application-perl/sc/lib/CGI/Application/Standard/
trunk/libcgi-application-perl/sc/lib/CGI/Application/Standard/Config.pm
trunk/libcgi-application-perl/sc/t/
trunk/libcgi-application-perl/sc/t/00-load.t
trunk/libcgi-application-perl/sc/t/boilerplate.t
trunk/libcgi-application-perl/sc/t/pod-coverage.t
trunk/libcgi-application-perl/sc/t/pod.t
Removed:
trunk/libcgi-application-perl/debian/components/f/
trunk/libcgi-application-perl/f/
Modified:
trunk/libcgi-application-perl/debian/changelog
trunk/libcgi-application-perl/debian/control
trunk/libcgi-application-perl/debian/update.sh
Modified: trunk/libcgi-application-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/debian/changelog?rev=76274&op=diff
==============================================================================
--- trunk/libcgi-application-perl/debian/changelog (original)
+++ trunk/libcgi-application-perl/debian/changelog Wed Jun 22 15:43:15 2011
@@ -7,12 +7,11 @@
* New upstream release
* Raised standards version to 3.9.2
* Added debian/source/format
- * Added ErrorPage, Redirect and Forward plugins as components
+ * Added ErrorPage, Redirect and Standard::Config plugins as components
* Updated dependencies
- Removed versioning where not required
- Added Breaks and Replaces clauses
- - Added dependencies on libcgi-psgi-perl and
- libcgi-application-plugin-autorun-mode-perl
+ - Added dependencies on libcgi-psgi-perl
* Added patches for spelling errors
* Email change: Shell Hung -> shell at debian.org
* Email change: Ansgar Burchardt -> ansgar at debian.org
Added: trunk/libcgi-application-perl/debian/components/sc/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/debian/components/sc/watch?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/debian/components/sc/watch (added)
+++ trunk/libcgi-application-perl/debian/components/sc/watch Wed Jun 22 15:43:15 2011
@@ -1,0 +1,2 @@
+version=3
+http://search.cpan.org/dist/CGI-Application-Standard-Config/ .*/CGI-Application-Standard-Config-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
Modified: trunk/libcgi-application-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/debian/control?rev=76274&op=diff
==============================================================================
--- trunk/libcgi-application-perl/debian/control (original)
+++ trunk/libcgi-application-perl/debian/control Wed Jun 22 15:43:15 2011
@@ -9,8 +9,7 @@
Build-Depends: debhelper (>= 8)
Build-Depends-Indep: perl, libhtml-template-perl,
libclass-isa-perl | perl (<< 5.10.1-13), pkg-components (>= 0.2),
- libparams-validate-perl, libcgi-psgi-perl,
- libcgi-application-plugin-autorunmode-perl
+ libparams-validate-perl, libcgi-psgi-perl
Standards-Version: 3.9.2
Homepage: http://search.cpan.org/dist/CGI-Application/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcgi-application-perl/
@@ -20,8 +19,7 @@
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libparams-validate-perl,
libclass-isa-perl | perl (<< 5.10.1-13)
-Suggests: libhtml-template-perl, libcgi-application-plugin-autorunmode-perl,
- libcgi-psgi-perl
+Suggests: libhtml-template-perl, libcgi-psgi-perl
Breaks: libcgi-application-basic-plugin-bundle-perl (<< 0.6),
libcgi-application-plugins-perl (<< 0.11)
Replaces: libcgi-application-basic-plugin-bundle-perl (<< 0.6),
@@ -39,4 +37,4 @@
.
CGI::Application::Plugin::Redirect - external header based redirects
.
- CGI::Application::Plugin::Forward - pass control from one run mode to another
+ CGI::Application::Standard::Config - defines a standard interface for config
Modified: trunk/libcgi-application-perl/debian/update.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/debian/update.sh?rev=76274&op=diff
==============================================================================
--- trunk/libcgi-application-perl/debian/update.sh (original)
+++ trunk/libcgi-application-perl/debian/update.sh Wed Jun 22 15:43:15 2011
@@ -7,7 +7,7 @@
PACKAGE=libcgi-application-perl
VERSION=4.50
REDIRECT_VERS=1.00
-FORWARD_VERS=1.06
+STDCFG_VERS=1.06
ERROR_VERS=1.21
FD=--force-download
NS=--no-symlink
@@ -24,19 +24,19 @@
uscan ${FD} ${RE} ${DD} && true;
uscan ${DC}/ep/watch ${FD} ${NS} ${DD} ${US} ${ERROR_VERS} && true;
uscan ${DC}/r/watch ${FD} ${NS} ${DD} ${US} ${REDIRECT_VERS} && true;
- uscan ${DC}/f/watch ${FD} ${NS} ${DD} ${US} ${FORWARD_VERS} && true;
+ uscan ${DC}/sc/watch ${FD} ${NS} ${DD} ${US} ${STDCFG_VERS} && true;
cd ${DESTDIR}
REDIRECT=`ls CGI-Application-Plugin-Redirect*.tar.gz`
mv ${REDIRECT} ${PACKAGE}_${VERSION}.orig-r.tar.gz
- FORWARD=`ls CGI-Application-Plugin-Forward*.tar.gz`
- mv ${FORWARD} ${PACKAGE}_${VERSION}.orig-f.tar.gz
- ERROR=`ls CGI-Application-Plugin-Error*.tar.gz`
+ STDCFG=`ls CGI-Application-Standard-Config*.tar.gz`
+ mv ${STDCFG} ${PACKAGE}_${VERSION}.orig-sc.tar.gz
+ ERROR=`ls CGI-Application-Plugin-ErrorPage*.tar.gz`
mv ${ERROR} ${PACKAGE}_${VERSION}.orig-ep.tar.gz
cd -
else
echo report;
uscan ${RS} && true;
uscan ${DC}/ep/watch ${RS} ${DD} ${US} ${ERROR_VERS} && true;
- uscan ${DC}/f/watch ${RS} ${DD} ${US} ${FORWARD_VERS} && true;
+ uscan ${DC}/sc/watch ${RS} ${DD} ${US} ${STDCFG_VERS} && true;
uscan ${DC}/r/watch ${RS} ${DD} ${US} ${REDIRECT_VERS} && true;
fi
Added: trunk/libcgi-application-perl/sc/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/Build.PL?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/Build.PL (added)
+++ trunk/libcgi-application-perl/sc/Build.PL Wed Jun 22 15:43:15 2011
@@ -1,0 +1,18 @@
+use strict;
+use warnings;
+use Module::Build;
+
+my $builder = Module::Build->new(
+ module_name => 'CGI::Application::Standard::Config',
+ license => 'perl',
+ dist_author => 'Mark Stosberg <mark at summersault.com>',
+ dist_version_from => 'lib/CGI/Application/Standard/Config.pm',
+ create_makefile_pl => 'traditional',
+ create_readme => 1,
+ build_requires => {
+ 'Test::More' => 0,
+ },
+ add_to_cleanup => [ 'CGI-Application-Standard-Config-*' ],
+);
+
+$builder->create_build_script();
Added: trunk/libcgi-application-perl/sc/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/Changes?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/Changes (added)
+++ trunk/libcgi-application-perl/sc/Changes Wed Jun 22 15:43:15 2011
@@ -1,0 +1,8 @@
+Revision history for CGI-Application-Standard-Config
+
+1.01 Thu Sep 4 06:13:36 EDT 2008
+ * Add explicit copyright and license statement.
+
+1.00 Sat Feb 18 23:53:06 EST 2006
+ First version, released on an unsuspecting world.
+
Added: trunk/libcgi-application-perl/sc/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/MANIFEST?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/MANIFEST (added)
+++ trunk/libcgi-application-perl/sc/MANIFEST Wed Jun 22 15:43:15 2011
@@ -1,0 +1,11 @@
+Build.PL
+Changes
+MANIFEST
+META.yml # Will be created by "make dist"
+README
+lib/CGI/Application/Standard/Config.pm
+t/00-load.t
+t/boilerplate.t
+t/pod-coverage.t
+t/pod.t
+Makefile.PL
Added: trunk/libcgi-application-perl/sc/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/META.yml?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/META.yml (added)
+++ trunk/libcgi-application-perl/sc/META.yml Wed Jun 22 15:43:15 2011
@@ -1,0 +1,14 @@
+--- #YAML:1.0
+name: CGI-Application-Standard-Config
+version: 1.01
+author:
+ - Mark Stosberg <mark at summersault.com>
+abstract: ~
+license: perl
+build_requires:
+ Test::More: 0
+provides:
+ CGI::Application::Standard::Config:
+ file: lib/CGI/Application/Standard/Config.pm
+ version: 1.01
+generated_by: Module::Build version 0.2611
Added: trunk/libcgi-application-perl/sc/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/Makefile.PL?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/Makefile.PL (added)
+++ trunk/libcgi-application-perl/sc/Makefile.PL Wed Jun 22 15:43:15 2011
@@ -1,0 +1,13 @@
+# Note: this file was auto-generated by Module::Build::Compat version 0.03
+use ExtUtils::MakeMaker;
+WriteMakefile
+(
+ 'NAME' => 'CGI::Application::Standard::Config',
+ 'VERSION_FROM' => 'lib/CGI/Application/Standard/Config.pm',
+ 'PREREQ_PM' => {
+ 'Test::More' => '0'
+ },
+ 'INSTALLDIRS' => 'site',
+ 'PL_FILES' => {}
+ )
+;
Added: trunk/libcgi-application-perl/sc/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/README?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/README (added)
+++ trunk/libcgi-application-perl/sc/README Wed Jun 22 15:43:15 2011
@@ -1,0 +1,127 @@
+ Last updated: Sat Feb 18 23:42:29 EST 2006
+
+NAME
+ CGI::Application::Standard::Config -- Define a standard configuration
+ API for CGI::Application
+
+RATIONALE
+ This module defines a minimum standard interface that configuration
+ plugins for CGI::Application should meet. Having such a standard allows
+ other plugin authors to rely on basic configuration functionality
+ without coding exceptions for several configuration modules, or giving
+ up on such integration.
+
+SYNOPSIS
+ For Average Users
+ Simply load the config plugin before other modules that might use it:
+
+ use CGI::Application::Plugin::ConfigAuto;
+ use CGI::Application::Plugin::Session;
+
+ For Configuration plugin authors
+ Configuration plugin authors only need to follow the standards
+ documented below.
+
+ For other plugin authors who wish to rely on the standard
+ Plugin authors who want to possibly use this standard can do so by
+ simply using this module:
+
+ package CGI::Application::Plugin::Session;
+ use CGI::Application::Standard::Config;
+
+ If a standards complaint config module hasn't already been loaded a stub
+ for config() will be added which will safely return "undef".
+
+ Example use by another plugin
+ Here code first tries to get configuration details first from a config
+ file, then from options passed to a plugin-specific config method, and
+ finally applies defaults if no configuration options are found.
+
+ my $session_options = $self->config('Session_options')
+ || $self->session_config()
+ || $self->session_defaults;
+
+Standard Interface Definition
+ The following defines a minimum standard for configuration plugins to
+ meet.
+
+ Config plugins are free to provide to additional functionality.
+
+ Configuration plugins are also encourage to explicity document that they
+ are using "CGI::Application::Standard::Config".
+
+ If there are existing methods that follow the standard but have
+ different names, you can use this example to always export your method:
+
+ sub import {
+ my $app = caller;
+ no strict 'refs';
+ my $full_name = $app . '::config';
+ # Change cfg to your config()-compliant method name
+ *$full_name = \&cfg;
+ CGI::Application::Plugin::YourNameHere->export_to_level(1, at _);
+ }
+
+ $self->std_config
+ This method should be exported by default to simply declare that you
+ meet the standard report which version of the standard you meet. This
+ simple implementation is recommended:
+
+ sub std_config { return 1; }
+
+ $self->config
+ The intended use is to load to read-only configuration details once from
+ a config file at start up time.
+
+ This service is provided by plugins (list below). They must support at
+ at least this syntax:
+
+ my $value = $self->config('key');
+
+ By default, "config()" simply returns undef, making it safe for other
+ plugins to directly to check if "$self-"config('key')> returns the value
+ it needs.
+
+ config() must be exported by default.
+
+ For applications that need little configuration, config() is not
+ necessary-- using "PARAMS" in an instance script should suffice.
+
+ Also, the "param()" is the appropriate method to use to set a
+ configuration value at run time.
+
+ Configuration plugins that provide at least this basic API include:
+
+ CGI::Application::Plugin::ConfigAuto.
+
+ Standard config variables
+ Users are encouraged to use these standard config variable names, to
+ ease compatibility between plugins:
+
+ ROOT_URI - A URI corresponding to the project root (http://foo.com/proj )
+ ROOT_DIR - a file system path to the same location ( /home/joe/www/proj )
+
+ All-caps are used to denote that config variables are essentially global
+ constants.
+
+ Why URI and not URL? The wikipedia explains:
+
+ The contemporary point of view among the working group that oversees URIs is
+ that the terms URL and URN are context-dependent aspects of URI and rarely
+ need to be distinguished. Furthermore, the term URL is increasingly becoming
+ obsolete, as it is rarely necessary to differentiate between URLs and URIs,
+ in general.
+
+Standard Version
+ This is 1.0 of the CGI::Application config() standard.
+
+AUTHOR
+ Written by Mark Stosberg <mark at summersault.com> with input from the
+ CGI::Application community.
+
+COPYRIGHT and LICENSE
+ Copyright (C) 2008, Mark Stosberg. All rights reserved.
+
+ This library is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
Added: trunk/libcgi-application-perl/sc/lib/CGI/Application/Standard/Config.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/lib/CGI/Application/Standard/Config.pm?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/lib/CGI/Application/Standard/Config.pm (added)
+++ trunk/libcgi-application-perl/sc/lib/CGI/Application/Standard/Config.pm Wed Jun 22 15:43:15 2011
@@ -1,0 +1,182 @@
+package CGI::Application::Standard::Config;
+use base 'Exporter';
+use vars (qw/@EXPORT $VERSION/);
+
+$VERSION = '1.01';
+
+# Note: We are loading the config plugin into our callers
+# namespace, not our own!
+sub import {
+ my $class = shift;
+ my $app = caller;
+
+ # Export a stub config if there is not one defined already.
+ if (not _meet_config_standard($app) ) {
+ push @EXPORT, (qw/config std_config/);
+ }
+}
+
+sub config { return undef };
+sub std_config { return 1 };
+
+sub _meet_config_standard {
+ my $app = shift;
+ if ( $app->can('config')
+ # If they declared they meet the standard, we trust 'em.
+ and $app->can('std_config') ) {
+ return 1;
+ }
+ else {
+ return 0;
+ }
+}
+
+=pod
+
+Last updated: Sat Feb 18 23:42:29 EST 2006
+
+=head1 NAME
+
+CGI::Application::Standard::Config -- Define a standard configuration API for CGI::Application
+
+=head1 RATIONALE
+
+This module defines a minimum standard interface that configuration plugins for
+CGI::Application should meet. Having such a standard allows other plugin
+authors to rely on basic configuration functionality without coding exceptions
+for several configuration modules, or giving up on such integration.
+
+=head1 SYNOPSIS
+
+=head2 For Average Users
+
+Simply load the config plugin before other modules that might use it:
+
+ use CGI::Application::Plugin::ConfigAuto;
+ use CGI::Application::Plugin::Session;
+
+=head2 For Configuration plugin authors
+
+Configuration plugin authors only need to follow the standards documented below.
+
+=head2 For other plugin authors who wish to rely on the standard
+
+Plugin authors who want to possibly use this standard can do so by simply
+using this module:
+
+ package CGI::Application::Plugin::Session;
+ use CGI::Application::Standard::Config;
+
+If a standards complaint config module hasn't already been loaded a stub for
+L<config()> will be added which will safely return C<undef>.
+
+=head3 Example use by another plugin
+
+Here code first tries to get configuration details first from a
+config file, then from options passed to a plugin-specific config
+method, and finally applies defaults if no configuration options are found.
+
+ my $session_options = $self->config('Session_options')
+ || $self->session_config()
+ || $self->session_defaults;
+
+=head1 Standard Interface Definition
+
+The following defines a minimum standard for configuration plugins to meet.
+
+Config plugins are free to provide to additional functionality.
+
+Configuration plugins are also encourage to explicity document that
+they are using C<CGI::Application::Standard::Config>.
+
+If there are existing methods that follow the standard but have
+different names, you can use this example to always export your method:
+
+ sub import {
+ my $app = caller;
+ no strict 'refs';
+ my $full_name = $app . '::config';
+ # Change cfg to your config()-compliant method name
+ *$full_name = \&cfg;
+ CGI::Application::Plugin::YourNameHere->export_to_level(1, at _);
+ }
+
+=head2 $self->std_config
+
+This method should be exported by default to simply declare that you meet the
+standard report which version of the standard you meet. This simple
+implementation is recommended:
+
+ sub std_config { return 1; }
+
+=head2 $self->config
+
+The intended use is to load to read-only configuration details once
+from a config file at start up time.
+
+This service is provided by plugins (list below). They must support at
+at least this syntax:
+
+ my $value = $self->config('key');
+
+By default, C<config()> simply returns undef, making it safe for other
+plugins to directly to check if C<$self->config('key')> returns the
+value it needs.
+
+config() must be exported by default.
+
+For applications that need little configuration, L<config()> is not
+necessary-- using C<PARAMS> in an instance script should suffice.
+
+Also, the C<param()> is the appropriate method to use to set a
+configuration value at run time.
+
+Configuration plugins that provide at least this basic API include:
+
+=over 4
+
+=item L<CGI::Application::Plugin::ConfigAuto>.
+
+=back
+
+=cut
+
+=head3 Standard config variables
+
+Users are encouraged to use these standard config variable names, to
+ease compatibility between plugins:
+
+ ROOT_URI - A URI corresponding to the project root (http://foo.com/proj )
+ ROOT_DIR - a file system path to the same location ( /home/joe/www/proj )
+
+All-caps are used to denote that config variables are essentially global
+constants.
+
+Why URI and not URL? The wikipedia explains:
+
+ The contemporary point of view among the working group that oversees URIs is
+ that the terms URL and URN are context-dependent aspects of URI and rarely
+ need to be distinguished. Furthermore, the term URL is increasingly becoming
+ obsolete, as it is rarely necessary to differentiate between URLs and URIs,
+ in general.
+
+=head1 Standard Version
+
+This is 1.0 of the CGI::Application L<config()> standard.
+
+=head1 AUTHOR
+
+Written by Mark Stosberg <mark at summersault.com> with input from the
+CGI::Application community.
+
+=head1 COPYRIGHT and LICENSE
+
+Copyright (C) 2008, Mark Stosberg. All rights reserved.
+
+This library is free software; you can redistribute it and/or modify it under
+the same terms as Perl itself.
+
+=cut
+
+1;
+
Added: trunk/libcgi-application-perl/sc/t/00-load.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/t/00-load.t?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/t/00-load.t (added)
+++ trunk/libcgi-application-perl/sc/t/00-load.t Wed Jun 22 15:43:15 2011
@@ -1,0 +1,9 @@
+#!perl -T
+
+use Test::More tests => 1;
+
+BEGIN {
+ use_ok( 'CGI::Application::Standard::Config' );
+}
+
+diag( "Testing CGI::Application::Standard::Config $CGI::Application::Standard::Config::VERSION, Perl $], $^X" );
Added: trunk/libcgi-application-perl/sc/t/boilerplate.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/t/boilerplate.t?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/t/boilerplate.t (added)
+++ trunk/libcgi-application-perl/sc/t/boilerplate.t Wed Jun 22 15:43:15 2011
@@ -1,0 +1,48 @@
+#!perl -T
+
+use strict;
+use warnings;
+use Test::More tests => 3;
+
+sub not_in_file_ok {
+ my ($filename, %regex) = @_;
+ open my $fh, "<", $filename
+ or die "couldn't open $filename for reading: $!";
+
+ my %violated;
+
+ while (my $line = <$fh>) {
+ while (my ($desc, $regex) = each %regex) {
+ if ($line =~ $regex) {
+ push @{$violated{$desc}||=[]}, $.;
+ }
+ }
+ }
+
+ if (%violated) {
+ fail("$filename contains boilerplate text");
+ diag "$_ appears on lines @{$violated{$_}}" for keys %violated;
+ } else {
+ pass("$filename contains no boilerplate text");
+ }
+}
+
+not_in_file_ok(README =>
+ "The README is used..." => qr/The README is used/,
+ "'version information here'" => qr/to provide version information/,
+);
+
+not_in_file_ok(Changes =>
+ "placeholder date/time" => qr(Date/time)
+);
+
+sub module_boilerplate_ok {
+ my ($module) = @_;
+ not_in_file_ok($module =>
+ 'the great new $MODULENAME' => qr/ - The great new /,
+ 'boilerplate description' => qr/Quick summary of what the module/,
+ 'stub function definition' => qr/function[12]/,
+ );
+}
+
+module_boilerplate_ok('lib/CGI/Application/Standard/Config.pm');
Added: trunk/libcgi-application-perl/sc/t/pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/t/pod-coverage.t?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/t/pod-coverage.t (added)
+++ trunk/libcgi-application-perl/sc/t/pod-coverage.t Wed Jun 22 15:43:15 2011
@@ -1,0 +1,6 @@
+#!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();
Added: trunk/libcgi-application-perl/sc/t/pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-perl/sc/t/pod.t?rev=76274&op=file
==============================================================================
--- trunk/libcgi-application-perl/sc/t/pod.t (added)
+++ trunk/libcgi-application-perl/sc/t/pod.t Wed Jun 22 15:43:15 2011
@@ -1,0 +1,6 @@
+#!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();
More information about the Pkg-perl-cvs-commits
mailing list