r55127 - in /trunk/libdbd-csv-perl: ChangeLog MANIFEST MANIFEST.SKIP META.yml Makefile.PL debian/changelog lib/Bundle/DBD/CSV.pm lib/DBD/CSV.pm t/00_minimumversion.t t/71_csv-ext.t t/lib.pl
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Mar 30 16:20:26 UTC 2010
Author: gregoa
Date: Tue Mar 30 16:20:19 2010
New Revision: 55127
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55127
Log:
* New upstream release 0.28.
Removed:
trunk/libdbd-csv-perl/t/00_minimumversion.t
Modified:
trunk/libdbd-csv-perl/ChangeLog
trunk/libdbd-csv-perl/MANIFEST
trunk/libdbd-csv-perl/MANIFEST.SKIP
trunk/libdbd-csv-perl/META.yml
trunk/libdbd-csv-perl/Makefile.PL
trunk/libdbd-csv-perl/debian/changelog
trunk/libdbd-csv-perl/lib/Bundle/DBD/CSV.pm
trunk/libdbd-csv-perl/lib/DBD/CSV.pm
trunk/libdbd-csv-perl/t/71_csv-ext.t
trunk/libdbd-csv-perl/t/lib.pl
Modified: trunk/libdbd-csv-perl/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/ChangeLog?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/ChangeLog (original)
+++ trunk/libdbd-csv-perl/ChangeLog Tue Mar 30 16:20:19 2010
@@ -1,3 +1,11 @@
+2010-03-16 0.28 H.Merijn Brand
+
+ * Remove t/00_minimumversion.t from distribution
+ * Dropped YAML spec to 1.0
+ * Sync up with SQL::Statement 1.25
+ NOTE: Internals of both modules changed. They will change again for
+ SQL::Statement 2.0
+
2010-02-17 0.27 H.Merijn Brand
* Upped copyright to 2010
Modified: trunk/libdbd-csv-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/MANIFEST?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/MANIFEST (original)
+++ trunk/libdbd-csv-perl/MANIFEST Tue Mar 30 16:20:19 2010
@@ -6,7 +6,6 @@
lib/Bundle/DBD/CSV.pm
lib/DBD/CSV.pm
t/00_meta.t
-t/00_minimumversion.t
t/00_pod_cov.t
t/00_pod.t
t/10_base.t
Modified: trunk/libdbd-csv-perl/MANIFEST.SKIP
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/MANIFEST.SKIP?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/MANIFEST.SKIP (original)
+++ trunk/libdbd-csv-perl/MANIFEST.SKIP Tue Mar 30 16:20:19 2010
@@ -15,3 +15,4 @@
^xx
META.yml
valgrind.log
+xt/00_minimumversion.t
Modified: trunk/libdbd-csv-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/META.yml?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/META.yml (original)
+++ trunk/libdbd-csv-perl/META.yml Tue Mar 30 16:20:19 2010
@@ -1,6 +1,6 @@
---- #YAML:1.1
+--- #YAML:1.0
name: DBD::CSV
-version: 0.27
+version: 0.28
abstract: DBI driver for CSV files
license: perl
author:
@@ -12,12 +12,12 @@
provides:
DBD::CSV:
file: lib/DBD/CSV.pm
- version: 0.27
+ version: 0.28
requires:
perl: 5.005003
DBI: 1.00
DBD::File: 0.37
- SQL::Statement: 1.23
+ SQL::Statement: 1.25
Text::CSV_XS: 0.64
configure_requires:
ExtUtils::MakeMaker: 0
Modified: trunk/libdbd-csv-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/Makefile.PL?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/Makefile.PL (original)
+++ trunk/libdbd-csv-perl/Makefile.PL Tue Mar 30 16:20:19 2010
@@ -34,7 +34,7 @@
PREREQ_PM => {
"DBI" => 1.00,
"Text::CSV_XS" => 0.64,
- "SQL::Statement" => 1.22,
+ "SQL::Statement" => 1.25,
"DBD::File" => 0.37,
"Test::More" => 0,
},
@@ -56,7 +56,7 @@
sub postamble
{
- my $min_vsn = ($] >= 5.010 && -d "xt" && -d "tmp" && ($ENV{AUTOMATED_TESTING} || 0) != 1)
+ my $min_vsn = ($] >= 5.010 && -d "xt" && ($ENV{AUTOMATED_TESTING} || 0) != 1)
? join "\n" =>
'test ::',
' - at env TEST_FILES="xt/*.t" make -e test_dynamic',
Modified: trunk/libdbd-csv-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/debian/changelog?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/debian/changelog (original)
+++ trunk/libdbd-csv-perl/debian/changelog Tue Mar 30 16:20:19 2010
@@ -1,4 +1,4 @@
-libdbd-csv-perl (0.2700-1) UNRELEASED; urgency=low
+libdbd-csv-perl (0.2800-1) UNRELEASED; urgency=low
TODO:
- changelog says below something about minimumversion patch, I don't see any
@@ -6,11 +6,15 @@
- copyright years outdated (despite TODO in commit log)
- what about the new "recommends" in META.yml? (hm, just higher versions)
- * New upstream release
+ [ Jonathan Yu ]
+ * New upstream release 0.27
* Rewrite control description
* Refresh minimumversion patch
- -- Jonathan Yu <jawnsy at cpan.org> Wed, 17 Feb 2010 22:10:17 -0500
+ [ gregor herrmann ]
+ * New upstream release 0.28.
+
+ -- gregor herrmann <gregoa at debian.org> Tue, 30 Mar 2010 18:18:50 +0200
libdbd-csv-perl (0.2600-1) unstable; urgency=low
Modified: trunk/libdbd-csv-perl/lib/Bundle/DBD/CSV.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/lib/Bundle/DBD/CSV.pm?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/lib/Bundle/DBD/CSV.pm (original)
+++ trunk/libdbd-csv-perl/lib/Bundle/DBD/CSV.pm Tue Mar 30 16:20:19 2010
@@ -2,7 +2,7 @@
package Bundle::DBD::CSV;
-$VERSION = "1.02";
+$VERSION = "1.03";
1;
@@ -18,15 +18,15 @@
=head1 CONTENTS
-DBI 1.609
+DBI 1.611
-Text::CSV_XS 0.65
+Text::CSV_XS 0.71
-SQL::Statement 1.20
+SQL::Statement 1.25
-DBD::File 0.37
+DBD::File 0.38
-DBD::CSV 0.25
+DBD::CSV 0.28
=head1 DESCRIPTION
Modified: trunk/libdbd-csv-perl/lib/DBD/CSV.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/lib/DBD/CSV.pm?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/lib/DBD/CSV.pm (original)
+++ trunk/libdbd-csv-perl/lib/DBD/CSV.pm Tue Mar 30 16:20:19 2010
@@ -34,7 +34,7 @@
@ISA = qw( DBD::File );
-$VERSION = "0.27";
+$VERSION = "0.28";
$err = 0; # holds error code for DBI::err
$errstr = ""; # holds error string for DBI::errstr
@@ -125,22 +125,23 @@
# Being a bit dirty here, as SQL::Statement::Structure does not offer
# me an interface to the data I want
- my $struct = $sth->{f_stmt}{struct} || {};
- my @cols = @{ $struct->{column_names} || [] };
+ my $struct = $sth->{f_stmt}{struct} || {};
+ my @coldefs = @{ $struct->{column_defs} || [] };
+ my @colnames = map { $_->{name} || $_->{value} } @coldefs;
$attr eq "TYPE" and
- return [ map { $struct->{column_defs}{$_}{data_type} || "CHAR" }
- @cols ];
+ return [ map { $struct->{table_defs}->{columns}{$_}{data_type} || "CHAR" }
+ @colnames ];
$attr eq "PRECISION" and
- return [ map { $struct->{column_defs}{$_}{data_length} || 0 }
- @cols ];
+ return [ map { $struct->{table_defs}->{columns}{$_}{data_length} || 0 }
+ @colnames ];
$attr eq "NULLABLE" and
return [ map { ( grep m/^NOT NULL$/ =>
- @{ $struct->{column_defs}{$_}{constraints} || [] } )
+ @{ $struct->{table_defs}->{columns}{$_}{constraints} || [] } )
? 0 : 1 }
- @cols ];
+ @colnames ];
return $sth->SUPER::FETCH ($attr);
} # FETCH
Modified: trunk/libdbd-csv-perl/t/71_csv-ext.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/t/71_csv-ext.t?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/t/71_csv-ext.t (original)
+++ trunk/libdbd-csv-perl/t/71_csv-ext.t Tue Mar 30 16:20:19 2010
@@ -34,8 +34,9 @@
ok (!-f DbFile ($tbl), "does not exist");
foreach my $ext (@ext) {
- like (my $def = TableDefinition ($tbl.$ext, @tbl_def),
- qr{^create table $tbl}i, "table definition");
+ my $qt = '"'.$tbl.$ext.'"';
+ like (my $def = TableDefinition ($qt, @tbl_def),
+ qr{^create table $qt}i, "table definition");
ok ($dbh->do ($def), "create table $ext");
ok (-f DbFile ($tbl.$ext), "does exists");
}
Modified: trunk/libdbd-csv-perl/t/lib.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/t/lib.pl?rev=55127&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/t/lib.pl (original)
+++ trunk/libdbd-csv-perl/t/lib.pl Tue Mar 30 16:20:19 2010
@@ -70,7 +70,8 @@
push @colDefs, $colDef;
}
my $keyDef = @keys ? ", PRIMARY KEY (" . join (", ", @keys) . ")" : "";
- return sprintf "CREATE TABLE %s (%s%s)", $tablename,
+ my $tq = $tablename =~ m/^\w+\./ ? qq{"$tablename"} : $tablename;
+ return sprintf "CREATE TABLE %s (%s%s)", $tq,
join (", ", @colDefs), $keyDef;
} # TableDefinition
More information about the Pkg-perl-cvs-commits
mailing list