[Catalyst-commits] r10509 - in Catalyst-Devel/1.00/branches/helper_refactor/share: root t

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Fri Jun 12 00:42:45 GMT 2009


Author: t0m
Date: 2009-06-12 00:42:45 +0000 (Fri, 12 Jun 2009)
New Revision: 10509

Removed:
   Catalyst-Devel/1.00/branches/helper_refactor/share/root/appclass.tt
   Catalyst-Devel/1.00/branches/helper_refactor/share/root/create.tt
   Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt
   Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt
   Catalyst-Devel/1.00/branches/helper_refactor/share/root/readme.tt
   Catalyst-Devel/1.00/branches/helper_refactor/share/root/test.tt
   Catalyst-Devel/1.00/branches/helper_refactor/share/t/test.tt
Log:
Delete crap

Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/root/appclass.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/appclass.tt	2009-06-12 00:42:35 UTC (rev 10508)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/appclass.tt	2009-06-12 00:42:45 UTC (rev 10509)
@@ -1,64 +0,0 @@
-package [% name %];
-
-use strict;
-use warnings;
-
-use Catalyst::Runtime 5.80;
-
-# Set flags and add plugins for the application
-#
-#         -Debug: activates the debug mode for very useful log messages
-#   ConfigLoader: will load the configuration from a Config::General file in the
-#                 application's home directory
-# Static::Simple: will serve static files from the application's root
-#                 directory
-
-use parent qw/Catalyst/;
-use Catalyst qw/-Debug
-                ConfigLoader
-                Static::Simple/;
-our $VERSION = '0.01';
-
-# Configure the application.
-#
-# Note that settings in [% appprefix %].conf (or other external
-# configuration file that you set up manually) take precedence
-# over this when using ConfigLoader. Thus configuration
-# details given here can function as a default configuration,
-# with an external configuration file acting as an override for
-# local deployment.
-
-__PACKAGE__->config( name => '[% name %]' );
-
-# Start the application
-__PACKAGE__->setup();
-
-
-=head1 NAME
-
-[% name %] - Catalyst based application
-
-=head1 SYNOPSIS
-
-    script/[% appprefix %]_server.pl
-
-=head1 DESCRIPTION
-
-[enter your description here]
-
-=head1 SEE ALSO
-
-L<[% rootname %]>, L<Catalyst>
-
-=head1 AUTHOR
-
-[% author %]
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/root/create.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/create.tt	2009-06-12 00:42:35 UTC (rev 10508)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/create.tt	2009-06-12 00:42:45 UTC (rev 10509)
@@ -1,85 +0,0 @@
-[% startperl %]
-
-use strict;
-use warnings;
-use Getopt::Long;
-use Pod::Usage;
-eval "use Catalyst::Helper;";
-
-if ($@) {
-  die <<END;
-To use the Catalyst development tools including catalyst.pl and the
-generated script/myapp_create.pl you need Catalyst::Helper, which is
-part of the Catalyst-Devel distribution. Please install this via a
-vendor package or by running one of -
-
-  perl -MCPAN -e 'install Catalyst::Devel'
-  perl -MCPANPLUS -e 'install Catalyst::Devel'
-END
-}
-
-my $force = 0;
-my $mech  = 0;
-my $help  = 0;
-
-GetOptions(
-    'nonew|force'    => \$force,
-    'mech|mechanize' => \$mech,
-    'help|?'         => \$help
- );
-
-pod2usage(1) if ( $help || !$ARGV[0] );
-
-my $helper = Catalyst::Helper->new( { '.newfiles' => !$force, mech => $mech } );
-
-pod2usage(1) unless $helper->mk_component( '[% name %]', @ARGV );
-
-1;
-
-=head1 NAME
-
-[% appprefix %]_create.pl - Create a new Catalyst Component
-
-=head1 SYNOPSIS
-
-[% appprefix %]_create.pl [options] model|view|controller name [helper] [options]
-
- Options:
-   -force        don't create a .new file where a file to be created exists
-   -mechanize    use Test::WWW::Mechanize::Catalyst for tests if available
-   -help         display this help and exits
-
- Examples:
-   [% appprefix %]_create.pl controller My::Controller
-   [% appprefix %]_create.pl -mechanize controller My::Controller
-   [% appprefix %]_create.pl view My::View
-   [% appprefix %]_create.pl view MyView TT
-   [% appprefix %]_create.pl view TT TT
-   [% appprefix %]_create.pl model My::Model
-   [% appprefix %]_create.pl model SomeDB DBIC::Schema MyApp::Schema create=dynamic\
-   dbi:SQLite:/tmp/my.db
-   [% appprefix %]_create.pl model AnotherDB DBIC::Schema MyApp::Schema create=static\
-   dbi:Pg:dbname=foo root 4321
-
- See also:
-   perldoc Catalyst::Manual
-   perldoc Catalyst::Manual::Intro
-
-=head1 DESCRIPTION
-
-Create a new Catalyst Component.
-
-Existing component files are not overwritten.  If any of the component files
-to be created already exist the file will be written with a '.new' suffix.
-This behavior can be suppressed with the C<-force> option.
-
-=head1 AUTHORS
-
-Catalyst Contributors, see Catalyst.pm
-
-=head1 COPYRIGHT
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut

Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt	2009-06-12 00:42:35 UTC (rev 10508)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt	2009-06-12 00:42:45 UTC (rev 10509)
@@ -1,10 +0,0 @@
-[% startperl %]
-use strict;
-use warnings;
-use Test::More;
-
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
-
-all_pod_coverage_ok();

Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt	2009-06-12 00:42:35 UTC (rev 10508)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt	2009-06-12 00:42:45 UTC (rev 10509)
@@ -1,10 +0,0 @@
-[% startperl %]
-use strict;
-use warnings;
-use Test::More;
-
-eval "use Test::Pod 1.14";
-plan skip_all => 'Test::Pod 1.14 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
-
-all_pod_files_ok();

Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/root/readme.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/readme.tt	2009-06-12 00:42:35 UTC (rev 10508)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/readme.tt	2009-06-12 00:42:45 UTC (rev 10509)
@@ -1 +0,0 @@
-Run script/[% appprefix %]_server.pl to test the application.

Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/root/test.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/test.tt	2009-06-12 00:42:35 UTC (rev 10508)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/test.tt	2009-06-12 00:42:45 UTC (rev 10509)
@@ -1,53 +0,0 @@
-[% startperl %]
-
-use strict;
-use warnings;
-use Getopt::Long;
-use Pod::Usage;
-use FindBin;
-use lib "$FindBin::Bin/../lib";
-use Catalyst::Test '[% name %]';
-
-my $help = 0;
-
-GetOptions( 'help|?' => \$help );
-
-pod2usage(1) if ( $help || !$ARGV[0] );
-
-print request($ARGV[0])->content . "\n";
-
-1;
-
-=head1 NAME
-
-[% appprefix %]_test.pl - Catalyst Test
-
-=head1 SYNOPSIS
-
-[% appprefix %]_test.pl [options] uri
-
- Options:
-   -help    display this help and exits
-
- Examples:
-   [% appprefix %]_test.pl http://localhost/some_action
-   [% appprefix %]_test.pl /some_action
-
- See also:
-   perldoc Catalyst::Manual
-   perldoc Catalyst::Manual::Intro
-
-=head1 DESCRIPTION
-
-Run a Catalyst action from the command line.
-
-=head1 AUTHORS
-
-Catalyst Contributors, see Catalyst.pm
-
-=head1 COPYRIGHT
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut

Deleted: Catalyst-Devel/1.00/branches/helper_refactor/share/t/test.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/t/test.tt	2009-06-12 00:42:35 UTC (rev 10508)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/t/test.tt	2009-06-12 00:42:45 UTC (rev 10509)
@@ -1,53 +0,0 @@
-[% startperl %]
-
-use strict;
-use warnings;
-use Getopt::Long;
-use Pod::Usage;
-use FindBin;
-use lib "$FindBin::Bin/../lib";
-use Catalyst::Test '[% name %]';
-
-my $help = 0;
-
-GetOptions( 'help|?' => \$help );
-
-pod2usage(1) if ( $help || !$ARGV[0] );
-
-print request($ARGV[0])->content . "\n";
-
-1;
-
-=head1 NAME
-
-[% appprefix %]_test.pl - Catalyst Test
-
-=head1 SYNOPSIS
-
-[% appprefix %]_test.pl [options] uri
-
- Options:
-   -help    display this help and exits
-
- Examples:
-   [% appprefix %]_test.pl http://localhost/some_action
-   [% appprefix %]_test.pl /some_action
-
- See also:
-   perldoc Catalyst::Manual
-   perldoc Catalyst::Manual::Intro
-
-=head1 DESCRIPTION
-
-Run a Catalyst action from the command line.
-
-=head1 AUTHORS
-
-Catalyst Contributors, see Catalyst.pm
-
-=head1 COPYRIGHT
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut




More information about the Catalyst-commits mailing list