From: Andy Grundman Date: Fri, 23 Sep 2005 17:59:46 +0000 (+0000) Subject: Final 0.03001 release X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7e4b2f592f35284c849328d1e059d68fcbc0eb4d;p=dbsrgits%2FDBIx-Class-Historic.git Final 0.03001 release --- diff --git a/Changes b/Changes index 9c3bd14..56d7949 100644 --- a/Changes +++ b/Changes @@ -1,10 +1,10 @@ Revision history for DBIx::Class -0.03001 +0.03001 2005-09-23 14:00:00 - Fixes to relationship helpers - IMPORTANT: prefetch/schema combination bug fix -0.03 2005-09-20 +0.03 2005-09-19 19:35:00 - Paging support - Join support on search - Prefetch support on search diff --git a/META.yml b/META.yml index 423b0cc..285ba8e 100644 --- a/META.yml +++ b/META.yml @@ -1,9 +1,9 @@ --- name: DBIx-Class -version: 0.03 +version: 0.03001 author: - Matt S. Trout -abstract: Because the brain is a terrible thing to waste. +abstract: Extensible and flexible object <-> relational mapper. license: perl requires: DBD::SQLite: 1.08 @@ -22,7 +22,7 @@ provides: file: lib/DBIx/Class/Storage/DBI.pm DBIx::Class: file: lib/DBIx/Class.pm - version: 0.03 + version: 0.03001 DBIx::Class::AccessorGroup: file: lib/DBIx/Class/AccessorGroup.pm DBIx::Class::CDBICompat: diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..51d31fd --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,31 @@ +# Note: this file was auto-generated by Module::Build::Compat version 0.03 + + unless (eval "use Module::Build::Compat 0.02; 1" ) { + print "This module requires Module::Build to install itself.\n"; + + require ExtUtils::MakeMaker; + my $yn = ExtUtils::MakeMaker::prompt + (' Install Module::Build now from CPAN?', 'y'); + + unless ($yn =~ /^y/i) { + die " *** Cannot install without Module::Build. Exiting ...\n"; + } + + require Cwd; + require File::Spec; + require CPAN; + + # Save this 'cause CPAN will chdir all over the place. + my $cwd = Cwd::cwd(); + my $makefile = File::Spec->rel2abs($0); + + CPAN::Shell->install('Module::Build::Compat') + or die " *** Cannot install without Module::Build. Exiting ...\n"; + + chdir $cwd or die "Cannot chdir() back to $cwd: $!"; + } + eval "use Module::Build::Compat 0.02; 1" or die $@; + use lib '_build/lib'; + Module::Build::Compat->run_build_pl(args => \@ARGV); + require Module::Build; + Module::Build::Compat->write_makefile(build_class => 'Module::Build'); diff --git a/README b/README new file mode 100644 index 0000000..7083759 --- /dev/null +++ b/README @@ -0,0 +1,72 @@ +NAME + DBIx::Class - Extensible and flexible object <-> relational mapper. + +SYNOPSIS +DESCRIPTION + This is a sql to oop mapper, inspired by the Class::DBI framework, and + meant to support compability with it, while restructuring the insides, + and making it possible to support some new features like self-joins, + distinct, group bys and more. + + It's currently considered EXPERIMENTAL - bring this near a production + database at your own risk! The API is *not* fixed yet, although most of + the primitives should be good for the future and any API changes will be + posted to the mailing list before they're committed. + + The community can be found via - + + Mailing list: http://lists.rawmode.org/mailman/listinfo/dbix-class/ + + SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ + + Wiki: http://dbix-class.shadowcatsystems.co.uk/ + + IRC: irc.perl.org#dbix-class + +QUICKSTART + If you're using Class::DBI, replacing + + use base qw/Class::DBI/; + + with + + use base qw/DBIx::Class/; + __PACKAGE__->load_components(qw/CDBICompat Core DB/); + + will probably get you started. + + If you're using AUTO_INCREMENT for your primary columns, you'll also + want yo load the approriate PK::Auto subclass - e.g. + + __PACKAGE__->load_components(qw/CDBICompat PK::Auto::SQLite Core DB/); + + (with is what ::Test::SQLite does to present the + Class::DBI::Test::SQLite interface) + + If you fancy playing around with DBIx::Class from scratch, then read the + docs for DBIx::Class::Table, ::Row, ::Schema, ::DB and ::Relationship, + + use base qw/DBIx::Class/; + __PACKAGE__->load_components(qw/Core DB/); + + and have a look at t/lib/DBICTest.pm for a brief example. + +AUTHOR + Matt S. Trout + +CONTRIBUTORS + Andy Grundman + + Brian Cassidy + + Dan Kubb + + Dan Sully + + davekam + + Marcus Ramberg + +LICENSE + You may distribute this code under the same terms as Perl itself. + diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 40164e6..7f72e29 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -13,7 +13,7 @@ $VERSION = '0.03001'; =head1 NAME -DBIx::Class - Because the brain is a terrible thing to waste. +DBIx::Class - Extensible and flexible object <-> relational mapper. =head1 SYNOPSIS