From: gfx Date: Fri, 25 Sep 2009 05:31:12 +0000 (+0900) Subject: Make sure to work on 5.6.2 X-Git-Tag: 0.35~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb88905f17a3087b826253807b2e4bc839a977d8;p=gitmo%2FMouse.git Make sure to work on 5.6.2 --- diff --git a/Changes b/Changes index 8125f8a..152f4b1 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Mouse +0.33_02 + * Make sure to work on 5.6.2 + 0.33_01 Thu Sep 24 16:16:57 2009 * Implement traits => [...] in has() (gfx) diff --git a/Makefile.PL b/Makefile.PL index 81c3dfe..8344d3a 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,6 @@ use strict; use warnings; use inc::Module::Install; -use 5.008; name 'Mouse'; all_from 'lib/Mouse.pm'; @@ -12,8 +11,9 @@ tests 't/*.t t/*/*.t'; # > Fixed looks_like_number(undef) to return false for perl >= 5.009002 requires 'Scalar::Util' => 1.14; -test_requires 'Test::Exception' => 0.21; -test_requires 'Test::More' => 0.80; +test_requires 'Test::More' => 0.88; +test_requires 'Test::Exception' => 0.27; +test_requires 'Test::Output' => 0.16; if ($Module::Install::AUTHOR) { local @INC = ('lib', @INC); @@ -33,8 +33,7 @@ if ($Module::Install::AUTHOR) { system("author/generate-mouse-tiny.pl"); } -auto_include; -WriteAll; +WriteAll check_nmake => 0; sub create_moose_compatibility_test { require File::Path; diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 6c09a77..9b01f93 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -1,7 +1,9 @@ package Mouse; +use 5.006_002; + use strict; use warnings; -use 5.006; + use base 'Exporter'; our $VERSION = '0.33_01'; diff --git a/lib/Mouse/Meta/Module.pm b/lib/Mouse/Meta/Module.pm index 9fd52b9..0bebd8f 100755 --- a/lib/Mouse/Meta/Module.pm +++ b/lib/Mouse/Meta/Module.pm @@ -5,7 +5,7 @@ use warnings; use Carp (); use Scalar::Util qw/blessed weaken/; -use Mouse::Util qw/get_code_info not_supported load_class :meta/; +use Mouse::Util qw/:meta get_code_info not_supported load_class/; { my %METACLASS_CACHE;