From: Peter Rabbitson Date: Mon, 26 Dec 2011 12:35:26 +0000 (+0100) Subject: Bump Class::XSAccessor dependency X-Git-Tag: v0.10005~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=80ebe3b6760e9892a9b9ddaf875c1f903e76e7cc;p=p5sagit%2FClass-Accessor-Grouped.git Bump Class::XSAccessor dependency --- diff --git a/Changes b/Changes index 4202745..be81623 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,5 @@ Revision history for Class::Accessor::Grouped. + - Depend on newer bugfixed Class::XSAccessor 0.10004 2011-11-28 21:20 (UTC) - No longer leak internal __CAG* methods into the inheritable diff --git a/Makefile.PL b/Makefile.PL index 5ab82c5..df5253c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -15,7 +15,8 @@ requires 'Class::Inspector'; if (can_cc or $Module::Install::AUTHOR) { requires 'Sub::Name' => '0.05'; - requires 'Class::XSAccessor' => '1.11' + # when changing don't forget to adjust lib/Class/Accessor/Grouped.pm as well + requires 'Class::XSAccessor' => '1.13' if $] > '5.008'; } @@ -42,4 +43,3 @@ if ($Module::Install::AUTHOR) { print "Regenerating META with XS requires excluded\n"; Meta->write; } - diff --git a/lib/Class/Accessor/Grouped.pm b/lib/Class/Accessor/Grouped.pm index a1da462..982ac7a 100644 --- a/lib/Class/Accessor/Grouped.pm +++ b/lib/Class/Accessor/Grouped.pm @@ -16,12 +16,9 @@ BEGIN { our $VERSION = '0.10004'; $VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases -# when changing minimum version don't forget to adjust L and -# the Makefile.PL as well +# when changing minimum version don't forget to adjust Makefile.PL as well our $__minimum_xsa_version; -BEGIN { - $__minimum_xsa_version = '1.11'; -} +BEGIN { $__minimum_xsa_version = '1.13' } our $USE_XS; # the unless defined is here so that we can override the value