r39480 - in /branches/upstream/libmoose-perl/current: ./ lib/ lib/Moose/ lib/Moose/Error/ lib/Moose/Manual/ lib/Moose/Meta/ lib/Moose/Meta/Class/Immutable/ lib/Moose/Meta/Method/ lib/Moose/Meta/Role/ lib/Moose/Meta/Role/Application/ lib/Moose/Meta/Role/Method/ lib/Moose/Meta/TypeCoercion/ lib/Moose/Meta/TypeConstraint/ lib/Moose/Util/ lib/Moose/Util/TypeConstraints/ lib/Test/ t/020_attributes/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Jul 7 21:28:38 UTC 2009


Author: jawnsy-guest
Date: Tue Jul  7 21:28:32 2009
New Revision: 39480

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=39480
Log:
[svn-upgrade] Integrating new upstream version, libmoose-perl (0.87)

Modified:
    branches/upstream/libmoose-perl/current/Changes
    branches/upstream/libmoose-perl/current/META.yml
    branches/upstream/libmoose-perl/current/README
    branches/upstream/libmoose-perl/current/lib/Moose.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Error/Confess.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Error/Croak.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Error/Default.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Exporter.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Manual/BestPractices.pod
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Attribute.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class/Immutable/Trait.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Instance.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Accessor.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Augmented.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Constructor.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Delegation.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Destructor.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Overridden.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/RoleSummation.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToClass.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToInstance.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToRole.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Composite.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Conflicting.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Required.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion/Union.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Class.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/DuckType.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Enum.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterizable.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterized.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Registry.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Role.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Union.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Object.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Role.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Util.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Util/MetaRole.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints.pm
    branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
    branches/upstream/libmoose-perl/current/lib/Test/Moose.pm
    branches/upstream/libmoose-perl/current/lib/oose.pm
    branches/upstream/libmoose-perl/current/t/020_attributes/010_attribute_delegation.t

Modified: branches/upstream/libmoose-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/Changes?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/Changes (original)
+++ branches/upstream/libmoose-perl/current/Changes Tue Jul  7 21:28:32 2009
@@ -1,5 +1,10 @@
 Also see Moose::Manual::Delta for more details of, and workarounds
 for, noteworthy changes.
+
+0.87 Tue Jul 7, 2009
+    * Moose::Meta::Method::Delegation
+      - Once again allow class names as well as objects for
+        delegation. This was changed in 0.86.
 
 0.86 Fri Jul 3, 2009
     * Moose::Meta::Class::Immutable::Trait

Modified: branches/upstream/libmoose-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/META.yml?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/META.yml (original)
+++ branches/upstream/libmoose-perl/current/META.yml Tue Jul  7 21:28:32 2009
@@ -32,4 +32,4 @@
   perl: 5.8.1
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.86
+version: 0.87

Modified: branches/upstream/libmoose-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/README?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/README (original)
+++ branches/upstream/libmoose-perl/current/README Tue Jul  7 21:28:32 2009
@@ -1,4 +1,4 @@
-Moose version 0.86
+Moose version 0.87
 ===========================
 
 See the individual module documentation for more information

Modified: branches/upstream/libmoose-perl/current/lib/Moose.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose.pm Tue Jul  7 21:28:32 2009
@@ -4,7 +4,7 @@
 
 use 5.008;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Error/Confess.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Error/Confess.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Error/Confess.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Error/Confess.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Error/Croak.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Error/Croak.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Error/Croak.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Error/Croak.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Error/Default.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Error/Default.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Error/Default.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Error/Default.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Exporter.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Exporter.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Exporter.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Exporter.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Manual/BestPractices.pod
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Manual/BestPractices.pod?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Manual/BestPractices.pod (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Manual/BestPractices.pod Tue Jul  7 21:28:32 2009
@@ -32,8 +32,16 @@
 
   1;
 
-The C<no Moose> bit is simply good code hygiene, and making classes
-immutable speeds up a lot of things, most notably object construction.
+The C<no Moose> bit is simply good code hygiene, as it removes all the
+Moose keywords from your class's namespace. Once the class has been
+built, these keywords are not needed needed. The C<make_immutable>
+call allows Moose to speed up a lot of things, most notably object
+construction. The tradeoff is that you can no longer change the class
+definition.
+
+A more generic way to unimport not only L<Moose>'s exports but also
+those from type libraries and other modules is to use
+L<namespace::clean> or L<namespace::autoclean>.
 
 =head2 Never override C<new>
 
@@ -105,6 +113,15 @@
 If you I<must> make an attribute read-write, consider making the
 writer a separate private method. Narrower APIs are easy to maintain,
 and mutable state is trouble.
+
+In order to declare such attributes, provide a private C<writer>
+parameter:
+
+    has pizza => (
+        is     => 'ro',
+        isa    => 'Pizza',
+        writer => '_pizza',
+    );
 
 =head2 Think twice before changing an attribute's type in a subclass
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Attribute.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Attribute.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Attribute.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Attribute.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 use Scalar::Util 'blessed', 'weaken';
 use overload     ();
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 our $AUTHORITY = 'cpan:STEVAN';
 
 use Moose::Meta::Method::Accessor;

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class.pm Tue Jul  7 21:28:32 2009
@@ -11,7 +11,7 @@
 use List::MoreUtils qw( any all uniq first_index );
 use Scalar::Util 'weaken', 'blessed';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class/Immutable/Trait.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class/Immutable/Trait.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class/Immutable/Trait.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Class/Immutable/Trait.pm Tue Jul  7 21:28:32 2009
@@ -5,7 +5,7 @@
 
 use Class::MOP;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Instance.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Instance.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Instance.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Instance.pm Tue Jul  7 21:28:32 2009
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Accessor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Accessor.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Accessor.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Accessor.pm Tue Jul  7 21:28:32 2009
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Augmented.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Augmented.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Augmented.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Augmented.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Constructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Constructor.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Constructor.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Constructor.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 
 use Scalar::Util 'blessed', 'weaken', 'looks_like_number', 'refaddr';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 our $AUTHORITY = 'cpan:STEVAN';
 
 use base 'Moose::Meta::Method',

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Delegation.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Delegation.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Delegation.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Delegation.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 use Carp         'confess';
 use Scalar::Util 'blessed', 'weaken';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -81,9 +81,9 @@
         my $proxy    = $instance->$accessor();
 
         my $error
-            = !defined $proxy ? ' is not defined'
-            : !blessed $proxy ? qq{ is not an object (got '$proxy')}
-            :                   undef;
+            = !defined $proxy                 ? ' is not defined'
+            : ref($proxy) && !blessed($proxy) ? qq{ is not an object (got '$proxy')}
+            : undef;
 
         if ($error) {
             $self->throw_error(

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Destructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Destructor.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Destructor.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Destructor.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 
 use Scalar::Util 'blessed', 'weaken';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Overridden.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Overridden.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Overridden.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Method/Overridden.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role.pm Tue Jul  7 21:28:32 2009
@@ -10,7 +10,7 @@
 use Sub::Name    'subname';
 use Devel::GlobalDestruction 'in_global_destruction';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application.pm Tue Jul  7 21:28:32 2009
@@ -4,7 +4,7 @@
 use warnings;
 use metaclass;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/RoleSummation.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/RoleSummation.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/RoleSummation.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/RoleSummation.pm Tue Jul  7 21:28:32 2009
@@ -8,7 +8,7 @@
 
 use Moose::Meta::Role::Composite;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToClass.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToClass.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToClass.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToClass.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 use Moose::Util  'english_list';
 use Scalar::Util 'weaken', 'blessed';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToInstance.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToInstance.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToInstance.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToInstance.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 
 use Scalar::Util 'blessed';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToRole.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToRole.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToRole.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Application/ToRole.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 
 use Scalar::Util    'blessed';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Composite.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Composite.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Composite.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Composite.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 
 use Scalar::Util 'blessed';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method.pm Tue Jul  7 21:28:32 2009
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Conflicting.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Conflicting.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Conflicting.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Conflicting.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 
 use base qw(Moose::Meta::Role::Method::Required);
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Required.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Required.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Required.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/Role/Method/Required.pm Tue Jul  7 21:28:32 2009
@@ -10,7 +10,7 @@
 
 use base qw(Class::MOP::Object);
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion.pm Tue Jul  7 21:28:32 2009
@@ -8,7 +8,7 @@
 use Moose::Meta::Attribute;
 use Moose::Util::TypeConstraints ();
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion/Union.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion/Union.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion/Union.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeCoercion/Union.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 
 use Scalar::Util 'blessed';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint.pm Tue Jul  7 21:28:32 2009
@@ -13,7 +13,7 @@
 
 use base qw(Class::MOP::Object);
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Class.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Class.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Class.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Class.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 use Scalar::Util 'blessed';
 use Moose::Util::TypeConstraints ();
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/DuckType.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/DuckType.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/DuckType.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/DuckType.pm Tue Jul  7 21:28:32 2009
@@ -9,7 +9,7 @@
 
 use Moose::Util::TypeConstraints ();
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Enum.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Enum.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Enum.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Enum.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 
 use Moose::Util::TypeConstraints ();
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterizable.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterizable.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterizable.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterizable.pm Tue Jul  7 21:28:32 2009
@@ -4,7 +4,7 @@
 use warnings;
 use metaclass;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterized.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterized.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterized.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Parameterized.pm Tue Jul  7 21:28:32 2009
@@ -8,7 +8,7 @@
 use Moose::Util::TypeConstraints;
 use Moose::Meta::TypeConstraint::Parameterizable;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Registry.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Registry.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Registry.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Registry.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 
 use Scalar::Util 'blessed';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Role.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Role.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Role.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Role.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 use Scalar::Util 'blessed';
 use Moose::Util::TypeConstraints ();
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Union.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Union.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Union.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Meta/TypeConstraint/Union.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 
 use Moose::Meta::TypeCoercion::Union;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Object.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Object.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Object.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Object.pm Tue Jul  7 21:28:32 2009
@@ -11,7 +11,7 @@
 use if ( not our $__mx_is_compiled ), 'Moose::Meta::Class';
 use if ( not our $__mx_is_compiled ), metaclass => 'Moose::Meta::Class';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Role.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Role.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Role.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Role.pm Tue Jul  7 21:28:32 2009
@@ -7,7 +7,7 @@
 
 use Sub::Exporter;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Util.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Util.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Util.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Util.pm Tue Jul  7 21:28:32 2009
@@ -8,7 +8,7 @@
 use Scalar::Util 'blessed';
 use Class::MOP   0.60;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Util/MetaRole.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Util/MetaRole.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Util/MetaRole.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Util/MetaRole.pm Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 use Scalar::Util qw( blessed reftype );
 use Moose::Exporter;
 
-our $VERSION = '0.86';
+our $VERSION = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm Tue Jul  7 21:28:32 2009
@@ -6,7 +6,7 @@
 use Class::MOP;
 use Scalar::Util 'blessed', 'looks_like_number';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/Test/Moose.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/Test/Moose.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/Test/Moose.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/Test/Moose.pm Tue Jul  7 21:28:32 2009
@@ -8,7 +8,7 @@
 
 use Moose::Util 'does_role', 'find_meta';
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/lib/oose.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/lib/oose.pm?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/lib/oose.pm (original)
+++ branches/upstream/libmoose-perl/current/lib/oose.pm Tue Jul  7 21:28:32 2009
@@ -5,7 +5,7 @@
 
 use Class::MOP;
 
-our $VERSION   = '0.86';
+our $VERSION   = '0.87';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 

Modified: branches/upstream/libmoose-perl/current/t/020_attributes/010_attribute_delegation.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoose-perl/current/t/020_attributes/010_attribute_delegation.t?rev=39480&op=diff
==============================================================================
--- branches/upstream/libmoose-perl/current/t/020_attributes/010_attribute_delegation.t (original)
+++ branches/upstream/libmoose-perl/current/t/020_attributes/010_attribute_delegation.t Tue Jul  7 21:28:32 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 90;
+use Test::More tests => 91;
 use Test::Exception;
 
 
@@ -21,13 +21,15 @@
 
     has 'bar' => (is => 'rw', default => 10);
 
+    sub baz { 42 }
+
     package Bar;
     use Moose;
 
     has 'foo' => (
         is      => 'rw',
         default => sub { Foo->new },
-        handles => { 'foo_bar' => 'bar' }
+        handles => { 'foo_bar' => 'bar', foo_baz => 'baz' }
     );
 }
 
@@ -420,4 +422,7 @@
     my $j = Bar->new(foo => []);
     throws_ok { $j->foo_bar } qr/is not an object \(got 'ARRAY/,
         'useful error from unblessed reference';
-}
+
+    my $k = Bar->new(foo => "Foo");
+    lives_ok { $k->foo_baz } "but not for class name";
+}




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