[Catalyst-commits] r6842 - in trunk/Catalyst-Model-DBIC-Plain: .
lib/Catalyst/Helper/Model/DBIC lib/Catalyst/Model/DBIC
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Thu Sep 6 01:15:31 GMT 2007
Author: bricas
Date: 2007-09-06 01:15:31 +0100 (Thu, 06 Sep 2007)
New Revision: 6842
Added:
trunk/Catalyst-Model-DBIC-Plain/MANIFEST.SKIP
Removed:
trunk/Catalyst-Model-DBIC-Plain/MANIFEST
trunk/Catalyst-Model-DBIC-Plain/META.yml
trunk/Catalyst-Model-DBIC-Plain/README
Modified:
trunk/Catalyst-Model-DBIC-Plain/Changes
trunk/Catalyst-Model-DBIC-Plain/Makefile.PL
trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Helper/Model/DBIC/Plain.pm
trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Model/DBIC/Plain.pm
Log:
deprecation notice for Catalyst::Model::DBIC::Plain
Modified: trunk/Catalyst-Model-DBIC-Plain/Changes
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/Changes 2007-09-05 19:46:43 UTC (rev 6841)
+++ trunk/Catalyst-Model-DBIC-Plain/Changes 2007-09-06 00:15:31 UTC (rev 6842)
@@ -1,10 +1,14 @@
Revision history for Perl extension Catalyst::Model::DBIC::Plain.
+0.04 Wed Sep 05 2007
+ - DEPRECATION NOTICE:
+ Deprecated in favor of Catalyst::Model::DBIC::Schema
+
0.03 Mon Nov 21 10:08:00 CEST 2005
- - Updated helper template
+ - Updated helper template
0.02 Mon Nov 21 10:08:00 CEST 2005
- subclass Catalyst::Model instead of Catalyst::Base
0.01 Wed Aug 03 19:49:56 CEST 2005
- - First release
+ - First release
Deleted: trunk/Catalyst-Model-DBIC-Plain/MANIFEST
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/MANIFEST 2007-09-05 19:46:43 UTC (rev 6841)
+++ trunk/Catalyst-Model-DBIC-Plain/MANIFEST 2007-09-06 00:15:31 UTC (rev 6842)
@@ -1,10 +0,0 @@
-Changes
-lib/Catalyst/Helper/Model/DBIC/Plain.pm
-lib/Catalyst/Model/DBIC/Plain.pm
-Makefile.PL
-MANIFEST This list of files
-META.yml
-README
-t/01use.t
-t/02pod.t
-t/03podcoverage.t
Added: trunk/Catalyst-Model-DBIC-Plain/MANIFEST.SKIP
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/MANIFEST.SKIP (rev 0)
+++ trunk/Catalyst-Model-DBIC-Plain/MANIFEST.SKIP 2007-09-06 00:15:31 UTC (rev 6842)
@@ -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$
Deleted: trunk/Catalyst-Model-DBIC-Plain/META.yml
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/META.yml 2007-09-05 19:46:43 UTC (rev 6841)
+++ trunk/Catalyst-Model-DBIC-Plain/META.yml 2007-09-06 00:15:31 UTC (rev 6842)
@@ -1,12 +0,0 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Catalyst-Model-DBIC-Plain
-version: 0.01
-version_from: lib/Catalyst/Model/DBIC/Plain.pm
-installdirs: site
-requires:
- Catalyst: 5.00
- DBIx::Class: 0.01
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
Modified: trunk/Catalyst-Model-DBIC-Plain/Makefile.PL
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/Makefile.PL 2007-09-05 19:46:43 UTC (rev 6841)
+++ trunk/Catalyst-Model-DBIC-Plain/Makefile.PL 2007-09-06 00:15:31 UTC (rev 6842)
@@ -1,11 +1,12 @@
-use ExtUtils::MakeMaker;
+use inc::Module::Install 0.67;
-WriteMakefile(
- NAME => 'Catalyst::Model::DBIC::Plain',
- AUTHOR => 'Danijel Milicevic (info at danijel.de)',
- PREREQ_PM => {
- Catalyst => '5.00',
- DBIx::Class => '0.01'
- },
- VERSION_FROM => 'lib/Catalyst/Model/DBIC/Plain.pm'
-);
+name 'Catalyst-Model-DBIC-Plain';
+all_from 'lib/Catalyst/Model/DBIC/Plain.pm';
+
+requires 'Catalyst::Runtime';
+requires 'DBIx::Class';
+
+requires 'Test::More';
+
+auto_install;
+WriteAll;
Deleted: trunk/Catalyst-Model-DBIC-Plain/README
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/README 2007-09-05 19:46:43 UTC (rev 6841)
+++ trunk/Catalyst-Model-DBIC-Plain/README 2007-09-06 00:15:31 UTC (rev 6842)
@@ -1,9 +0,0 @@
-This is the C<DBIx::Class> model class for Catalyst. Whilst it allows you to
-use DBIC as your model in Catalyst, it does not make your tables classes
-Catalyst-specific, so you can still use them in a non-Catalyst context.
-
-INSTALLATION:
-
-perl Makefile.PL
-make
-sudo make install
Modified: trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Helper/Model/DBIC/Plain.pm
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Helper/Model/DBIC/Plain.pm 2007-09-05 19:46:43 UTC (rev 6841)
+++ trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Helper/Model/DBIC/Plain.pm 2007-09-06 00:15:31 UTC (rev 6842)
@@ -4,12 +4,17 @@
=head1 NAME
-Catalyst::Helper::Model::DBIC::Plain - Helper for DBIC Plain Models
+Catalyst::Helper::Model::DBIC::Plain - (DEPRECATED) Helper for DBIC Plain Models
=head1 SYNOPSIS
script/create.pl model DBIC DBIC::Plain dsn user password
+=head1 DEPRECATION NOTICE
+
+This module has been deprecated in favor of the schema-based
+L<Catalyst::Model::DBIC::Schema>.
+
=head1 DESCRIPTION
Helper for the DBIC Plain Models.
Modified: trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Model/DBIC/Plain.pm
===================================================================
--- trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Model/DBIC/Plain.pm 2007-09-05 19:46:43 UTC (rev 6841)
+++ trunk/Catalyst-Model-DBIC-Plain/lib/Catalyst/Model/DBIC/Plain.pm 2007-09-06 00:15:31 UTC (rev 6842)
@@ -4,11 +4,11 @@
use base qw/Catalyst::Model DBIx::Class::Schema/;
use NEXT;
-our $VERSION = '0.03';
+our $VERSION = '0.04';
=head1 NAME
-Catalyst::Model::DBIC::Plain - DBIC Model Class
+Catalyst::Model::DBIC::Plain - (DEPRECATED) DBIC Model Class
=head1 SYNOPSIS
@@ -41,6 +41,11 @@
# or
MyApp::Model::DBIC::User->search(...);
+=head1 DEPRECATION NOTICE
+
+This module has been deprecated in favor of the schema-based
+L<Catalyst::Model::DBIC::Schema>.
+
=head1 DESCRIPTION
This is the C<DBIx::Class> model class for Catalyst. Whilst it allows you to
More information about the Catalyst-commits
mailing list