From c1341d0f05de751f1dd2e70b24caf0a7aa5866e1 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 25 Mar 2004 12:38:36 +0000 Subject: [PATCH] Fixes for rollout. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@92 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 12 ++++++++++++ MANIFEST | 11 ++++++++++- Makefile.PL | 6 +++--- {lib => ex}/BeerDB.pm | 0 4 files changed, 25 insertions(+), 4 deletions(-) rename {lib => ex}/BeerDB.pm (100%) diff --git a/Changes b/Changes index 64431d3..1c94374 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,17 @@ Revision history for Perl extension Maypole +1.2 Thu Mar 25 12:35:21 GMT 2004 + - Ensure safety when dereferencing any ->objects + - Support for the "frontpage" template + - Maypole itself no longer uses ->{ar}, which is now completely + refactored into the Apache::MVC class + - The beginnings of the documentation framework + - Support for paging and ordering in searches + - Stringify column changed from magic "name" to customizable + property + - Move BeerDB to ex/ + - Fix SQLite dependency + 1.1 Wed Feb 25 10:29:25 GMT 2004 - Update CDBIL dependency - Don't stringify to "name" if there isn't one diff --git a/MANIFEST b/MANIFEST index 720f8ff..25d833c 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,12 +1,21 @@ MANIFEST Changes +doc/About.pod +doc/Beer.pod +doc/Flox.pod +doc/Model.pod +doc/Overview.pod +doc/Request.pod +doc/StandardTemplates.pod +doc/View.pod +doc/makedoc.pl +ex/BeerDB.pm lib/Maypole/Model/Base.pm lib/Maypole/Model/CDBI.pm lib/Maypole/View/TT.pm lib/Maypole/Workflow.pod lib/Maypole.pm lib/Apache/MVC.pm -lib/BeerDB.pm t/1.t Makefile.PL README diff --git a/Makefile.PL b/Makefile.PL index 5223609..16e81ab 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -21,13 +21,13 @@ WriteMakefile( }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Apache/MVC.pm', # retrieve abstract from module - AUTHOR => 'Simon Cozens ') : ()), + AUTHOR => 'Simon Cozens ') : ()), ); if (!-e "t/beerdb.db") { print "Making SQLite DB\n"; - require DBD::SQLite - or die "No, wait, we don't have SQLite installed. Never mind\n"; + eval { require DBD::SQLite }; + die "No, wait, we don't have SQLite installed. Never mind\n" if $@; require DBI; my $dbh = DBI->connect("dbi:SQLite:dbname=t/beerdb.db"); diff --git a/lib/BeerDB.pm b/ex/BeerDB.pm similarity index 100% rename from lib/BeerDB.pm rename to ex/BeerDB.pm -- 2.39.5