From: Simon Cozens Date: Thu, 5 Feb 2004 18:04:23 +0000 (+0000) Subject: 0.2 release. X-Git-Tag: 2.10~314 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=32c3b29f6c8d981c5ee7a9e8e53a982c17c9c031;p=maypole.git 0.2 release. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@48 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/Changes b/Changes index 862165e..936aa11 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension Apache::MVC. +0.2 Thu Feb 5 18:03:33 GMT 2004 + - This release adds paging of list results and ordering by column + (ascending and descending) + 0.01 Thu Jan 8 15:50:17 2004 - original version; created by h2xs 1.22 with options -AX -b 5.6.0 -n Apache::MVC diff --git a/MANIFEST b/MANIFEST index 24e684c..6f98971 100644 --- a/MANIFEST +++ b/MANIFEST @@ -21,3 +21,4 @@ templates/factory/navbar templates/factory/edit templates/factory/view TODO +META.yml Module meta-data (added by MakeMaker) diff --git a/Makefile.PL b/Makefile.PL index 0fd48c0..7ba8922 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,6 +9,7 @@ WriteMakefile( Class::DBI::Loader => 0, Class::DBI::AbstractSearch => 0, Class::DBI::Pager => 0, + Class::DBI::Plugin::RetrieveAll => 0, Class::DBI::AsForm => 0, Class::DBI::FromCGI => 0, Class::DBI::Loader::Relationship => 0, diff --git a/lib/Apache/MVC.pm b/lib/Apache/MVC.pm index 61e0764..89928fa 100644 --- a/lib/Apache/MVC.pm +++ b/lib/Apache/MVC.pm @@ -6,7 +6,7 @@ use UNIVERSAL::require; use Apache::Constants ":common"; use strict; use warnings; -our $VERSION = "0.1"; +our $VERSION = "0.2"; __PACKAGE__->mk_classdata($_) for qw( _config init_done view_object ); __PACKAGE__->mk_accessors ( qw( config ar params query objects model_class args action template )); diff --git a/lib/BeerDB.pm b/lib/BeerDB.pm index 1f673f2..f97409f 100644 --- a/lib/BeerDB.pm +++ b/lib/BeerDB.pm @@ -7,11 +7,10 @@ sub handler { Apache::MVC::handler(__PACKAGE__, @_) } # This is the sample application. Change this to the path to your # database. (or use mysql or something) -#BeerDB->set_database("dbi:SQLite:t/beerdb.db"); -BeerDB->set_database("dbi:mysql:beerdb"); +BeerDB->set_database("dbi:SQLite:t/beerdb.db"); + # Change this to the root of the web space. -#BeerDB->config->{uri_base} = "http://localhost/beerdb/"; -BeerDB->config->{uri_base} = "http://neo.trinity-house.org.uk/beerdb/"; +BeerDB->config->{uri_base} = "http://localhost/beerdb/"; BeerDB->config->{rows_per_page} = 10;