[Catalyst-commits] r6645 - in trunk: Catalyst-Engine-Apache/t
Catalyst-Engine-HTTP-POE/t Catalyst-Plugin-OrderedParams/t
Catalyst-Plugin-PageCache/t Catalyst-Plugin-RequireSSL/t
Catalyst-Plugin-Scheduler/t Catalyst-Plugin-Session-Store-DBI/t
Catalyst-Plugin-StackTrace Catalyst-Plugin-StackTrace/t
Catalyst-Plugin-Static-Simple/t
Catalyst-Plugin-UploadProgress/t HTTP-Body/t
andyg at dev.catalyst.perl.org
andyg at dev.catalyst.perl.org
Sat Aug 11 17:45:58 GMT 2007
Author: andyg
Date: 2007-08-11 17:45:57 +0100 (Sat, 11 Aug 2007)
New Revision: 6645
Added:
trunk/Catalyst-Engine-Apache/t/04critic.rc
trunk/Catalyst-Engine-Apache/t/04critic.t
trunk/Catalyst-Engine-HTTP-POE/t/04critic.rc
trunk/Catalyst-Engine-HTTP-POE/t/04critic.t
trunk/Catalyst-Plugin-OrderedParams/t/04critic.rc
trunk/Catalyst-Plugin-OrderedParams/t/04critic.t
trunk/Catalyst-Plugin-PageCache/t/04critic.rc
trunk/Catalyst-Plugin-PageCache/t/04critic.t
trunk/Catalyst-Plugin-RequireSSL/t/04critic.rc
trunk/Catalyst-Plugin-RequireSSL/t/04critic.t
trunk/Catalyst-Plugin-Scheduler/t/04critic.rc
trunk/Catalyst-Plugin-Scheduler/t/04critic.t
trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.rc
trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.t
trunk/Catalyst-Plugin-StackTrace/MANIFEST.SKIP
trunk/Catalyst-Plugin-StackTrace/t/04critic.rc
trunk/Catalyst-Plugin-StackTrace/t/04critic.t
trunk/Catalyst-Plugin-Static-Simple/t/04critic.rc
trunk/Catalyst-Plugin-Static-Simple/t/04critic.t
trunk/Catalyst-Plugin-UploadProgress/t/04critic.rc
trunk/Catalyst-Plugin-UploadProgress/t/04critic.t
trunk/HTTP-Body/t/04critic.rc
trunk/HTTP-Body/t/04critic.t
Log:
Add tab test to all my modules
Added: trunk/Catalyst-Engine-Apache/t/04critic.rc
===================================================================
--- trunk/Catalyst-Engine-Apache/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Engine-Apache/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Engine-Apache/t/04critic.t
===================================================================
--- trunk/Catalyst-Engine-Apache/t/04critic.t (rev 0)
+++ trunk/Catalyst-Engine-Apache/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Engine-HTTP-POE/t/04critic.rc
===================================================================
--- trunk/Catalyst-Engine-HTTP-POE/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Engine-HTTP-POE/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Engine-HTTP-POE/t/04critic.t
===================================================================
--- trunk/Catalyst-Engine-HTTP-POE/t/04critic.t (rev 0)
+++ trunk/Catalyst-Engine-HTTP-POE/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-OrderedParams/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-OrderedParams/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-OrderedParams/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-OrderedParams/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-OrderedParams/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-OrderedParams/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-PageCache/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-PageCache/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-PageCache/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-PageCache/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-PageCache/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-PageCache/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-RequireSSL/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-RequireSSL/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-RequireSSL/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-RequireSSL/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-RequireSSL/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-RequireSSL/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-Scheduler/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-Scheduler/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-Scheduler/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-Scheduler/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-Scheduler/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-Scheduler/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-Session-Store-DBI/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-StackTrace/MANIFEST.SKIP
===================================================================
--- trunk/Catalyst-Plugin-StackTrace/MANIFEST.SKIP (rev 0)
+++ trunk/Catalyst-Plugin-StackTrace/MANIFEST.SKIP 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,29 @@
+# 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$
+
+# No tarballs!
+\.gz$
Added: trunk/Catalyst-Plugin-StackTrace/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-StackTrace/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-StackTrace/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-StackTrace/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-StackTrace/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-StackTrace/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-Static-Simple/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-Static-Simple/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-Static-Simple/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-Static-Simple/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-Static-Simple/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-Static-Simple/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/Catalyst-Plugin-UploadProgress/t/04critic.rc
===================================================================
--- trunk/Catalyst-Plugin-UploadProgress/t/04critic.rc (rev 0)
+++ trunk/Catalyst-Plugin-UploadProgress/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/Catalyst-Plugin-UploadProgress/t/04critic.t
===================================================================
--- trunk/Catalyst-Plugin-UploadProgress/t/04critic.t (rev 0)
+++ trunk/Catalyst-Plugin-UploadProgress/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
Added: trunk/HTTP-Body/t/04critic.rc
===================================================================
--- trunk/HTTP-Body/t/04critic.rc (rev 0)
+++ trunk/HTTP-Body/t/04critic.rc 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,5 @@
+include = CodeLayout::ProhibitHardTabs
+only = 1
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
\ No newline at end of file
Added: trunk/HTTP-Body/t/04critic.t
===================================================================
--- trunk/HTTP-Body/t/04critic.t (rev 0)
+++ trunk/HTTP-Body/t/04critic.t 2007-08-11 16:45:57 UTC (rev 6645)
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+
+use File::Spec;
+use FindBin ();
+use Test::More;
+
+if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) {
+ plan skip_all => 'Critic test only for developers.';
+}
+else {
+ eval { require Test::Perl::Critic };
+ if ( $@ ) {
+ plan tests => 1;
+ fail( 'You must install Test::Perl::Critic to run 04critic.t' );
+ exit;
+ }
+}
+
+my $rcfile = File::Spec->catfile( 't', '04critic.rc' );
+Test::Perl::Critic->import( -profile => $rcfile );
+all_critic_ok();
\ No newline at end of file
More information about the Catalyst-commits
mailing list