r13751 - in /branches/upstream/libmoosex-object-pluggable-perl/current: ./ inc/Module/ inc/Module/Install/ lib/MooseX/Object/

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Jan 27 22:27:41 UTC 2008


Author: gregoa-guest
Date: Sun Jan 27 22:27:41 2008
New Revision: 13751

URL: http://svn.debian.org/wsvn/?sc=1&rev=13751
Log:
[svn-upgrade] Integrating new upstream version, libmoosex-object-pluggable-perl (0.0007)

Modified:
    branches/upstream/libmoosex-object-pluggable-perl/current/Changes
    branches/upstream/libmoosex-object-pluggable-perl/current/META.yml
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/AutoInstall.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Base.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Can.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Fetch.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Include.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Makefile.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Metadata.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Win32.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/WriteAll.pm
    branches/upstream/libmoosex-object-pluggable-perl/current/lib/MooseX/Object/Pluggable.pm

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/Changes?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/Changes (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/Changes Sun Jan 27 22:27:41 2008
@@ -1,4 +1,7 @@
 Revision history for MooseX-Object-Pluggable
+0.0007    Jan 22, 2008
+          Fix for Moose 0.34
+
 0.0006    Jan 11, 2008
           Deprecate the Extension mechanism
           Added load_plugins

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/META.yml?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/META.yml (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/META.yml Sun Jan 27 22:27:41 2008
@@ -1,10 +1,11 @@
 --- 
 abstract: Add plugin support to your Moose classes via roles.
-author: Guillermo Roditi, <groditi at cpan.org>
+author: 
+  - Guillermo Roditi, <groditi at cpan.org>
 build_requires: 
   Test::More: 0
 distribution_type: module
-generated_by: Module::Install version 0.67
+generated_by: Module::Install version 0.68
 license: perl
 meta-spec: 
   url: http://module-build.sourceforge.net/META-spec-v1.3.html
@@ -17,4 +18,4 @@
 requires: 
   Module::Pluggable::Object: 0
   Moose: 0.17
-version: 0.0006
+version: 0.0007

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install.pm Sun Jan 27 22:27:41 2008
@@ -28,7 +28,7 @@
     # This is not enforced yet, but will be some time in the next few
     # releases once we can make sure it won't clash with custom
     # Module::Install extensions.
-    $VERSION = '0.67';
+    $VERSION = '0.68';
 }
 
 # Whether or not inc::Module::Install is actually loaded, the

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/AutoInstall.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/AutoInstall.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/AutoInstall.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/AutoInstall.pm Sun Jan 27 22:27:41 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Base.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Base.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Base.pm Sun Jan 27 22:27:41 2008
@@ -1,7 +1,7 @@
 #line 1
 package Module::Install::Base;
 
-$VERSION = '0.67';
+$VERSION = '0.68';
 
 # Suspend handler for "redefined" warnings
 BEGIN {

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Can.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Can.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Can.pm Sun Jan 27 22:27:41 2008
@@ -11,7 +11,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Fetch.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Fetch.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Fetch.pm Sun Jan 27 22:27:41 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Include.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Include.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Include.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Include.pm Sun Jan 27 22:27:41 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Makefile.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Makefile.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Makefile.pm Sun Jan 27 22:27:41 2008
@@ -7,7 +7,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Metadata.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Metadata.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Metadata.pm Sun Jan 27 22:27:41 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Win32.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Win32.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/Win32.pm Sun Jan 27 22:27:41 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/WriteAll.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/WriteAll.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/inc/Module/Install/WriteAll.pm Sun Jan 27 22:27:41 2008
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION $ISCORE @ISA};
 BEGIN {
-	$VERSION = '0.67';
+	$VERSION = '0.68';
 	$ISCORE  = 1;
 	@ISA     = qw{Module::Install::Base};
 }

Modified: branches/upstream/libmoosex-object-pluggable-perl/current/lib/MooseX/Object/Pluggable.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libmoosex-object-pluggable-perl/current/lib/MooseX/Object/Pluggable.pm?rev=13751&op=diff
==============================================================================
--- branches/upstream/libmoosex-object-pluggable-perl/current/lib/MooseX/Object/Pluggable.pm (original)
+++ branches/upstream/libmoosex-object-pluggable-perl/current/lib/MooseX/Object/Pluggable.pm Sun Jan 27 22:27:41 2008
@@ -5,7 +5,7 @@
 use Class::MOP;
 use Module::Pluggable::Object;
 
-our $VERSION = '0.0006';
+our $VERSION = '0.0007';
 
 =head1 NAME
 
@@ -281,16 +281,14 @@
     my ($self, $role) = @_;
     die("You must provide a role name") unless $role;
 
-    #don't re-require...
-    unless( Class::MOP::is_class_loaded($role) ){
-        eval Class::MOP::load_class($role) || die("Failed to load role: $role");
-    }
+    eval { Class::MOP::load_class($role) };
+    confess("Failed to load role: ${role} $@") if $@;
 
     carp("Using 'override' is strongly discouraged and may not behave ".
          "as you expect it to. Please use 'around'")
         if scalar keys %{ $role->meta->get_override_method_modifiers_map };
-    die("Failed to apply plugin: $role") unless $role->meta->apply( $self );
-
+
+    $role->meta->apply( $self );
     return 1;
 }
 




More information about the Pkg-perl-cvs-commits mailing list