From 9fa5c3e1fb9321e9f7780ee75e4ff445a232d590 Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Tue, 6 Nov 2012 09:26:35 +0100 Subject: [PATCH] upgrade Module::Pluggable to 4.5 (test changes only) note there is an untrue comment next to VERSION line in Pluggable.pm, 4.5 is also on CPAN. Also note this patch keeps the old Makefile.PL based make process intact. --- cpan/Module-Pluggable/lib/Module/Pluggable.pm | 2 +- cpan/Module-Pluggable/lib/Module/Pluggable/Object.pm | 2 +- cpan/Module-Pluggable/t/23depth.t | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpan/Module-Pluggable/lib/Module/Pluggable.pm b/cpan/Module-Pluggable/lib/Module/Pluggable.pm index 5ce4ca9..9217af6 100644 --- a/cpan/Module-Pluggable/lib/Module/Pluggable.pm +++ b/cpan/Module-Pluggable/lib/Module/Pluggable.pm @@ -9,7 +9,7 @@ use Module::Pluggable::Object; # Peter Gibbons: I wouldn't say I've been missing it, Bob! -$VERSION = '4.3'; +$VERSION = '4.5'; # core release only! $FORCE_SEARCH_ALL_PATHS = 0; sub import { diff --git a/cpan/Module-Pluggable/lib/Module/Pluggable/Object.pm b/cpan/Module-Pluggable/lib/Module/Pluggable/Object.pm index d5ab8a8..8e74008 100644 --- a/cpan/Module-Pluggable/lib/Module/Pluggable/Object.pm +++ b/cpan/Module-Pluggable/lib/Module/Pluggable/Object.pm @@ -8,7 +8,7 @@ use Carp qw(croak carp confess); use Devel::InnerPackage; use vars qw($VERSION); -$VERSION = '4.3'; +$VERSION = '4.5'; sub new { diff --git a/cpan/Module-Pluggable/t/23depth.t b/cpan/Module-Pluggable/t/23depth.t index 51ccfca..ef3fb31 100644 --- a/cpan/Module-Pluggable/t/23depth.t +++ b/cpan/Module-Pluggable/t/23depth.t @@ -8,8 +8,8 @@ use Test::More tests => 2; my $min = MinTest->new(); my $max = MaxTest->new(); -is_deeply([qw(MyOtherTest::Plugin::Bar MyOtherTest::Plugin::Foo MyOtherTest::Plugin::Quux)], [$max->plugins], "min depth"); -is_deeply([qw(MyOtherTest::Plugin::Quux::Foo)], [$min->plugins], "max depth"); +is_deeply([sort qw(MyOtherTest::Plugin::Bar MyOtherTest::Plugin::Foo MyOtherTest::Plugin::Quux)], [sort $max->plugins], "min depth"); +is_deeply([qw(MyOtherTest::Plugin::Quux::Foo)], [sort $min->plugins], "max depth"); package MinTest; -- 2.7.4