From 62d51f024cc69931a4d8dcdd55bb71951c8dd8d4 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 24 Nov 2005 18:54:21 +0000 Subject: [PATCH] Update to 1.35: 1.35 Wed Nov 2 22:36:02 EST 2005 * Doc fixes and OrderBy cleanup from ruslan 1.34 Wed Nov 2 22:26:15 EST 2005 * Clone support from Ruslan 1.33 Thu Sep 22 14:27:46 EDT 2005 * Better SQL statement logging from alex 1.32 Thu Sep 1 06:52:42 EDT 2005 * DBD::SQLite is necessary for the test suite to run correctl 1.31 Fri Jul 29 12:47:25 EDT 2005 * Updated MANIFEST to fix a build issue - Thanks to Andy Lester and David Glasser 1.30 Thu Jul 28 10:17:27 EDT 2005 * Removed {{{ and }}} fold markers. Patch from Ruslan 1.30_03 Thu Jun 9 01:35:49 EDT 2005 * Significant new tests from Ruslan Zakirov and Dave Glasser * You no longer need to explicitly bless a DBIx::SearchBuilder::Handle subclass * Start of a major overhaul of the subclass API for DBIx::SearchBuilder::Record objects. A new "schema" method will define the data in _ClassAccessible and also generate database schema using DBIx::DBSchema. Fixes from Ruslan: * for numeric types, make the empty check be "null or 0", not "null or ''" * New search tests from ruslan * added an init_data method to t/utils.pl * CleanSlate doesnt init show_rows * CleanSlate doesnt clean _{open|close}_parens * get rid of stupid ifs in CleanSlate * get rid of evals in _DoSearch and _DoCount, use Handle methods to control DBI error handling * rewrite LoadByPrimaryKeys args handling to consistent with other Load* methods * report error when PK filed is missing in LoadByPrimaryKeys * fix warning in __Set methods when newvalue is undef * small code cleanups * test coverage grows from 75.2% to 84.7% for Record.pm 1.30_02 Sun May 22 15:21:19 EDT 2005 - Lots of patches from Ruslan: First and main change is using of `goto &$AUTOLOAD` syntax, that helps avoid code duplication and hides AUTOLOAD sub from stack trace. I think this also would help implement CompileAllAutoSubs method easier. - It's also one of the steps to better tests coverage. - Test coverage for Record.pm grows from 66% to 75.2%. - _LoadFromSQL never reported error when PK fields are missed. Fixed. - fetchrow_hashref dies only when RaiseErrors is true, because we can control this from Handle obj so we should die according to $Handle->RaiseErrors property. Fixed. - When RaiseErrors is "false" then fetchrow_hashref returns undef and we should check $sth->err(see `perldoc DBI`). Fixed. - After call to fetchrow we should clean "fetched" internal hash and fill it only when we return successful result. Fixed. - If SimpleQuery fails, _LoadFromSQL method doesn't return any error message. Fixed. 1.30_01 Mon May 16 21:37:03 BST 2005 - Patches from Ruslan to switch to using 'capitalization.pm' for our regular_case subroutine aliases 1.27 Sun May 8 22:49:30 EDT 2005 - Added supoprt for functions containing "?" to represent the parameter in ->Column() - Added better support for functional columns in search listings and group by clauses 1.26 Sun Apr 17 19:22:23 EDT 2005 - Added support for expression based left joins 1.25 Sat Apr 9 12:33:30 EDT 2005 - Backed out a change introduced in 1.23 that caused table and column names to be quoted, causing Postgres to flip out. 1.24 Wed Apr 6 22:54:37 EDT 2005 - Added a new "SearchBuilder::Unique" module for uniquifying search results 1.23 - Now use DBI->quote_identifier to quote column and table names (Ruslan) - Test suite updates (Ruslan) --- databases/p5-DBIx-SearchBuilder/Makefile | 10 +++++++--- databases/p5-DBIx-SearchBuilder/distinfo | 8 ++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/databases/p5-DBIx-SearchBuilder/Makefile b/databases/p5-DBIx-SearchBuilder/Makefile index 84248038c688..77bd2932f682 100644 --- a/databases/p5-DBIx-SearchBuilder/Makefile +++ b/databases/p5-DBIx-SearchBuilder/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.24 2005/08/06 06:19:06 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2005/11/24 18:54:21 wiz Exp $ # -DISTNAME= DBIx-SearchBuilder-1.22 +DISTNAME= DBIx-SearchBuilder-1.35 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5dxs -PKGREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/} @@ -12,8 +11,13 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://search.cpan.org/dist/DBIx-SearchBuilder/ COMMENT= Extension for easy SQL SELECT Statement generation +BUILD_DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite +DEPENDS+= p5-capitalization>=0.03:../../devel/p5-capitalization +DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue +DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone DEPENDS+= p5-DBI>=1.41:../../databases/p5-DBI +DEPENDS+= p5-DBIx-DBSchema-[0-9]*:../../databases/p5-DBIx-DBSchema DEPENDS+= p5-Want-[0-9]*:../../devel/p5-Want DEPENDS+= p5-Cache-Simple-TimedExpiry>=0.21:../../devel/p5-Cache-Simple-TimedExpiry diff --git a/databases/p5-DBIx-SearchBuilder/distinfo b/databases/p5-DBIx-SearchBuilder/distinfo index 420565c5ef85..600e018bbce2 100644 --- a/databases/p5-DBIx-SearchBuilder/distinfo +++ b/databases/p5-DBIx-SearchBuilder/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.15 2005/03/24 17:00:14 cube Exp $ +$NetBSD: distinfo,v 1.16 2005/11/24 18:54:21 wiz Exp $ -SHA1 (DBIx-SearchBuilder-1.22.tar.gz) = b55b4ca976c2b293583d8d2798a220b97dbec477 -RMD160 (DBIx-SearchBuilder-1.22.tar.gz) = 705c6c1aa06a121b96a20ef8e4ee15e63b7e0361 -Size (DBIx-SearchBuilder-1.22.tar.gz) = 43691 bytes +SHA1 (DBIx-SearchBuilder-1.35.tar.gz) = 03f466d94f37e380059212d00de4f703a7d533f4 +RMD160 (DBIx-SearchBuilder-1.35.tar.gz) = 45178a91e8e8cd2cb518afc2345620336e3a2828 +Size (DBIx-SearchBuilder-1.35.tar.gz) = 68516 bytes