Skip to content

Commit e8196e9

Browse files
Chad Granumjkeenan
authored andcommitted
cpan/Term-Table - Update to version 0.020
0.020 2024-08-05 07:11:23-07:00 America/Los_Angeles - Fix test broken on Test::More
1 parent bc99771 commit e8196e9

File tree

16 files changed

+122
-23
lines changed

16 files changed

+122
-23
lines changed

Porting/Maintainers.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,8 @@ package Maintainers;
10841084
},
10851085

10861086
'Term::Table' => {
1087-
'DISTRIBUTION' => 'EXODIST/Term-Table-0.018.tar.gz',
1087+
'DISTRIBUTION' => 'EXODIST/Term-Table-0.020.tar.gz',
1088+
'SYNCINFO' => 'jkeenan on Mon Aug 5 21:13:24 2024',
10881089
'SYNCINFO' => 'jkeenan on Wed Nov 1 19:16:24 2023',
10891090
'FILES' => q[cpan/Term-Table],
10901091
'EXCLUDED' => [

cpan/Term-Table/lib/Term/Table.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Term::Table;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.018';
5+
our $VERSION = '0.020';
66

77
use Term::Table::Cell();
88

cpan/Term-Table/lib/Term/Table/Cell.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Term::Table::Cell;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.018';
5+
our $VERSION = '0.020';
66

77
use Term::Table::LineBreak();
88
use Term::Table::Util qw/uni_length/;

cpan/Term-Table/lib/Term/Table/CellStack.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Term::Table::CellStack;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.018';
5+
our $VERSION = '0.020';
66

77
use Term::Table::HashBase qw/-cells -idx/;
88

cpan/Term-Table/lib/Term/Table/HashBase.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Term::Table::HashBase;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.018';
5+
our $VERSION = '0.020';
66

77
#################################################################
88
# #

cpan/Term-Table/lib/Term/Table/LineBreak.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Term::Table::LineBreak;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.018';
5+
our $VERSION = '0.020';
66

77
use Carp qw/croak/;
88
use Scalar::Util qw/blessed/;

cpan/Term-Table/lib/Term/Table/Spacer.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Term::Table::Spacer;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '0.018';
5+
our $VERSION = '0.020';
66

77
sub new { bless {}, $_[0] }
88

cpan/Term-Table/lib/Term/Table/Util.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use warnings;
44

55
use Config qw/%Config/;
66

7-
our $VERSION = '0.018';
7+
our $VERSION = '0.020';
88

99
use base 'Exporter';
1010
our @EXPORT_OK = qw/term_size USE_GCS USE_TERM_READKEY USE_TERM_SIZE_ANY uni_length/;

cpan/Term-Table/t/HashBase.t

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
use strict;
22
use warnings;
33

4-
use Test::More;
5-
4+
BEGIN {
5+
if (eval { require Test2::Tools::Tiny }) {
6+
print "# Using Test2::Tools::Tiny\n";
7+
Test2::Tools::Tiny->import();
8+
}
9+
elsif (eval { require Test::More; Test::More->can('done_testing') ? 1 : 0 }) {
10+
print "# Using Test::More " . Test::More->VERSION . "\n";
11+
Test::More->import();
12+
}
13+
else {
14+
print "1..0 # SKIP Neither Test2::Tools::Tiny nor a sufficient Test::More is installed\n";
15+
exit(0);
16+
}
17+
}
618

719
sub warnings(&) {
820
my $code = shift;

cpan/Term-Table/t/Table.t

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
use Term::Table;
22
use Term::Table::Util qw/USE_GCS/;
33

4-
use Test2::Tools::Tiny;
4+
BEGIN {
5+
if (eval { require Test2::Tools::Tiny }) {
6+
print "# Using Test2::Tools::Tiny\n";
7+
Test2::Tools::Tiny->import();
8+
}
9+
else {
10+
print "1..0 # SKIP Test2::Tools::Tiny is not installed\n";
11+
exit(0);
12+
}
13+
}
14+
515

616
use utf8;
717
use strict;

0 commit comments

Comments
 (0)