r71748 - in /trunk/libclass-c3-componentised-perl: Changes MANIFEST META.yml Makefile.PL debian/changelog debian/copyright lib/Class/C3/Componentised.pm t/03-unstable_dollar_underscore.t t/lib/DestroyDollarUnderscore.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Mar 20 12:35:48 UTC 2011


Author: jawnsy-guest
Date: Sun Mar 20 12:35:23 2011
New Revision: 71748

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71748
Log:
Updated upstream copyright information

Added:
    trunk/libclass-c3-componentised-perl/t/03-unstable_dollar_underscore.t
      - copied unchanged from r71745, branches/upstream/libclass-c3-componentised-perl/current/t/03-unstable_dollar_underscore.t
    trunk/libclass-c3-componentised-perl/t/lib/DestroyDollarUnderscore.pm
      - copied unchanged from r71745, branches/upstream/libclass-c3-componentised-perl/current/t/lib/DestroyDollarUnderscore.pm
Modified:
    trunk/libclass-c3-componentised-perl/Changes
    trunk/libclass-c3-componentised-perl/MANIFEST
    trunk/libclass-c3-componentised-perl/META.yml
    trunk/libclass-c3-componentised-perl/Makefile.PL
    trunk/libclass-c3-componentised-perl/debian/changelog
    trunk/libclass-c3-componentised-perl/debian/copyright
    trunk/libclass-c3-componentised-perl/lib/Class/C3/Componentised.pm

Modified: trunk/libclass-c3-componentised-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-componentised-perl/Changes?rev=71748&op=diff
==============================================================================
--- trunk/libclass-c3-componentised-perl/Changes (original)
+++ trunk/libclass-c3-componentised-perl/Changes Sun Mar 20 12:35:23 2011
@@ -1,4 +1,11 @@
 Revision history for Class-C3-Componentised
+
+1.0009   20 Mar 2011
+      - Stop importing Carp functions (and thus polluting the inheritor
+        namespaces)
+      - Make sure $_ is properly preserved even if the loaded module
+        is negligent enough to change it (RT#66661)
+      - Added missing copyright statement
 
 1.0008   24 Feb 2011
         Fix inject_base regression introduced during optimizations in

Modified: trunk/libclass-c3-componentised-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-componentised-perl/MANIFEST?rev=71748&op=diff
==============================================================================
--- trunk/libclass-c3-componentised-perl/MANIFEST (original)
+++ trunk/libclass-c3-componentised-perl/MANIFEST Sun Mar 20 12:35:23 2011
@@ -15,6 +15,8 @@
 t/00-load.t
 t/01-basic.t
 t/02-explicit.t
+t/03-unstable_dollar_underscore.t
+t/lib/DestroyDollarUnderscore.pm
 t/lib/MyModule.pm
 t/lib/MyModule/ErrorComponent.pm
 t/lib/MyModule/OwnComponent.pm

Modified: trunk/libclass-c3-componentised-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-componentised-perl/META.yml?rev=71748&op=diff
==============================================================================
--- trunk/libclass-c3-componentised-perl/META.yml (original)
+++ trunk/libclass-c3-componentised-perl/META.yml Sun Mar 20 12:35:23 2011
@@ -4,7 +4,6 @@
   - 'Ash Berlin <ash at cpan.org>'
 build_requires:
   ExtUtils::MakeMaker: 6.42
-  FindBin: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
@@ -27,4 +26,4 @@
   perl: 5.6.2
 resources:
   license: http://dev.perl.org/licenses/
-version: 1.0008
+version: 1.0009

Modified: trunk/libclass-c3-componentised-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-componentised-perl/Makefile.PL?rev=71748&op=diff
==============================================================================
--- trunk/libclass-c3-componentised-perl/Makefile.PL (original)
+++ trunk/libclass-c3-componentised-perl/Makefile.PL Sun Mar 20 12:35:23 2011
@@ -22,6 +22,4 @@
 # will need adjustment if the require is removed
 requires  'Class::C3' => '0.20';
 
-build_requires 'FindBin';
-
 WriteAll;

Modified: trunk/libclass-c3-componentised-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-componentised-perl/debian/changelog?rev=71748&op=diff
==============================================================================
--- trunk/libclass-c3-componentised-perl/debian/changelog (original)
+++ trunk/libclass-c3-componentised-perl/debian/changelog Sun Mar 20 12:35:23 2011
@@ -1,14 +1,13 @@
-libclass-c3-componentised-perl (1.0008-1) UNRELEASED; urgency=low
-
-  NEEDS copyright information from upstream
+libclass-c3-componentised-perl (1.0009-1) UNRELEASED; urgency=low
 
   * New upstream release
   * Rewrite control description
   * Standards-Version 3.9.1 (no changes)
   * Add myself to Uploaders and Copyright
+  * Updated upstream copyright information
   * Bump to debhelper 8
 
- -- Jonathan Yu <jawnsy at cpan.org>  Sun, 27 Feb 2011 17:01:52 -0500
+ -- Jonathan Yu <jawnsy at cpan.org>  Sun, 20 Mar 2011 08:32:40 -0400
 
 libclass-c3-componentised-perl (1.0006-2) unstable; urgency=low
 

Modified: trunk/libclass-c3-componentised-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-componentised-perl/debian/copyright?rev=71748&op=diff
==============================================================================
--- trunk/libclass-c3-componentised-perl/debian/copyright (original)
+++ trunk/libclass-c3-componentised-perl/debian/copyright Sun Mar 20 12:35:23 2011
@@ -1,11 +1,14 @@
 Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
-Maintainer: Ash Berlin <ash at cpan.org>
+Maintainer: DBIx::Class Developers <dbix-class at lists.scsys.co.uk>
 Source: http://search.cpan.org/dist/Class-C3-Componentised/
 Name: Class-C3-Componentised
 
 Files: *
-Copyright: Ash Berlin <ash at cpan.org>
+Copyright: 2006-2011, Matt S. Trout <perl-stuff at trout.me.uk>
+ 2006-2011, various contributors to the DBIx::Class project
 License: Artistic or GPL-1+
+X-Comment: For the full list of copyright holders, please see the
+ copyright information for the libdbix-class-perl package.
 
 Files: debian/*
 Copyright: 2007-2009, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>

Modified: trunk/libclass-c3-componentised-perl/lib/Class/C3/Componentised.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-c3-componentised-perl/lib/Class/C3/Componentised.pm?rev=71748&op=diff
==============================================================================
--- trunk/libclass-c3-componentised-perl/lib/Class/C3/Componentised.pm (original)
+++ trunk/libclass-c3-componentised-perl/lib/Class/C3/Componentised.pm Sun Mar 20 12:35:23 2011
@@ -47,9 +47,9 @@
 # Therefore leaving it in indefinitely.
 use MRO::Compat;
 
-use Carp;
-
-our $VERSION = 1.0008;
+use Carp ();
+
+our $VERSION = 1.0009;
 
 my $invalid_class = qr/(?: \b:\b | \:{3,} | \:\:$ )/x;
 
@@ -142,16 +142,16 @@
     return if ( *{"${f_class}::$_"}{CODE} );
   }
 
-
   # require always returns true on success
-  eval { require($file) } or do {
+  # ill-behaved modules might very well obliterate $_
+  eval { local $_; require($file) } or do {
 
     $@ = "Invalid class name '$f_class'" if $f_class =~ $invalid_class;
 
     if ($class->can('throw_exception')) {
       $class->throw_exception($@);
     } else {
-      croak $@;
+      Carp::croak $@;
     }
   };
 
@@ -232,12 +232,20 @@
   }
 }
 
-=head1 AUTHOR
-
-Matt S. Trout and the DBIx::Class team
+=head1 AUTHORS
+
+Matt S. Trout and the L<DBIx::Class team|DBIx::Class/CONTRIBUTORS>
 
 Pulled out into seperate module by Ash Berlin C<< <ash at cpan.org> >>
 
+Optimizations and overall bolt-tightening by Peter "ribasushi" Rabbitson
+C<< <ribasushi at cpan.org> >>
+
+=head1 COPYRIGHT
+
+Copyright (c) 2006 - 2011 the Class::C3::Componentised L</AUTHORS> as listed
+above.
+
 =head1 LICENSE
 
 You may distribute this code under the same terms as Perl itself.




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