[Catalyst-commits] r6282 - in trunk/Catalyst-Model-TextLinkAds: .
lib/Catalyst/Helper/Model lib/Catalyst/Model t t/lib
t/lib/TestApp/Model
davecardwell at dev.catalyst.perl.org
davecardwell at dev.catalyst.perl.org
Fri Apr 6 00:30:52 GMT 2007
Author: davecardwell
Date: 2007-04-06 00:30:38 +0100 (Fri, 06 Apr 2007)
New Revision: 6282
Modified:
trunk/Catalyst-Model-TextLinkAds/Build.PL
trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Helper/Model/TextLinkAds.pm
trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Model/TextLinkAds.pm
trunk/Catalyst-Model-TextLinkAds/t/00.load.t
trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp.pm
trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp/Model/TextLinkAds.pm
Log:
* Tidied up POD documentation.
* Hidden test suite modules from PAUSE.
Modified: trunk/Catalyst-Model-TextLinkAds/Build.PL
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/Build.PL 2007-04-05 23:29:19 UTC (rev 6281)
+++ trunk/Catalyst-Model-TextLinkAds/Build.PL 2007-04-05 23:30:38 UTC (rev 6282)
@@ -4,10 +4,10 @@
use Module::Build;
my $builder = Module::Build->new(
- add_to_cleanup => [ 'Catalyst-Model-TextLinkAds-*',
- 'Catalyst-Helper-Model-TextLinkAds-*' ],
+ add_to_cleanup => [qw/ Catalyst-Model-TextLinkAds-*
+ Catalyst-Helper-Model-TextLinkAds-* /],
build_requires => {
- 'Test::More' => 0,
+ 'Test::More' => '0',
},
create_makefile_pl => 'passthrough',
create_readme => 1,
Modified: trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Helper/Model/TextLinkAds.pm
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Helper/Model/TextLinkAds.pm 2007-04-05 23:29:19 UTC (rev 6281)
+++ trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Helper/Model/TextLinkAds.pm 2007-04-05 23:30:38 UTC (rev 6282)
@@ -12,7 +12,6 @@
Catalyst::Helper::Model::TextLinkAds - Helper for TextLinkAds Catalyst Models
-
=head1 SYNOPSIS
script/myapp_create.pl model ModelName TextLinkAds [ tmpdir=/path/to/tmp ] [ nocache ]
@@ -27,9 +26,9 @@
ModelName is the short name for the Model class being generated (eg.
"TextLinkAds")
-
+
tmpdir is the path to a directory where temporary files should be stored.
-
+
nocache disables caching which is definitely not recommended.
@@ -88,7 +87,7 @@
=item * Catalyst::Model::TextLinkAds
-L<http://perlprogrammer.co.uk/module/Catalyst::Model::TextLinkAds/>
+L<http://perlprogrammer.co.uk/modules/Catalyst::Model::TextLinkAds/>
=item * AnnoCPAN: Annotated CPAN documentation
@@ -144,7 +143,6 @@
[% class %] - Text Link Ads Model Class
-
=head1 SYNOPSIS
See L<[% app %]>.
Modified: trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Model/TextLinkAds.pm
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Model/TextLinkAds.pm 2007-04-05 23:29:19 UTC (rev 6281)
+++ trunk/Catalyst-Model-TextLinkAds/lib/Catalyst/Model/TextLinkAds.pm 2007-04-05 23:30:38 UTC (rev 6282)
@@ -17,28 +17,27 @@
Catalyst::Model::TextLinkAds - Catalyst model for Text Link Ads
-
=head1 SYNOPSIS
# Use the helper to add a TextLinkAds model to your application...
script/myapp_create.pl create model TextLinkAds TextLinkAds
-
-
+
+
# lib/MyApp/Model/TextLinkAds.pm
-
+
package MyApp::Model::TextLinkAds;
-
+
use base qw/ Catalyst::Model::TextLinkAds /;
-
+
__PACKAGE__->config(
cache => 0, # optional: default uses Cache::FileCache
tmpdir => '/tmp', # optional: default File::Spec->tmpdir
);
-
-
+
+
1;
-
-
+
+
# For Catalyst::View::TT...
<ul>
[%- FOREACH link = c.model('TextLinkAds').fetch( my_inventory_key ) %]
@@ -109,23 +108,23 @@
=over
-=item
+=item *
L<Carp>
-=item
+=item *
L<Catalyst::Model>
-=item
+=item *
L<Catalyst::Utils>
-=item
+=item *
L<Class::C3>
-=item
+=item *
L<TextLinkAds>
Modified: trunk/Catalyst-Model-TextLinkAds/t/00.load.t
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/t/00.load.t 2007-04-05 23:29:19 UTC (rev 6281)
+++ trunk/Catalyst-Model-TextLinkAds/t/00.load.t 2007-04-05 23:30:38 UTC (rev 6282)
@@ -7,4 +7,5 @@
use_ok( 'Catalyst::Model::TextLinkAds' );
-diag( "Testing TextLinkAds $TextLinkAds::VERSION" );
+diag( 'Testing Catalyst::Model::TextLinkAds '
+ . $Catalyst::Model::TextLinkAds::VERSION );
Modified: trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp/Model/TextLinkAds.pm
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp/Model/TextLinkAds.pm 2007-04-05 23:29:19 UTC (rev 6281)
+++ trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp/Model/TextLinkAds.pm 2007-04-05 23:30:38 UTC (rev 6282)
@@ -1,4 +1,5 @@
-package TestApp::Model::TextLinkAds;
+package #hide from PAUSE
+ TestApp::Model::TextLinkAds;
use base qw/ Catalyst::Model::TextLinkAds /;
Modified: trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp.pm
===================================================================
--- trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp.pm 2007-04-05 23:29:19 UTC (rev 6281)
+++ trunk/Catalyst-Model-TextLinkAds/t/lib/TestApp.pm 2007-04-05 23:30:38 UTC (rev 6282)
@@ -1,4 +1,5 @@
-package TestApp;
+package #hide from PAUSE
+ TestApp;
use strict;
use warnings;
More information about the Catalyst-commits
mailing list