From ea79aa1ffc9a9a682389b4c27bcdf912a0404ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingy=20d=C3=B6t=20Net?= Date: Sat, 16 Aug 2014 02:50:26 -0700 Subject: [PATCH] CPAN Release 0.44 - Eliminate File::Basename from test/ --- Changes | 5 +++++ Makefile | 2 +- Meta | 2 +- lib/Spiffy.pm | 2 +- test/base.t | 3 +-- test/base2.t | 3 +-- test/export1.t | 3 +-- test/filter4.t | 3 +-- test/filter5.t | 3 +-- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Changes b/Changes index 8c8fd1f..a245c45 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,9 @@ --- +version: 0.44 +date: Sat Aug 16 02:50:17 PDT 2014 +changes: +- Eliminate File::Basename from test/ +--- version: 0.43 date: Fri Aug 15 20:37:55 PDT 2014 changes: diff --git a/Makefile b/Makefile index 011a589..f7cfd41 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ endif make check-release make date make test-all - make test-dist + RELEASE_TESTING=1 make test-dist @echo '***** Releasing $(DISTDIR)' make dist ifneq ($(PERL_ZILLA_DIST_RELEASE_TIME),) diff --git a/Meta b/Meta index 0662c73..d4b7a50 100644 --- a/Meta +++ b/Meta @@ -1,7 +1,7 @@ =meta: 0.0.1 name: Spiffy -version: 0.43 +version: 0.44 abstract: Spiffy Perl Interface Framework For You homepage: https://metacpan.org/release/Spiffy diff --git a/lib/Spiffy.pm b/lib/Spiffy.pm index 3a853f1..5de2132 100644 --- a/lib/Spiffy.pm +++ b/lib/Spiffy.pm @@ -1,6 +1,6 @@ use strict; use warnings; package Spiffy; -our $VERSION = '0.43'; +our $VERSION = '0.44'; use Carp; require Exporter; diff --git a/test/base.t b/test/base.t index 6ac264f..cfe093e 100644 --- a/test/base.t +++ b/test/base.t @@ -1,6 +1,5 @@ use strict; use warnings; -use File::Basename; -use lib dirname(__FILE__), 'inc'; +use lib (-e 't' ? 't' : 'test'), 'inc'; package XXX; BEGIN {require Thing} diff --git a/test/base2.t b/test/base2.t index dbeefc1..baf94b4 100644 --- a/test/base2.t +++ b/test/base2.t @@ -1,5 +1,4 @@ -use File::Basename; -use lib dirname(__FILE__), 'inc'; +use lib (-e 't' ? 't' : 'test'), 'inc'; use Test::More tests => 1; eval <<'...'; diff --git a/test/export1.t b/test/export1.t index aa264ac..3f13b08 100644 --- a/test/export1.t +++ b/test/export1.t @@ -1,6 +1,5 @@ use strict; use warnings; -use File::Basename; -use lib dirname(__FILE__), 'inc'; +use lib (-e 't' ? 't' : 'test'), 'inc'; package Foo; use Test::More tests => 20; diff --git a/test/filter4.t b/test/filter4.t index c12cad8..9b8b608 100644 --- a/test/filter4.t +++ b/test/filter4.t @@ -1,6 +1,5 @@ use strict; use warnings; -use File::Basename; -use lib dirname(__FILE__), 'inc'; +use lib (-e 't' ? 't' : 'test'), 'inc'; use Test::More tests => 1; use Spiffy '-filter_save'; diff --git a/test/filter5.t b/test/filter5.t index 83eb05d..56c6934 100644 --- a/test/filter5.t +++ b/test/filter5.t @@ -1,6 +1,5 @@ use strict; use warnings; -use File::Basename; -use lib dirname(__FILE__), 'inc'; +use lib (-e 't' ? 't' : 'test'), 'inc'; use Test::More tests => 1; use Spiffy -filter_save;