Hello community,

here is the log from the commit of package perl-Text-TabularDisplay for 
openSUSE:Factory checked in at 2013-06-13 20:24:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-TabularDisplay (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Text-TabularDisplay.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Text-TabularDisplay"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Text-TabularDisplay/perl-Text-TabularDisplay.changes
        2012-01-12 15:26:45.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Text-TabularDisplay.new/perl-Text-TabularDisplay.changes
   2013-06-13 20:24:30.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jun  4 15:20:25 UTC 2013 - [email protected]
+
+- updated to 1.34, no changelog
+
+-------------------------------------------------------------------

Old:
----
  Text-TabularDisplay-1.28.tar.gz

New:
----
  Text-TabularDisplay-1.34.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Text-TabularDisplay.spec ++++++
--- /var/tmp/diff_new_pack.MkMBlG/_old  2013-06-13 20:24:30.000000000 +0200
+++ /var/tmp/diff_new_pack.MkMBlG/_new  2013-06-13 20:24:30.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Text-TabularDisplay
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,30 +15,56 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           perl-Text-TabularDisplay
+Version:        1.34
+Release:        0
 %define cpan_name Text-TabularDisplay
 Summary:        Display text in formatted table output
 License:        GPL-2.0
 Group:          Development/Libraries/Perl
-Version:        1.28
-Release:        0
 Url:            http://search.cpan.org/dist/Text-TabularDisplay/
-Source:         
http://www.cpan.org/authors/id/D/DA/DARREN/Text-TabularDisplay-%{version}.tar.gz
+Source:         
http://www.cpan.org/authors/id/D/DA/DARREN/%{cpan_name}-%{version}.tar.gz
+# MANUAL LICENSE
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(IO::File)
-Requires:       perl(IO::File)
+#BuildRequires: perl(DBI)
+#BuildRequires: perl(MySQL::Config)
+#BuildRequires: perl(Text::TabularDisplay)
+%{perl_requires}
 
 %description
 Text::TabularDisplay simplifies displaying textual data in a table. The
 output is identical to the columnar display of query results in the mysql
 text monitor. For example, this data:
 
+    1, "Tom Jones", "(666) 555-1212"
+    2, "Barnaby Jones", "(666) 555-1213"
+    3, "Bridget Jones", "(666) 555-1214"
+
+Used like so:
+
+    my $t = Text::TabularDisplay->new(qw(id name phone));
+    $t->add(1, "Tom Jones", "(666) 555-1212");
+    $t->add(2, "Barnaby Jones", "(666) 555-1213");
+    $t->add(3, "Bridget Jones", "(666) 555-1214");
+    print $t->render;
+
+Produces:
+
+    +----+---------------+----------------+
+    | id | name          | phone          |
+    +----+---------------+----------------+
+    | 1  | Tom Jones     | (666) 555-1212 |
+    | 2  | Barnaby Jones | (666) 555-1213 |
+    | 3  | Bridget Jones | (666) 555-1214 |
+    +----+---------------+----------------+
+
 %prep
 %setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -49,18 +75,11 @@
 
 %install
 %perl_make_install
-# do not perl_process_packlist (noarch)
-# remove .packlist file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
-# remove perllocal.pod file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
+%perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc Changes README
+%defattr(-,root,root,755)
+%doc COPYING examples README
 
 %changelog

++++++ Text-TabularDisplay-1.28.tar.gz -> Text-TabularDisplay-1.34.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/Changes 
new/Text-TabularDisplay-1.34/Changes
--- old/Text-TabularDisplay-1.28/Changes        2011-06-21 16:16:13.000000000 
+0200
+++ new/Text-TabularDisplay-1.34/Changes        1970-01-01 01:00:00.000000000 
+0100
@@ -1,325 +0,0 @@
-======================================================================
-                     --- Text-TabularDisplay ---
-======================================================================
-
-2004-10-20 16:28  dlc
-
-       * TabularDisplay (1.20): Applied a mutate agglomeration of a pair of
-       patches from Prakash Kailasa and Paul Cameron to address newline folding
-       within values, slightly modified according to suggestions from Slaven
-       Rezic.
-
-2004-09-21 09:14  dlc
-
-       * TabularDisplay.pm (1.19): Applied a patch from Eric Cholet to
-       silence warnings (<https://rt.cpan.org/Ticket/Display.html?id=7693>)
-
-2002-10-28 15:14  dlc
-
-       * README (1.6): Version updates.
-
-2002-10-25 00:10  dlc
-
-       * README (1.5): Updated.
-
-2002-10-25 00:10  dlc
-
-       * Changes (1.11): Automatically generated by cvs2cl.pl for
-       dlc@tumbleweed
-
-2002-10-25 00:10  dlc
-
-       * Makefile.PL (1.5): Using DISTVNAME and SUFFIX.
-
-2002-10-25 00:10  dlc
-
-       * MANIFEST (1.7): Added another example: tdisplay
-
-2002-10-25 00:08  dlc
-
-       * examples/mysql.pl (1.3): Added optional addition of
-       MySQL::Config.  Changed username references to user, so that the
-       defaults in my.cnf could be used.
-
-2002-10-24 23:56  dlc
-
-       * examples/tdisplay (1.2): Hey, this is actually kind of useful. 
-       Should this be one of the examples, or should it be an actual part
-       of the package?
-
-2002-10-24 23:29  dlc
-
-       * examples/tdisplay (1.1): Command-line script to display stuff as
-       tables.
-
-2002-10-24 18:26  dlc
-
-       * t/13.t (1.2): Updated test.
-
-2002-10-24 18:26  dlc
-
-       * TabularDisplay.pm (1.18): Added _SIZE.  Does The Right Thing for
-       cases where the number of elements in the header is changed after
-       data is added.  See t/13.t for more details, and an example of what
-       this actually means.
-
-2002-10-24 17:48  dlc
-
-       * README (1.4): Up-to-date README.
-
-2002-10-24 17:42  dlc
-
-       * Changes (1.10): Automatically generated by cvs2cl.pl for
-       dlc@tumbleweed
-
-2002-10-24 17:40  dlc
-
-       * t/14.t (1.1): Test for populate().
-
-2002-10-24 17:40  dlc
-
-       * examples/dump-passwd.pl (1.2): Removed alignment characters (no
-       longer applicable), and simplified the program a lot.
-
-2002-10-24 17:31  dlc
-
-       * MANIFEST (1.6): Added another test.
-
-2002-10-24 17:31  dlc
-
-       * TabularDisplay.pm (1.17): Added paginate() method.
-
-2002-10-16 07:04  dlc
-
-       * TabularDisplay.pm (1.16): populate unintentionally ate the array
-       it was passed; fixed.  Added items method, which returns the number
-       of elements that the structure contains.
-
-2002-10-15 16:26  dlc
-
-       * examples/mysql.pl (1.2): Added command history (reads/writes to
-       ~/.mysql_history).
-
-2002-10-15 16:21  dlc
-
-       * examples/aliases (1.2): Added -l to #! line.
-
-2002-10-15 16:21  dlc
-
-       * t/08.t (1.5): Removed alignment tests.
-
-2002-10-15 16:20  dlc
-
-       * TabularDisplay.pm (1.15): Silly diff: added ; to end of a line.
-
-2002-10-15 16:20  dlc
-
-       * TabularDisplay.pm (1.14): Moved Version() to beginning.  Removed
-       references to _format_column, including definition.  Removed _align
-       function: Alignment no longer exists.
-
-2002-10-09 07:19  dlc
-
-       * TabularDisplay.pm (1.12), TabularDisplay.pm (1.13): Gets version
-       from $Revision: 1.1 $.
-
-2002-10-09 07:18  dlc
-
-       * Makefile.PL (1.4): Uses TabularDisplay.pm for version.
-
-2002-10-09 07:14  dlc
-
-       * TabularDisplay.pm (1.11): Added _format_column function, which
-       formats the column names.  Added _align function, which justifies
-       text Added sum function, which returns the sum of the elements in
-       an array.  This is a nice function, I like it.  Added integer
-       pragma, in a (potentially misguided) attempt to make division
-       faster.  Updated documentation to reflect changes.
-
-2002-10-09 07:11  dlc
-
-       * MANIFEST (1.5): Added another example and another test.
-
-2002-10-09 07:11  dlc
-
-       * t/08.t (1.4): Readded test, with new contents.
-
-2002-10-09 07:05  dlc
-
-       * examples/dump-passwd.pl (1.1): Another example.
-
-2002-10-08 16:35  dlc
-
-       * t/08.t (1.3): Removed string overloading, so this test is not
-       relevent.
-
-2002-10-08 13:47  dlc
-
-       * TabularDisplay.pm (1.10): Clears _COLUMNS when new columns are
-       added.
-
-2002-10-08 13:46  dlc
-
-       * t/13.t (1.1): Test for column silliness, reported by "David N.
-       Blank-Edelman" <[email protected]>.
-
-2002-09-24 06:47  dlc
-
-       * TabularDisplay.pm (1.9): Automatically sets $VERSION
-
-2002-09-24 06:39  dlc
-
-       * TabularDisplay.pm (1.8), Makefile.PL (1.3): Incremented version
-       number for release.
-
-2002-09-24 06:38  dlc
-
-       * Changes (1.7), Changes (1.8), Changes (1.9): Automatically
-       generated by cvs2cl.pl for dlc@tumbleweed
-
-2002-09-24 06:38  dlc
-
-       * .todo (1.2): Marked documentation complete.
-
-2002-09-23 23:43  dlc
-
-       * TabularDisplay.pm (1.7): More VERSION stuff.
-
-2002-09-23 23:41  dlc
-
-       * TabularDisplay.pm (1.6): Added VERSION stuff.
-
-2002-09-23 23:39  dlc
-
-       * Changes (1.6): Automatically generated by cvs2cl.pl for
-       dlc@tumbleweed
-
-2002-09-23 23:39  dlc
-
-       * Makefile.PL (1.2): Updated $VERSION
-
-2002-09-23 23:35  dlc
-
-       * t/05.t (1.3): Changes to accomidate $start and $end additions to
-       render().
-
-2002-09-23 23:35  dlc
-
-       * README (1.3): Updated README
-
-2002-09-23 23:35  dlc
-
-       * Changes (1.4), Changes (1.5): Automatically generated by
-       cvs2cl.pl for dlc@tumbleweed
-
-2002-09-23 23:34  dlc
-
-       * TabularDisplay.pm (1.5): Added $start and $end to render();
-       documented them.
-
-2002-09-23 23:23  dlc
-
-       * TabularDisplay.pm (1.4): Some more documentation.
-
-2002-09-23 22:44  dlc
-
-       * MANIFEST (1.4): Added examples/mysql.pl; resorted
-
-2002-09-23 22:44  dlc
-
-       * examples/mysql.pl (1.1): Example mysql client, using
-       Text::TabularDisplay
-
-2002-09-23 18:15  dlc
-
-       * MANIFEST (1.3): Added examples and t/12.t
-
-2002-09-23 18:14  dlc
-
-       * README (1.2): Updated README.
-
-2002-09-23 18:12  dlc
-
-       * Changes (1.3): Automatically generated by cvs2cl.pl for
-       dlc@tumbleweed
-
-2002-09-23 18:12  dlc
-
-       * TabularDisplay.pm (1.3): Moved resetting to reset() and out of
-       columns().  columns() calls _add internally.  add() calls _add
-       internally.  Added _add() function, which adds data to the
-       instance.  Removed references to $self->{ _COLUMNS }; replaced with
-       [ $self->columns ].  Added populate() method, which handles
-       references to array refs -- no longer a special case in add(). 
-       Updated documentation: documented reset(), populate(); removed
-       incorrect documentation for add() and columns().
-
-2002-09-23 18:09  dlc
-
-       * t/12.t (1.1): Tests adding columns after the fact.
-
-2002-09-23 18:08  dlc
-
-       * t/11.t (1.2): Modified add; no longer takes [ [], [], [], ].  Use
-       populate() instead.  Updated test.
-
-2002-09-23 18:08  dlc
-
-       * t/03.t (1.3): Changes the way columns bahaves; updated tests.
-
-2002-09-23 18:07  dlc
-
-       * t/01.t (1.3): No real changes.
-
-2002-09-23 12:02  dlc
-
-       * TabularDisplay.pm (1.2): Added clone method.  Added lots more
-       docs.  Handles arrayrefs of arrayrefs.
-
-2002-09-23 12:01  dlc
-
-       * MANIFEST (1.2): Added tests 9, 10, and 11
-
-2002-09-23 07:09  dlc
-
-       * examples/aliases (1.1): Example usage.
-
-2002-09-23 06:49  dlc
-
-       * t/11.t (1.1): Test for passing arrays of arrays to add().
-
-2002-09-23 06:33  dlc
-
-       * t/10.t (1.1): Added test for add() chaining.
-
-2002-09-23 06:26  dlc
-
-       * t/: 01.t (1.2), 02.t (1.2), 03.t (1.2), 04.t (1.2), 05.t (1.2),
-       06.t (1.2), 07.t (1.2), 08.t (1.2): Added RCS Id strings.
-
-2002-09-23 06:26  dlc
-
-       * t/09.t (1.1): Added test for clone method.
-
-2002-09-23 06:15  dlc
-
-       * Changes (1.2): Automatically generated by cvs2cl.pl for
-       dlc@tumbleweed
-
-2002-09-23 06:15  dlc
-
-       * .todo (1.1), Changes (1.1), MANIFEST (1.1), Makefile.PL (1.1),
-       README (1.1), TabularDisplay.pm (1.1), t/01.t (1.1), t/02.t (1.1),
-       t/03.t (1.1), t/04.t (1.1), t/05.t (1.1), t/06.t (1.1), t/07.t
-       (1.1), t/08.t (1.1): Initial revision
-
-2002-09-23 06:15  dlc
-
-       * .todo (1.1.1.1), Changes (1.1.1.1), MANIFEST (1.1.1.1),
-       Makefile.PL (1.1.1.1), README (1.1.1.1), TabularDisplay.pm
-       (1.1.1.1), t/01.t (1.1.1.1), t/02.t (1.1.1.1), t/03.t (1.1.1.1),
-       t/04.t (1.1.1.1), t/05.t (1.1.1.1), t/06.t (1.1.1.1), t/07.t
-       (1.1.1.1), t/08.t (1.1.1.1) (utags: start): Text::TabularDisplay
-
-
- vim: set ft=changelog:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/MANIFEST 
new/Text-TabularDisplay-1.34/MANIFEST
--- old/Text-TabularDisplay-1.28/MANIFEST       2011-08-16 04:40:47.000000000 
+0200
+++ new/Text-TabularDisplay-1.34/MANIFEST       2013-02-24 13:46:50.000000000 
+0100
@@ -1,5 +1,4 @@
 COPYING
-Changes
 examples/aliases
 examples/dump-passwd.pl
 examples/mysql.pl
@@ -23,5 +22,7 @@
 t/13.t
 t/14.t
 t/15.t
+t/16.t
+t/17.t
 TabularDisplay.pm
 META.yml                                 Module meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/META.yml 
new/Text-TabularDisplay-1.34/META.yml
--- old/Text-TabularDisplay-1.28/META.yml       2011-08-16 04:41:38.000000000 
+0200
+++ new/Text-TabularDisplay-1.34/META.yml       2013-02-24 13:46:50.000000000 
+0100
@@ -1,9 +1,10 @@
 --- #YAML:1.0
 name:               Text-TabularDisplay
-version:            1.28
-abstract:           ~
-author:  []
-license:            unknown
+version:            1.34
+abstract:           Display text in formatted table output
+author:
+    - darren chamberlain <[email protected]>
+license:            perl
 distribution_type:  module
 configure_requires:
     ExtUtils::MakeMaker:  0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/Makefile.PL 
new/Text-TabularDisplay-1.34/Makefile.PL
--- old/Text-TabularDisplay-1.28/Makefile.PL    2011-08-06 17:58:49.000000000 
+0200
+++ new/Text-TabularDisplay-1.34/Makefile.PL    2013-02-24 13:21:25.000000000 
+0100
@@ -9,10 +9,13 @@
 %clean     = ('FILES' => '$(DISTVNAME).tar$(SUFFIX)');
 
 WriteMakefile(
-    NAME         => __PACKAGE__,
-    VERSION_FROM => "TabularDisplay.pm",
-    PREREQ_PM    => \%PREREQ_PM,
-    clean        => \%clean,
+    NAME            => __PACKAGE__,
+    AUTHOR          => 'darren chamberlain <[email protected]>',
+    LICENSE         => 'perl',
+    ABSTRACT_FROM   => 'TabularDisplay.pm',
+    VERSION_FROM    => "TabularDisplay.pm",
+    PREREQ_PM       => \%PREREQ_PM,
+    clean           => \%clean,
 );
 
 __END__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/README 
new/Text-TabularDisplay-1.34/README
--- old/Text-TabularDisplay-1.28/README 2011-08-06 18:08:37.000000000 +0200
+++ new/Text-TabularDisplay-1.34/README 2013-02-24 13:21:44.000000000 +0100
@@ -53,7 +53,7 @@
     to the instance; and render() returns a formatted string representation
     of the instance.
 
-    There are also a few auxilliary convenience methods: clone(), items(),
+    There are also a few auxiliary convenience methods: clone(), items(),
     reset(), populate(), and paginate().
 
     new A Text::TabularDisplay instance can be created with column names
@@ -208,7 +208,7 @@
 
 NOTES / ISSUES
     Text::TabularDisplay assumes it is handling strings, and does stringy
-    things with the data, like legnth() and sprintf(). Non-character data
+    things with the data, like length() and sprintf(). Non-character data
     can be passed in, of course, but will be treated as strings; this may
     have ramifications for objects that implement overloading.
 
@@ -231,7 +231,9 @@
         Paul Cameron
         Prakash Kailasa
         Slaven Rezic
+        Harlan Lieberman-Berg
+        Patrick Kuijvenhoven
 
 VERSION
-    This documentation describes "Text::TabularDisplay" version 1.20.
+    This documentation describes "Text::TabularDisplay" version 1.34.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/TabularDisplay.pm 
new/Text-TabularDisplay-1.34/TabularDisplay.pm
--- old/Text-TabularDisplay-1.28/TabularDisplay.pm      2011-08-16 
04:40:58.000000000 +0200
+++ new/Text-TabularDisplay-1.34/TabularDisplay.pm      2013-02-24 
13:21:40.000000000 +0100
@@ -2,7 +2,7 @@
 
 # -------------------------------------------------------------------
 # Text::TabularDisplay - Display text in formatted table output
-# Copyright (C) 2004-2011 darren chamberlain <[email protected]>
+# Copyright (C) 2004-2012 darren chamberlain <[email protected]>
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License as
@@ -23,7 +23,7 @@
 use integer;
 use vars qw($VERSION);
 
-$VERSION = "1.28";
+$VERSION = "1.34";
 
 # ---======================= Public Methods ======================---
 
@@ -251,7 +251,7 @@
     my $height = 0;
     my @col_lines;
     for (@$columns) {
-        my @lines = split "\n";
+        my @lines = split "\n", ((defined $_ && length $_) ? $_ : ' ');
         $height = scalar @lines
             if $height < @lines;
         push @col_lines, \@lines;
@@ -276,6 +276,7 @@
 sub _column_length
 {
     my ($str) = @_;
+    $str = '' unless defined $str;
 
     my $len = 0;
     for (split "\n", $str) {
@@ -351,7 +352,7 @@
 add() adds data to the instance; and render() returns a formatted
 string representation of the instance.
 
-There are also a few auxilliary convenience methods: clone(), items(),
+There are also a few auxiliary convenience methods: clone(), items(),
 reset(), populate(), and paginate().
 
 =over
@@ -525,7 +526,7 @@
 =head1 NOTES / ISSUES
 
 Text::TabularDisplay assumes it is handling strings, and does stringy
-things with the data, like legnth() and sprintf().  Non-character data
+things with the data, like length() and sprintf().  Non-character data
 can be passed in, of course, but will be treated as strings; this may
 have ramifications for objects that implement overloading.
 
@@ -550,8 +551,10 @@
     Paul Cameron
     Prakash Kailasa
     Slaven Rezic
+    Harlan Lieberman-Berg
+    Patrick Kuijvenhoven
 
 =head1 VERSION
 
-This documentation describes C<Text::TabularDisplay> version 1.20.
+This documentation describes C<Text::TabularDisplay> version 1.34.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/t/16.t 
new/Text-TabularDisplay-1.34/t/16.t
--- old/Text-TabularDisplay-1.28/t/16.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Text-TabularDisplay-1.34/t/16.t 2013-02-24 13:14:39.000000000 +0100
@@ -0,0 +1,30 @@
+#!/usr/bin/perl
+# vim: set ft=perl:
+# Test suggested by Patrick Kuijvenhoven <https://github.com/petski>
+# in 
https://github.com/dlc/text--tabulardisplay/commit/4b9bd105d9ebaf8ac838e8e993216e4b56d85683#commitcomment-1537151
+
+use strict;
+use Text::TabularDisplay;
+use Test;
+
+BEGIN {
+    plan tests => 1;
+}
+
+my @data = (
+    [0, "c"],
+    ["d", "e"],
+    [0, 0],
+    [0, "f"],
+);
+
+my $t = Text::TabularDisplay->new("a", "b");
+$t->populate([ @data ]);
+ok($t->render, "+---+---+
+| a | b |
++---+---+
+| 0 | c |
+| d | e |
+| 0 | 0 |
+| 0 | f |
++---+---+");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-TabularDisplay-1.28/t/17.t 
new/Text-TabularDisplay-1.34/t/17.t
--- old/Text-TabularDisplay-1.28/t/17.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Text-TabularDisplay-1.34/t/17.t 2013-02-24 13:14:39.000000000 +0100
@@ -0,0 +1,34 @@
+#!/usr/bin/perl
+# vim: set ft=perl:
+# Test suggested by Patrick Kuijvenhoven <https://github.com/petski>
+# in 
https://github.com/dlc/text--tabulardisplay/commit/4b9bd105d9ebaf8ac838e8e993216e4b56d85683#commitcomment-1540416
+
+use strict;
+use Text::TabularDisplay;
+use Test;
+
+BEGIN {
+    plan tests => 1;
+}
+
+my @data = (
+    ["a", "b"],
+    ["", ""],
+    [undef, ""],
+    ["", undef],
+    [undef, undef],
+    [0, 0],
+);
+
+my $t = Text::TabularDisplay->new("a", "b");
+$t->populate([ @data ]);
+ok($t->render, "+---+---+
+| a | b |
++---+---+
+| a | b |
+|   |   |
+|   |   |
+|   |   |
+|   |   |
+| 0 | 0 |
++---+---+");

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to