[Catalyst-commits] r7466 - in trunk/Catalyst-Model-DBIC: .
lib/Catalyst/Helper/Model lib/Catalyst/Model
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Wed Mar 5 13:35:31 GMT 2008
Author: bricas
Date: 2008-03-05 13:35:31 +0000 (Wed, 05 Mar 2008)
New Revision: 7466
Added:
trunk/Catalyst-Model-DBIC/MANIFEST.SKIP
Removed:
trunk/Catalyst-Model-DBIC/MANIFEST
trunk/Catalyst-Model-DBIC/README
Modified:
trunk/Catalyst-Model-DBIC/Changes
trunk/Catalyst-Model-DBIC/Makefile.PL
trunk/Catalyst-Model-DBIC/lib/Catalyst/Helper/Model/DBIC.pm
trunk/Catalyst-Model-DBIC/lib/Catalyst/Model/DBIC.pm
Log:
dist cleanup
Modified: trunk/Catalyst-Model-DBIC/Changes
===================================================================
--- trunk/Catalyst-Model-DBIC/Changes 2008-03-03 15:51:18 UTC (rev 7465)
+++ trunk/Catalyst-Model-DBIC/Changes 2008-03-05 13:35:31 UTC (rev 7466)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Model::DBIC.
+0.16 Wed Mar 05 2008
+ - repackaged again
+
0.15 Mon Feb 26 2007
- repackaged - no functional changes
Deleted: trunk/Catalyst-Model-DBIC/MANIFEST
===================================================================
--- trunk/Catalyst-Model-DBIC/MANIFEST 2008-03-03 15:51:18 UTC (rev 7465)
+++ trunk/Catalyst-Model-DBIC/MANIFEST 2008-03-05 13:35:31 UTC (rev 7466)
@@ -1,9 +0,0 @@
-Changes
-lib/Catalyst/Helper/Model/DBIC.pm
-lib/Catalyst/Model/DBIC.pm
-Makefile.PL
-MANIFEST This list of files
-README
-t/01use.t
-t/02pod.t
-t/03podcoverage.t
Added: trunk/Catalyst-Model-DBIC/MANIFEST.SKIP
===================================================================
--- trunk/Catalyst-Model-DBIC/MANIFEST.SKIP (rev 0)
+++ trunk/Catalyst-Model-DBIC/MANIFEST.SKIP 2008-03-05 13:35:31 UTC (rev 7466)
@@ -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$
Modified: trunk/Catalyst-Model-DBIC/Makefile.PL
===================================================================
--- trunk/Catalyst-Model-DBIC/Makefile.PL 2008-03-03 15:51:18 UTC (rev 7465)
+++ trunk/Catalyst-Model-DBIC/Makefile.PL 2008-03-05 13:35:31 UTC (rev 7466)
@@ -1,13 +1,24 @@
-use ExtUtils::MakeMaker;
+use inc::Module::Install 0.68;
-WriteMakefile(
- NAME => 'Catalyst::Model::DBIC',
- AUTHOR => 'Sebastian Riedel (sri at oook.de)',
- PREREQ_PM => {
- 'Catalyst' => '5.00',
- 'DBIx::Class' => 0,
- 'DBIx::Class::Loader' => 0
- },
- LICENSE => 'perl',
- VERSION_FROM => 'lib/Catalyst/Model/DBIC.pm'
-);
+if ( -e 'MANIFEST.SKIP' ) {
+ system( 'pod2text lib/Catalyst/Model/DBIC.pm > README' );
+}
+
+name 'Catalyst-Model-DBIC';
+all_from 'lib/Catalyst/Model/DBIC.pm';
+
+requires 'Catalyst::Runtime' => '5.0000';
+requires 'DBIx::Class';
+requires 'DBIx::Class::Loader';
+
+test_requires 'Test::More';
+
+print <<EOWARNING;
+****************************************************
+This module has been deprecated. You should be using
+Catalyst::Model::DBIC::Schema instead.
+****************************************************
+EOWARNING
+
+auto_install;
+WriteAll;
Deleted: trunk/Catalyst-Model-DBIC/README
===================================================================
--- trunk/Catalyst-Model-DBIC/README 2008-03-03 15:51:18 UTC (rev 7465)
+++ trunk/Catalyst-Model-DBIC/README 2008-03-05 13:35:31 UTC (rev 7466)
@@ -1,46 +0,0 @@
-NAME
- Catalyst::Model::DBIC - DBIC Model Class
-
-SYNOPSIS
- # use the helper
- create model DBIC DBIC dsn user password
-
- # lib/MyApp/Model/DBIC.pm
- package MyApp::Model::DBIC;
-
- use base 'Catalyst::Model::DBIC';
-
- __PACKAGE__->config(
- dsn => 'dbi:Pg:dbname=myapp',
- password => '',
- user => 'postgres',
- options => { AutoCommit => 1 },
- relationships => 1
- );
-
- 1;
-
- # As object method
- $c->comp('MyApp::Model::DBIC::Table')->search(...);
-
- # As class method
- MyApp::Model::DBIC::Table->search(...);
-
-DESCRIPTION
- This is the "DBIx::Class" model class. It's built on top of
- "DBIx::Class::Loader".
-
- new
- Initializes DBIx::Class::Loader and loads classes using the class
- config. Also attempts to borg all the classes.
-
-SEE ALSO
- Catalyst, DBIx::Class DBIx::Class::Loader
-
-AUTHOR
- Sebastian Riedel, "sri at cpan.org"
-
-COPYRIGHT
- This program is free software, you can redistribute it and/or modify it
- under the same terms as Perl itself.
-
Modified: trunk/Catalyst-Model-DBIC/lib/Catalyst/Helper/Model/DBIC.pm
===================================================================
--- trunk/Catalyst-Model-DBIC/lib/Catalyst/Helper/Model/DBIC.pm 2008-03-03 15:51:18 UTC (rev 7465)
+++ trunk/Catalyst-Model-DBIC/lib/Catalyst/Helper/Model/DBIC.pm 2008-03-05 13:35:31 UTC (rev 7466)
@@ -1,6 +1,7 @@
package Catalyst::Helper::Model::DBIC;
use strict;
+use warnings;
use DBIx::Class::Loader;
use File::Spec;
@@ -99,7 +100,7 @@
=head1 AUTHOR
-Sebastian Riedel, C<sri at oook.de>
+Sebastian Riedel E<lt>sri at cpan.orgE<gt>
=head1 LICENSE
Modified: trunk/Catalyst-Model-DBIC/lib/Catalyst/Model/DBIC.pm
===================================================================
--- trunk/Catalyst-Model-DBIC/lib/Catalyst/Model/DBIC.pm 2008-03-03 15:51:18 UTC (rev 7465)
+++ trunk/Catalyst-Model-DBIC/lib/Catalyst/Model/DBIC.pm 2008-03-05 13:35:31 UTC (rev 7466)
@@ -1,11 +1,13 @@
package Catalyst::Model::DBIC;
use strict;
+use warnings;
+
use base 'Catalyst::Model';
use NEXT;
use DBIx::Class::Loader;
-our $VERSION = '0.15';
+our $VERSION = '0.16';
__PACKAGE__->mk_accessors('loader');
@@ -89,7 +91,7 @@
=head1 AUTHOR
-Sebastian Riedel, C<sri at cpan.org>
+Sebastian Riedel E<lt>sri at cpan.orgE<gt>
=head1 COPYRIGHT
More information about the Catalyst-commits
mailing list