r39449 - in /trunk/libmoosex-emulate-class-accessor-fast-perl: Changes META.yml debian/changelog debian/control debian/copyright lib/MooseX/Emulate/Class/Accessor/Fast.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Jul 7 04:07:29 UTC 2009


Author: jawnsy-guest
Date: Tue Jul  7 04:07:24 2009
New Revision: 39449

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=39449
Log:
* New upstream release
  + Small fix to work with newer versions of Moose
* Added /me to Uploaders & Copyright
* New Upstream-Maintainer (Florian Ragwitz); copyright remains the same

Modified:
    trunk/libmoosex-emulate-class-accessor-fast-perl/Changes
    trunk/libmoosex-emulate-class-accessor-fast-perl/META.yml
    trunk/libmoosex-emulate-class-accessor-fast-perl/debian/changelog
    trunk/libmoosex-emulate-class-accessor-fast-perl/debian/control
    trunk/libmoosex-emulate-class-accessor-fast-perl/debian/copyright
    trunk/libmoosex-emulate-class-accessor-fast-perl/lib/MooseX/Emulate/Class/Accessor/Fast.pm

Modified: trunk/libmoosex-emulate-class-accessor-fast-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/Changes?rev=39449&op=diff
==============================================================================
--- trunk/libmoosex-emulate-class-accessor-fast-perl/Changes (original)
+++ trunk/libmoosex-emulate-class-accessor-fast-perl/Changes Tue Jul  7 04:07:24 2009
@@ -1,3 +1,7 @@
+0.00901    July 06, 2009
+          - Fix to not warn with newer versions of Moose by passing is => 'bare'
+            to process_accessors method.
+
 0.00900    May 29, 2009
           - Fix so that classes which implement BUILD themselves still get
             all attributes passed to their constuctor placed into the instance

Modified: trunk/libmoosex-emulate-class-accessor-fast-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/META.yml?rev=39449&op=diff
==============================================================================
--- trunk/libmoosex-emulate-class-accessor-fast-perl/META.yml (original)
+++ trunk/libmoosex-emulate-class-accessor-fast-perl/META.yml Tue Jul  7 04:07:24 2009
@@ -24,4 +24,4 @@
   namespace::clean: 0
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.00900
+version: 0.00901

Modified: trunk/libmoosex-emulate-class-accessor-fast-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/debian/changelog?rev=39449&op=diff
==============================================================================
--- trunk/libmoosex-emulate-class-accessor-fast-perl/debian/changelog (original)
+++ trunk/libmoosex-emulate-class-accessor-fast-perl/debian/changelog Tue Jul  7 04:07:24 2009
@@ -1,8 +1,14 @@
-libmoosex-emulate-class-accessor-fast-perl (0.00900-2) UNRELEASED; urgency=low
+libmoosex-emulate-class-accessor-fast-perl (0.00901-1) UNRELEASED; urgency=low
 
+  * New upstream release
+    + Small fix to work with newer versions of Moose
+  * Added /me to Uploaders & Copyright
+  * New Upstream-Maintainer (Florian Ragwitz); copyright remains the same
+
+  [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:36:26 +0000
+ -- Jonathan Yu <frequency at cpan.org>  Mon, 06 Jul 2009 20:06:16 -0400
 
 libmoosex-emulate-class-accessor-fast-perl (0.00900-1) unstable; urgency=low
 

Modified: trunk/libmoosex-emulate-class-accessor-fast-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/debian/control?rev=39449&op=diff
==============================================================================
--- trunk/libmoosex-emulate-class-accessor-fast-perl/debian/control (original)
+++ trunk/libmoosex-emulate-class-accessor-fast-perl/debian/control Tue Jul  7 04:07:24 2009
@@ -6,8 +6,9 @@
  libnamespace-clean-perl, libtest-exception-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
- gregor herrmann <gregoa at debian.org>, Ansgar Burchardt <ansgar at 43-1.org>
-Standards-Version: 3.8.1
+ gregor herrmann <gregoa at debian.org>, Ansgar Burchardt <ansgar at 43-1.org>,
+ Jonathan Yu <frequency at cpan.org>
+Standards-Version: 3.8.2
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/
 Homepage: http://search.cpan.org/dist/MooseX-Emulate-Class-Accessor-Fast/
@@ -17,9 +18,10 @@
 Depends: ${perl:Depends}, ${misc:Depends}, libmoose-perl (>= 0.74),
  libnamespace-clean-perl
 Description: module to emulate Class::Accessor::Fast using Moose attributes
- MooseX::Emulate::Class::Accessor::Fast attempts to emulate the behavior of 
- Class::Accessor::Fast as accurately as possible using the Moose attribute 
- system. The public API of Class::Accessor::Fast is wholly supported, 
- but the private methods are not. If you are only using the public methods 
- (as you should) migration should be a matter of switching your use base line
- to a with line.
+ MooseX::Emulate::Class::Accessor::Fast attempts to emulate the behavior of
+ Class::Accessor::Fast as accurately as possible using the Moose attribute
+ system.
+ .
+ The public API of Class::Accessor::Fast is wholly supported, but the private
+ methods are not. If you are only using the public methods (as you should) then
+ migrating to this is trivial.

Modified: trunk/libmoosex-emulate-class-accessor-fast-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/debian/copyright?rev=39449&op=diff
==============================================================================
--- trunk/libmoosex-emulate-class-accessor-fast-perl/debian/copyright (original)
+++ trunk/libmoosex-emulate-class-accessor-fast-perl/debian/copyright Tue Jul  7 04:07:24 2009
@@ -1,6 +1,6 @@
 Format-Specification:
     http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Guillermo Roditi (groditi) <groditi at cpan.org>
+Upstream-Maintainer: Florian Ragwitz <rafl at debian.org>
 Upstream-Source: http://search.cpan.org/dist/MooseX-Emulate-Class-Accessor-Fast/
 Upstream-Name: MooseX-Emulate-Class-Accessor-Fast
 
@@ -9,15 +9,17 @@
 License-Alias: Perl
 License: Artistic | GPL-1+
 
-Files: inc/*
-Copyright: 2002 - 2009 by Brian Ingerson, Audrey Tang and Adam Kennedy
+Files: inc/Module/*
+Copyright: 2002-2009, Adam Kennedy <adamk at cpan.org>
+ 2002-2009, Audrey Tang <autrijus at autrijus.org>
+ 2002-2009, Brian Ingerson <ingy at cpan.org>
 License-Alias: Perl
-License: GPL-1+ | Artistic
+License: Artistic | GPL-1+
 
 Files: debian/*
-Copyright: 
+Copyright: 2009, Jonathan Yu <frequency at cpan.org>
+ 2008-2009, gregor herrmann <gregoa at debian.org>
  2008-2009, Krzysztof Krzyżaniak (eloy) <eloy at debian.org>
- 2008-2009, gregor herrmann <gregoa at debian.org>
 License: Artistic | GPL-1+
 
 License: Artistic

Modified: trunk/libmoosex-emulate-class-accessor-fast-perl/lib/MooseX/Emulate/Class/Accessor/Fast.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-emulate-class-accessor-fast-perl/lib/MooseX/Emulate/Class/Accessor/Fast.pm?rev=39449&op=diff
==============================================================================
--- trunk/libmoosex-emulate-class-accessor-fast-perl/lib/MooseX/Emulate/Class/Accessor/Fast.pm (original)
+++ trunk/libmoosex-emulate-class-accessor-fast-perl/lib/MooseX/Emulate/Class/Accessor/Fast.pm Tue Jul  7 04:07:24 2009
@@ -6,7 +6,7 @@
 
 use MooseX::Emulate::Class::Accessor::Fast::Meta::Accessor ();
 
-our $VERSION = '0.00900';
+our $VERSION = '0.00901';
 
 =head1 NAME
 
@@ -115,7 +115,7 @@
 
     #dont overwrite existing methods
     if($reader eq $writer){
-      my %opts = ( $meta->has_method($reader) ? () : (accessor => $reader) );
+      my %opts = ( $meta->has_method($reader) ? ( is => 'bare' ) : (accessor => $reader) );
       my $attr = $meta->find_attribute_by_name($attr_name) || $meta->add_attribute($attr_name, %opts,
         traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute']
       );
@@ -151,7 +151,7 @@
     $meta->remove_attribute($attr_name)
       if $meta->find_attribute_by_name($attr_name);
     my $reader = $self->accessor_name_for($attr_name);
-    my @opts = ($meta->has_method($reader) ? () : (reader => $reader) );
+    my @opts = ($meta->has_method($reader) ? (is => 'bare') : (reader => $reader) );
     my $attr = $meta->add_attribute($attr_name, @opts,
       traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute']
     ) if scalar(@opts);
@@ -263,7 +263,8 @@
   my($class, $field) = @_;
   my $meta = $locate_metaclass->($class);
   my $attr = $meta->find_attribute_by_name($field) || $meta->add_attribute($field,
-      traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute']
+      traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute'],
+     is => 'bare',
   );
   my $reader = $attr->get_read_method_ref;
   my $writer = $attr->get_write_method_ref;
@@ -279,7 +280,8 @@
   my($class, $field) = @_;
   my $meta = $locate_metaclass->($class);
   my $attr = $meta->find_attribute_by_name($field) || $meta->add_attribute($field,
-      traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute']
+      traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute'],
+     is => 'bare',
   );
   return $attr->get_read_method_ref;
 }
@@ -289,7 +291,8 @@
   my($class, $field) = @_;
   my $meta = $locate_metaclass->($class);
   my $attr = $meta->find_attribute_by_name($field) || $meta->add_attribute($field,
-      traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute']
+      traits => ['MooseX::Emulate::Class::Accessor::Fast::Meta::Role::Attribute'],
+      is => 'bare',
   );
   return $attr->get_write_method_ref;
 }




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