From: Karen Etheridge Date: Sat, 19 Mar 2011 16:01:59 +0000 (-0700) Subject: 0.11 release to fix crazy errors that somehow the tests did not catch X-Git-Tag: 0.11^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0dd9c65b0cd3941fe1901f40045e5fa6732e7692;p=gitmo%2FMooseX-UndefTolerant.git 0.11 release to fix crazy errors that somehow the tests did not catch --- diff --git a/Changes b/Changes index 90a129d..fee610e 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for MooseX-UndefTolerant +0.11 2011-03-19 + * re-release to fix careless syntax error (whoops!) :) + 0.10 2011-03-18 * No longer apply UndefTolerant behaviour to attributes with a type constraint that handles undef (or those with no type constraint at all). diff --git a/dist.ini b/dist.ini index c9559d5..32e78b4 100644 --- a/dist.ini +++ b/dist.ini @@ -4,7 +4,7 @@ license = Perl_5 copyright_holder = Cory G Watson copyright_year = 2011 -version = 0.10 +version = 0.11 [@Filter] -bundle = @Basic diff --git a/lib/MooseX/UndefTolerant/Constructor.pm b/lib/MooseX/UndefTolerant/Constructor.pm index 4406f2c..18f3307 100644 --- a/lib/MooseX/UndefTolerant/Constructor.pm +++ b/lib/MooseX/UndefTolerant/Constructor.pm @@ -28,7 +28,8 @@ if ( $Moose::VERSION < 1.9900 ) { } return $self->$orig(@_); -}); + }); +} no Moose::Role; 1; diff --git a/t/constructor.t b/t/constructor.t index e97766e..22d4ce2 100644 --- a/t/constructor.t +++ b/t/constructor.t @@ -1,5 +1,4 @@ -#use Test::More; -use Test::Most 'die'; +use Test::More; use Test::Fatal; { diff --git a/t/defaults.t b/t/defaults.t index 2ae2c76..8e45c1c 100644 --- a/t/defaults.t +++ b/t/defaults.t @@ -1,5 +1,4 @@ -#use Test::More; -use Test::Most 'die'; +use Test::More; use Test::Fatal; use MooseX::UndefTolerant::Attribute ();