From: John Napiorkowski Date: Sat, 8 Nov 2008 03:32:53 +0000 (+0000) Subject: bumped minimum version to fix problem with overloading on certain Perls. this was... X-Git-Tag: 0.07^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Types.git;a=commitdiff_plain;h=77134b88a6cf4954111d319dcb10fd30c715706d bumped minimum version to fix problem with overloading on certain Perls. this was fixed by ensuring a type constraint name is properly stringified --- diff --git a/Changes b/Changes index 12b29cc..75f7f1c 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,13 @@ +0.07 Fri Oct 07 23:00:00 EST 2008 + - Bumped minimum allowed Moose version to fix problem with overloading + on some versions of Perl + - Tiny documentation updates. + 0.06 Fri Oct 24 15:00:00 EST 2008 - Added support for parameterized types and type unions, tests for all that and documentation updates. - + 0.05 [Indetermined] - moved export mechanism to Sub::Exporter. ::Base contains a bunch of wrapping logic to allow the export-along functionality diff --git a/Makefile.PL b/Makefile.PL index 51c3b3b..3ce7f5a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -12,7 +12,7 @@ all_from q{lib/MooseX/Types.pm}; build_requires q{Test::More}, 0.80; build_requires q{FindBin}, 0; -requires q{Moose}, 0.60; +requires q{Moose}, 0.61; requires q{Sub::Install}, 0.924; requires q{namespace::clean}, 0.08; requires q{Carp}, 0; diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index 0791eda..eabd450 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -19,7 +19,7 @@ use Carp::Clan qw( ^MooseX::Types ); use namespace::clean -except => [qw( meta )]; -our $VERSION = 0.06; +our $VERSION = 0.07; my $UndefMsg = q{Action for type '%s' not yet defined in library '%s'}; =head1 SYNOPSIS @@ -39,7 +39,7 @@ my $UndefMsg = q{Action for type '%s' not yet defined in library '%s'}; # import builtin types use MooseX::Types::Moose 'Int'; - # type definition + # type definition. subtype PositiveInt, as Int, where { $_ > 0 }, @@ -279,7 +279,7 @@ types you define in a type library. has 'attr' => (isa=>HashRef|Int); And everything should just work as you'd think. - + =head1 METHODS =head2 import