From: Florian Ragwitz Date: Sun, 29 Nov 2009 11:07:42 +0000 (+0100) Subject: Version 0.04. X-Git-Tag: 0_04^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cdaa4ee1af431df08155781b9d2f16d3fc872b06;p=gitmo%2FMoose-Policy.git Version 0.04. --- diff --git a/Changes b/Changes index 2dca01d..693296c 100644 --- a/Changes +++ b/Changes @@ -1,16 +1,20 @@ Revision history for Perl extension Moose-Policy +0.04 Sun. Nov. 29, 2009 + - Fix a couple of POD typos. + - Fix test warnings on new Moose versions. + 0.03 Sat. April 14th, 2007 - changing it to use the Class::MOP::is_class_loaded and Class::MOP::load_class instead. - - fixed the metaclass loading to work with newer + - fixed the metaclass loading to work with newer versions of Class::MOP 0.02 Sun. Nov. 5, 2006 - - We removed UNIVERSAL::require in Moose recently, and - this module was breaking beacuse of that. It is now + - We removed UNIVERSAL::require in Moose recently, and + this module was breaking beacuse of that. It is now fixed. 0.01 Wed. Aug. 9, 2006 - - module created by Stevan Little and Eric Willhelm, - with input form Matt Trout and the #moose crew. \ No newline at end of file + - module created by Stevan Little and Eric Willhelm, + with input form Matt Trout and the #moose crew. diff --git a/lib/Moose/Policy.pm b/lib/Moose/Policy.pm index f3110f8..14bdb66 100644 --- a/lib/Moose/Policy.pm +++ b/lib/Moose/Policy.pm @@ -1,7 +1,7 @@ package Moose::Policy; use Moose 'confess', 'blessed'; -our $VERSION = '0.03'; +our $VERSION = '0.04'; our $AUTHORITY = 'cpan:STEVAN'; sub import { @@ -13,7 +13,7 @@ sub import { # otherwise require it ... eval { Class::MOP::load_class($policy) }; confess "Could not load policy module '$policy' because : $@" - if $@; + if $@; } my $package = caller();