r70676 - in /branches/upstream/libclass-unload-perl/current: Changes LICENSE MANIFEST META.yml Makefile.PL README dist.ini lib/Class/Unload.pm t/01-unload.t t/release-pod-coverage.t t/release-pod-syntax.t

ghedo-guest at users.alioth.debian.org ghedo-guest at users.alioth.debian.org
Sun Mar 6 15:01:43 UTC 2011


Author: ghedo-guest
Date: Sun Mar  6 15:01:24 2011
New Revision: 70676

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70676
Log:
[svn-upgrade] new version libclass-unload-perl (0.07)

Modified:
    branches/upstream/libclass-unload-perl/current/Changes
    branches/upstream/libclass-unload-perl/current/LICENSE
    branches/upstream/libclass-unload-perl/current/MANIFEST
    branches/upstream/libclass-unload-perl/current/META.yml
    branches/upstream/libclass-unload-perl/current/Makefile.PL
    branches/upstream/libclass-unload-perl/current/README
    branches/upstream/libclass-unload-perl/current/dist.ini
    branches/upstream/libclass-unload-perl/current/lib/Class/Unload.pm
    branches/upstream/libclass-unload-perl/current/t/01-unload.t
    branches/upstream/libclass-unload-perl/current/t/release-pod-coverage.t
    branches/upstream/libclass-unload-perl/current/t/release-pod-syntax.t

Modified: branches/upstream/libclass-unload-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/Changes?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/Changes (original)
+++ branches/upstream/libclass-unload-perl/current/Changes Sun Mar  6 15:01:24 2011
@@ -1,4 +1,7 @@
 Revision history for Class-Unload
+
+0.07      2011-01-26 23:27:56 Europe/London
+        - Clean up after Class::C3 on pre-5.10 perls.
 
 0.06      2010-04-26 20:38:54 Europe/London
         - Convert to Dist::Zilla

Modified: branches/upstream/libclass-unload-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/LICENSE?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/LICENSE (original)
+++ branches/upstream/libclass-unload-perl/current/LICENSE Sun Mar  6 15:01:24 2011
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is copyright (c) 2011 by Dagfinn Ilmari Mannsåker.
 
 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) 2010 by Dagfinn Ilmari Mannsåker.
+This software is Copyright (c) 2011 by Dagfinn Ilmari Mannsåker.
 
 This is free software, licensed under:
 
@@ -270,7 +270,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is Copyright (c) 2011 by Dagfinn Ilmari Mannsåker.
 
 This is free software, licensed under:
 

Modified: branches/upstream/libclass-unload-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/MANIFEST?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/MANIFEST (original)
+++ branches/upstream/libclass-unload-perl/current/MANIFEST Sun Mar  6 15:01:24 2011
@@ -15,4 +15,4 @@
 t/lib/MyClass/Sub.pm
 t/lib/MyClass/Sub/Sub.pm
 t/release-pod-coverage.t
-t/release-pod-syntax.t
+t/release-pod-syntax.t

Modified: branches/upstream/libclass-unload-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/META.yml?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/META.yml (original)
+++ branches/upstream/libclass-unload-perl/current/META.yml Sun Mar  6 15:01:24 2011
@@ -6,15 +6,13 @@
   Test::More: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.31
-generated_by: 'Dist::Zilla version 2.101151'
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.200001, CPAN::Meta::Converter version 2.102400'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
 name: Class-Unload
-recommends: {}
 requires:
   Class::Inspector: 0
-resources:
-  repository: http://github.com/ilmari/class-unload
-version: 0.06
+version: 0.07

Modified: branches/upstream/libclass-unload-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/Makefile.PL?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/Makefile.PL (original)
+++ branches/upstream/libclass-unload-perl/current/Makefile.PL Sun Mar  6 15:01:24 2011
@@ -9,34 +9,34 @@
 
 
 my %WriteMakefileArgs = (
-                       'test' => {
-                                   'TESTS' => 't/*.t'
-                                 },
-                       'NAME' => 'Class::Unload',
-                       'DISTNAME' => 'Class-Unload',
-                       'CONFIGURE_REQUIRES' => {
-                                                 'ExtUtils::MakeMaker' => '6.31'
-                                               },
-                       'AUTHOR' => 'Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;',
-                       'BUILD_REQUIRES' => {
-                                             'Test::More' => '0'
-                                           },
-                       'ABSTRACT' => 'Unload a class',
-                       'EXE_FILES' => [],
-                       'VERSION' => '0.06',
-                       'PREREQ_PM' => {
-                                        'Class::Inspector' => '0'
-                                      },
-                       'LICENSE' => 'perl'
-                     );
+  'ABSTRACT' => 'Unload a class',
+  'AUTHOR' => 'Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;',
+  'BUILD_REQUIRES' => {
+    'Test::More' => '0'
+  },
+  'CONFIGURE_REQUIRES' => {
+    'ExtUtils::MakeMaker' => '6.31'
+  },
+  'DISTNAME' => 'Class-Unload',
+  'EXE_FILES' => [],
+  'LICENSE' => 'perl',
+  'NAME' => 'Class::Unload',
+  'PREREQ_PM' => {
+    'Class::Inspector' => '0'
+  },
+  'VERSION' => '0.07',
+  'test' => {
+    'TESTS' => 't/*.t'
+  }
+);
 
 
 unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
   my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
-  my $pp = $WriteMakefileArgs{PREREQ_PM}; 
+  my $pp = $WriteMakefileArgs{PREREQ_PM};
   for my $mod ( keys %$br ) {
     if ( exists $pp->{$mod} ) {
-      $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; 
+      $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
     }
     else {
       $pp->{$mod} = $br->{$mod};

Modified: branches/upstream/libclass-unload-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/README?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/README (original)
+++ branches/upstream/libclass-unload-perl/current/README Sun Mar  6 15:01:24 2011
@@ -1,11 +1,11 @@
 
 
 This archive contains the distribution Class-Unload,
-version 0.06:
+version 0.07:
 
   Unload a class
 
-This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is copyright (c) 2011 by Dagfinn Ilmari Mannsåker.
 
 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/libclass-unload-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/dist.ini?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/dist.ini (original)
+++ branches/upstream/libclass-unload-perl/current/dist.ini Sun Mar  6 15:01:24 2011
@@ -5,7 +5,7 @@
 
 [@Basic]
 
-[AutoPrereq]
+[AutoPrereqs]
 
 [PodSyntaxTests]
 [PodCoverageTests]

Modified: branches/upstream/libclass-unload-perl/current/lib/Class/Unload.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/lib/Class/Unload.pm?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/lib/Class/Unload.pm (original)
+++ branches/upstream/libclass-unload-perl/current/lib/Class/Unload.pm Sun Mar  6 15:01:24 2011
@@ -1,6 +1,6 @@
 package Class::Unload;
 BEGIN {
-  $Class::Unload::VERSION = '0.06';
+  $Class::Unload::VERSION = '0.07';
 }
 # ABSTRACT: Unload a class
 
@@ -22,7 +22,7 @@
     my $symtab = $class.'::';
     # Delete all symbols except other namespaces
     for my $symbol (keys %$symtab) {
-        next if substr($symbol, -2, 2) eq '::';
+        next if $symbol =~ /\A[^:]+::\z/;
         delete $symtab->{$symbol};
     }
     
@@ -44,7 +44,7 @@
 
 =head1 VERSION
 
-version 0.06
+version 0.07
 
 =head1 SYNOPSIS
 
@@ -76,11 +76,11 @@
 
 =head1 AUTHOR
 
-  Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;
+Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is copyright (c) 2011 by Dagfinn Ilmari Mannsåker.
 
 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/libclass-unload-perl/current/t/01-unload.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/t/01-unload.t?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/t/01-unload.t (original)
+++ branches/upstream/libclass-unload-perl/current/t/01-unload.t Sun Mar  6 15:01:24 2011
@@ -4,15 +4,19 @@
 use Class::Unload;
 use lib 't/lib';
 
-use Test::More tests => 14;
+use Test::More tests => 15;
 
 for my $class ( qw/ MyClass MyClass::Sub MyClass::Sub::Sub / ) {
     eval "require $class" or diag $@;
     ok( Class::Inspector->loaded( $class ), "$class loaded" );
 }
 
+# Class::C3 creates this sort of cruft on 5.8
+${'MyClass::'}{'::ISA::CACHE::'} = 42;
+
 ok( Class::Unload->unload( 'MyClass' ), 'Unloading MyClass' );
 ok( ! Class::Inspector->loaded( 'MyClass' ), 'MyClass is not loaded' );
+ok( ! exists(${'MyClass::'}{'::ISA::CACHE::'}), 'Stash cruft deleted' );
 ok( Class::Inspector->loaded( 'MyClass::Sub' ), 'MyClass::Sub is still loaded' );
 
 ok( Class::Unload->unload( 'MyClass::Sub' ), 'Unloading MyClass::Sub' );

Modified: branches/upstream/libclass-unload-perl/current/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/t/release-pod-coverage.t?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/t/release-pod-coverage.t (original)
+++ branches/upstream/libclass-unload-perl/current/t/release-pod-coverage.t Sun Mar  6 15:01:24 2011
@@ -18,4 +18,4 @@
 plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
   if $@;
 
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });

Modified: branches/upstream/libclass-unload-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-unload-perl/current/t/release-pod-syntax.t?rev=70676&op=diff
==============================================================================
--- branches/upstream/libclass-unload-perl/current/t/release-pod-syntax.t (original)
+++ branches/upstream/libclass-unload-perl/current/t/release-pod-syntax.t Sun Mar  6 15:01:24 2011
@@ -9,7 +9,7 @@
 
 use Test::More;
 
-eval "use Test::Pod 1.00";
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
 
-all_pod_files_ok();
+all_pod_files_ok();




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