r44111 - in /branches/upstream/libnamespace-autoclean-perl/current: Changes MANIFEST META.yml Makefile.PL README dist.ini lib/namespace/autoclean.pm t/release-pod-coverage.t t/release-pod-syntax.t

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Tue Sep 15 17:30:27 UTC 2009


Author: carnil-guest
Date: Tue Sep 15 17:30:15 2009
New Revision: 44111

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

Added:
    branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-coverage.t
    branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-syntax.t
Modified:
    branches/upstream/libnamespace-autoclean-perl/current/Changes
    branches/upstream/libnamespace-autoclean-perl/current/MANIFEST
    branches/upstream/libnamespace-autoclean-perl/current/META.yml
    branches/upstream/libnamespace-autoclean-perl/current/Makefile.PL
    branches/upstream/libnamespace-autoclean-perl/current/README
    branches/upstream/libnamespace-autoclean-perl/current/dist.ini
    branches/upstream/libnamespace-autoclean-perl/current/lib/namespace/autoclean.pm

Modified: branches/upstream/libnamespace-autoclean-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/Changes?rev=44111&op=diff
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/Changes (original)
+++ branches/upstream/libnamespace-autoclean-perl/current/Changes Tue Sep 15 17:30:15 2009
@@ -1,3 +1,8 @@
+0.09  Tue, 15 Sep 2009 07:45:16 +0200
+  * Fix to avoid deprecation warnings from the latest Class::MOP, but
+    it still works with older versions too. (Dave Rolsky)
+  * Fix a documentation typo (Jonathan Yu).
+
 0.08  Sun, 07 Jun 2009 17:34:02 +0200
   * Run the role tests again Moose >= 0.56 only.
   * Add diagnostic for the Moose version to the role test.

Modified: branches/upstream/libnamespace-autoclean-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/MANIFEST?rev=44111&op=diff
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/MANIFEST (original)
+++ branches/upstream/libnamespace-autoclean-perl/current/MANIFEST Tue Sep 15 17:30:15 2009
@@ -10,4 +10,6 @@
 t/basic.t
 t/cleanee.t
 t/matchclean.t
+t/release-pod-coverage.t
+t/release-pod-syntax.t
 t/role.t

Modified: branches/upstream/libnamespace-autoclean-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/META.yml?rev=44111&op=diff
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/META.yml (original)
+++ branches/upstream/libnamespace-autoclean-perl/current/META.yml Tue Sep 15 17:30:15 2009
@@ -2,7 +2,7 @@
 abstract: 'Keep imports out of your namespace'
 author:
   - 'Florian Ragwitz <rafl at debian.org>'
-generated_by: 'Dist::Zilla::Plugin::MetaYAML version 1.091480'
+generated_by: 'Dist::Zilla::Plugin::MetaYAML version 1.092450'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -13,4 +13,4 @@
   Class::MOP: 0.80
   List::Util: 0
   namespace::clean: 0.11
-version: 0.08
+version: 0.09

Modified: branches/upstream/libnamespace-autoclean-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/Makefile.PL?rev=44111&op=diff
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/Makefile.PL (original)
+++ branches/upstream/libnamespace-autoclean-perl/current/Makefile.PL Tue Sep 15 17:30:15 2009
@@ -9,12 +9,12 @@
   NAME      => 'namespace::autoclean',
   AUTHOR    => 'Florian\ Ragwitz\ \<rafl\@debian\.org\>',
   ABSTRACT  => 'Keep\ imports\ out\ of\ your\ namespace',
-  VERSION   => '0.08',
+  VERSION   => '0.09',
   EXE_FILES => [ qw() ],
-  (eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()),
+  (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'perl') : ()),
   PREREQ_PM    => {
+    "namespace::clean" => '0.11',
     "List::Util" => '0',
-    "namespace::clean" => '0.11',
     "Class::MOP" => '0.80',
     "B::Hooks::EndOfScope" => '0.07',
   },

Modified: branches/upstream/libnamespace-autoclean-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/README?rev=44111&op=diff
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/README (original)
+++ branches/upstream/libnamespace-autoclean-perl/current/README Tue Sep 15 17:30:15 2009
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution namespace-autoclean, version
-0.08:
+0.09:
 
   Keep imports out of your namespace
 

Modified: branches/upstream/libnamespace-autoclean-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/dist.ini?rev=44111&op=diff
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/dist.ini (original)
+++ branches/upstream/libnamespace-autoclean-perl/current/dist.ini Tue Sep 15 17:30:15 2009
@@ -1,5 +1,5 @@
 name    = namespace-autoclean
-version = 0.08
+version = 0.09
 author  = Florian Ragwitz <rafl at debian.org>
 license = Perl_5
 copyright_holder = Florian Ragwitz
@@ -15,4 +15,4 @@
 remove = PodVersion
 remove = BumpVersion
 
-[PodWeaver]
+[PodPurler]

Modified: branches/upstream/libnamespace-autoclean-perl/current/lib/namespace/autoclean.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/lib/namespace/autoclean.pm?rev=44111&op=diff
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/lib/namespace/autoclean.pm (original)
+++ branches/upstream/libnamespace-autoclean-perl/current/lib/namespace/autoclean.pm Tue Sep 15 17:30:15 2009
@@ -2,7 +2,7 @@
 use warnings;
 
 package namespace::autoclean;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
 
 # ABSTRACT: Keep imports out of your namespace
 
@@ -38,7 +38,8 @@
 
     on_scope_end {
         my $meta = Class::MOP::Class->initialize($cleanee);
-        my %methods = map { ($_ => 1) } keys %{ $meta->get_method_map };
+        my %methods = map { ($_ => 1) } $meta->get_method_list;
+        $methods{meta} = 1 if $meta->isa('Moose::Meta::Role') && Moose->VERSION < 0.90;
         my %extra = ();
 
         for my $method (keys %methods) {
@@ -55,13 +56,16 @@
 1;
 
 __END__
+
+=pod
+
 =head1 NAME
 
 namespace::autoclean - Keep imports out of your namespace
 
 =head1 VERSION
 
-version 0.08
+version 0.09
 
 =head1 SYNOPSIS
 
@@ -87,7 +91,7 @@
 
 This module is very similar to L<namespace::clean|namespace::clean>, except it
 will clean all imported functions, no matter if you imported them before or
-after you C<use>d the pagma. It will also not touch anything that looks like a
+after you C<use>d the pragma. It will also not touch anything that looks like a
 method, according to C<Class::MOP::Class::get_method_list>.
 
 If you're writing an exporter and you want to clean up after yourself (and your
@@ -103,17 +107,6 @@
         -cleanee => scalar(caller),
       );
   }
-
-=head1 AUTHOR
-
-  Florian Ragwitz <rafl at debian.org>
-
-=head1 COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2009 by Florian Ragwitz.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.
 
 =head1 PARAMETERS
 
@@ -157,3 +150,19 @@
 
 L<B::Hooks::EndOfScope>
 
+
+
+=head1 AUTHOR
+
+  Florian Ragwitz <rafl at debian.org>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2009 by Florian Ragwitz.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut 
+
+

Added: branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-coverage.t?rev=44111&op=file
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-coverage.t (added)
+++ branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-coverage.t Tue Sep 15 17:30:15 2009
@@ -1,0 +1,21 @@
+#!perl
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+
+use Test::More;
+
+eval "use Test::Pod::Coverage 1.08";
+plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
+  if $@;
+
+eval "use Pod::Coverage::TrustPod";
+plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
+  if $@;
+
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });

Added: branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-syntax.t?rev=44111&op=file
==============================================================================
--- branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-syntax.t (added)
+++ branches/upstream/libnamespace-autoclean-perl/current/t/release-pod-syntax.t Tue Sep 15 17:30:15 2009
@@ -1,0 +1,15 @@
+#!perl
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+use Test::More;
+
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+
+all_pod_files_ok();




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