r51213 - in /branches/upstream/libmoosex-aliases-perl/current: ./ lib/MooseX/ lib/MooseX/Aliases/Meta/Trait/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Jan 18 17:47:56 UTC 2010


Author: jawnsy-guest
Date: Mon Jan 18 17:47:49 2010
New Revision: 51213

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

Modified:
    branches/upstream/libmoosex-aliases-perl/current/Changes
    branches/upstream/libmoosex-aliases-perl/current/LICENSE
    branches/upstream/libmoosex-aliases-perl/current/META.yml
    branches/upstream/libmoosex-aliases-perl/current/Makefile.PL
    branches/upstream/libmoosex-aliases-perl/current/README
    branches/upstream/libmoosex-aliases-perl/current/dist.ini
    branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases.pm
    branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Attribute.pm
    branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Constructor.pm
    branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Method.pm

Modified: branches/upstream/libmoosex-aliases-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/Changes?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/Changes (original)
+++ branches/upstream/libmoosex-aliases-perl/current/Changes Mon Jan 18 17:47:49 2010
@@ -1,4 +1,7 @@
 Revision history for MooseX::Aliases
+
+0.08  1/17/2010
+    Fix metarole usage for new role metarole interface (autarch).
 
 0.07  12/04/2009
     Add dep on Test::Exception

Modified: branches/upstream/libmoosex-aliases-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/LICENSE?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/LICENSE (original)
+++ branches/upstream/libmoosex-aliases-perl/current/LICENSE Mon Jan 18 17:47:49 2010
@@ -1,4 +1,4 @@
-This software is copyright (c) 2009 by Jesse Luehrs.
+This software is copyright (c) 2010 by Jesse Luehrs.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2009 by Jesse Luehrs.
+This software is Copyright (c) 2010 by Jesse Luehrs.
 
 This is free software, licensed under:
 
@@ -270,7 +270,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2009 by Jesse Luehrs.
+This software is Copyright (c) 2010 by Jesse Luehrs.
 
 This is free software, licensed under:
 

Modified: branches/upstream/libmoosex-aliases-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/META.yml?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/META.yml (original)
+++ branches/upstream/libmoosex-aliases-perl/current/META.yml Mon Jan 18 17:47:49 2010
@@ -4,7 +4,7 @@
   - 'Jesse Luehrs <doy at tozt dot net>'
   - 'Chris Prather <chris at prather.org>'
   - 'Justin Hunter <justin.d.hunter at gmail dot com>'
-generated_by: 'Dist::Zilla version 1.093220'
+generated_by: 'Dist::Zilla version 1.093400'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -13,4 +13,4 @@
 requires:
   Moose: 0.90
   Test::Exception: 0
-version: 0.07
+version: 0.08

Modified: branches/upstream/libmoosex-aliases-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/Makefile.PL?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/Makefile.PL (original)
+++ branches/upstream/libmoosex-aliases-perl/current/Makefile.PL Mon Jan 18 17:47:49 2010
@@ -11,7 +11,7 @@
   NAME      => 'MooseX::Aliases',
   AUTHOR    => "Jesse\ Luehrs\ \<doy\ at\ tozt\ dot\ net\>\,\ Chris\ Prather\ \<chris\@prather\.org\>\,\ Justin\ Hunter\ \<justin\.d\.hunter\ at\ gmail\ dot\ com\>",
   ABSTRACT  => "easy\ aliasing\ of\ methods\ and\ attributes\ in\ Moose",
-  VERSION   => '0.07',
+  VERSION   => '0.08',
   EXE_FILES => [ qw() ],
   (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'perl') : ()),
   PREREQ_PM    => {

Modified: branches/upstream/libmoosex-aliases-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/README?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/README (original)
+++ branches/upstream/libmoosex-aliases-perl/current/README Mon Jan 18 17:47:49 2010
@@ -1,11 +1,11 @@
 
 
 This archive contains the distribution MooseX-Aliases, version
-0.07:
+0.08:
 
   easy aliasing of methods and attributes in Moose
 
-This software is copyright (c) 2009 by Jesse Luehrs.
+This software is copyright (c) 2010 by Jesse Luehrs.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.

Modified: branches/upstream/libmoosex-aliases-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/dist.ini?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/dist.ini (original)
+++ branches/upstream/libmoosex-aliases-perl/current/dist.ini Mon Jan 18 17:47:49 2010
@@ -1,5 +1,5 @@
 name    = MooseX-Aliases
-version = 0.07
+version = 0.08
 author  = Jesse Luehrs <doy at tozt dot net>
 author  = Chris Prather <chris at prather.org>
 author  = Justin Hunter <justin.d.hunter at gmail dot com>

Modified: branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases.pm?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases.pm (original)
+++ branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases.pm Mon Jan 18 17:47:49 2010
@@ -1,7 +1,6 @@
 package MooseX::Aliases;
-our $VERSION = '0.07';
-
-
+our $VERSION = '0.08';
+use Moose ();
 use Moose::Exporter;
 use Scalar::Util qw(blessed);
 
@@ -11,14 +10,11 @@
 
 =head1 VERSION
 
-version 0.07
+version 0.08
 
 =head1 SYNOPSIS
 
     package MyApp;
-our $VERSION = '0.07';
-
-
     use Moose;
     use MooseX::Aliases;
 
@@ -38,9 +34,6 @@
 or
 
     package MyApp::Role;
-our $VERSION = '0.07';
-
-
     use Moose::Role;
     use MooseX::Aliases;
 
@@ -67,10 +60,21 @@
 
 =cut
 
+my %metaroles = $Moose::VERSION >= 0.9301
+    ? (
+    class_metaroles => {
+        attribute   => ['MooseX::Aliases::Meta::Trait::Attribute'],
+        constructor => ['MooseX::Aliases::Meta::Trait::Constructor'],
+    }
+    )
+    : (
+    attribute_metaclass_roles => ['MooseX::Aliases::Meta::Trait::Attribute'],
+    constructor_class_roles => ['MooseX::Aliases::Meta::Trait::Constructor'],
+    );
+
 Moose::Exporter->setup_import_methods(
-    with_meta                 => ['alias'],
-    attribute_metaclass_roles => ['MooseX::Aliases::Meta::Trait::Attribute'],
-    constructor_class_roles   => ['MooseX::Aliases::Meta::Trait::Constructor'],
+    with_meta => ['alias'],
+    %metaroles,
 );
 
 sub _get_method_metaclass {

Modified: branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Attribute.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Attribute.pm?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Attribute.pm (original)
+++ branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Attribute.pm Mon Jan 18 17:47:49 2010
@@ -1,7 +1,5 @@
 package MooseX::Aliases::Meta::Trait::Attribute;
-our $VERSION = '0.07';
-
-
+our $VERSION = '0.08';
 use Moose::Role;
 use Moose::Util::TypeConstraints;
 Moose::Util::meta_attribute_alias 'Aliased';
@@ -12,14 +10,11 @@
 
 =head1 VERSION
 
-version 0.07
+version 0.08
 
 =head1 SYNOPSIS
 
     package MyApp::Role;
-our $VERSION = '0.07';
-
-
     use Moose::Role;
     use MooseX::Aliases;
 

Modified: branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Constructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Constructor.pm?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Constructor.pm (original)
+++ branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Constructor.pm Mon Jan 18 17:47:49 2010
@@ -1,7 +1,5 @@
 package MooseX::Aliases::Meta::Trait::Constructor;
-our $VERSION = '0.07';
-
-
+our $VERSION = '0.08';
 use Moose::Role;
 
 =head1 NAME
@@ -10,7 +8,7 @@
 
 =head1 VERSION
 
-version 0.07
+version 0.08
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Method.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Method.pm?rev=51213&op=diff
==============================================================================
--- branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Method.pm (original)
+++ branches/upstream/libmoosex-aliases-perl/current/lib/MooseX/Aliases/Meta/Trait/Method.pm Mon Jan 18 17:47:49 2010
@@ -1,7 +1,5 @@
 package MooseX::Aliases::Meta::Trait::Method;
-our $VERSION = '0.07';
-
-
+our $VERSION = '0.08';
 use Moose::Role;
 
 =head1 NAME
@@ -10,7 +8,7 @@
 
 =head1 VERSION
 
-version 0.07
+version 0.08
 
 =head1 DESCRIPTION
 




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