r74260 - in /branches/upstream/libany-moose-perl/current: LICENSE MANIFEST META.yml Makefile.PL README dist.ini lib/Any/Moose.pm t/001-basic-moose.t t/001-basic-mouse.t t/004-x-modules-mouse.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
Thu May 12 15:02:56 UTC 2011


Author: ghedo-guest
Date: Thu May 12 15:02:39 2011
New Revision: 74260

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74260
Log:
[svn-upgrade] new version libany-moose-perl (0.14)

Modified:
    branches/upstream/libany-moose-perl/current/LICENSE
    branches/upstream/libany-moose-perl/current/MANIFEST
    branches/upstream/libany-moose-perl/current/META.yml
    branches/upstream/libany-moose-perl/current/Makefile.PL
    branches/upstream/libany-moose-perl/current/README
    branches/upstream/libany-moose-perl/current/dist.ini
    branches/upstream/libany-moose-perl/current/lib/Any/Moose.pm
    branches/upstream/libany-moose-perl/current/t/001-basic-moose.t
    branches/upstream/libany-moose-perl/current/t/001-basic-mouse.t
    branches/upstream/libany-moose-perl/current/t/004-x-modules-mouse.t
    branches/upstream/libany-moose-perl/current/t/release-pod-coverage.t
    branches/upstream/libany-moose-perl/current/t/release-pod-syntax.t

Modified: branches/upstream/libany-moose-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/LICENSE?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/LICENSE (original)
+++ branches/upstream/libany-moose-perl/current/LICENSE Thu May 12 15:02:39 2011
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by Best Practical Solutions.
+This software is copyright (c) 2011 by Best Practical Solutions.
 
 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 Best Practical Solutions.
+This software is Copyright (c) 2011 by Best Practical Solutions.
 
 This is free software, licensed under:
 
@@ -270,7 +270,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2010 by Best Practical Solutions.
+This software is Copyright (c) 2011 by Best Practical Solutions.
 
 This is free software, licensed under:
 

Modified: branches/upstream/libany-moose-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/MANIFEST?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/MANIFEST (original)
+++ branches/upstream/libany-moose-perl/current/MANIFEST Thu May 12 15:02:39 2011
@@ -25,4 +25,4 @@
 t/101-localize-errvar.t
 t/lib/AnyMooseTest.pm
 t/release-pod-coverage.t
-t/release-pod-syntax.t
+t/release-pod-syntax.t

Modified: branches/upstream/libany-moose-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/META.yml?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/META.yml (original)
+++ branches/upstream/libany-moose-perl/current/META.yml Thu May 12 15:02:39 2011
@@ -9,14 +9,14 @@
 build_requires: {}
 configure_requires:
   ExtUtils::MakeMaker: 6.31
-generated_by: 'Dist::Zilla version 2.100921'
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110360'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
 name: Any-Moose
-recommends: {}
 requires:
   Mouse: 0.40
   perl: 5.006_002
-version: 0.13
+version: 0.14

Modified: branches/upstream/libany-moose-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/Makefile.PL?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/Makefile.PL (original)
+++ branches/upstream/libany-moose-perl/current/Makefile.PL Thu May 12 15:02:39 2011
@@ -2,35 +2,45 @@
 use strict;
 use warnings;
 
- BEGIN { require 5.006_002; } 
+BEGIN { require 5.006_002; }
 
 use ExtUtils::MakeMaker 6.31;
 
 
 
 my %WriteMakefileArgs = (
-                       'test' => {
-                                   'TESTS' => 't/*.t'
-                                 },
-                       'NAME' => 'Any::Moose',
-                       'DISTNAME' => 'Any-Moose',
-                       'CONFIGURE_REQUIRES' => {
-                                                 'ExtUtils::MakeMaker' => '6.31'
-                                               },
-                       'AUTHOR' => 'Shawn M Moore <sartak at bestpractical.com>, Florian Ragwitz <rafl at debian.org>, Stevan Little <stevan at iinteractive.com>, Tokuhiro Matsuno <tokuhirom at gmail.com>, Goro Fuji <gfuji at cpan.org>',
-                       'BUILD_REQUIRES' => {},
-                       'ABSTRACT' => 'use Moose or Mouse modules',
-                       'EXE_FILES' => [],
-                       'VERSION' => '0.13',
-                       'PREREQ_PM' => {
-                                        'Mouse' => '0.40'
-                                      },
-                       'LICENSE' => 'perl'
-                     );
+  'ABSTRACT' => 'use Moose or Mouse modules',
+  'AUTHOR' => 'Shawn M Moore <sartak at bestpractical.com>, Florian Ragwitz <rafl at debian.org>, Stevan Little <stevan at iinteractive.com>, Tokuhiro Matsuno <tokuhirom at gmail.com>, Goro Fuji <gfuji at cpan.org>',
+  'BUILD_REQUIRES' => {},
+  'CONFIGURE_REQUIRES' => {
+    'ExtUtils::MakeMaker' => '6.31'
+  },
+  'DISTNAME' => 'Any-Moose',
+  'EXE_FILES' => [],
+  'LICENSE' => 'perl',
+  'NAME' => 'Any::Moose',
+  'PREREQ_PM' => {
+    'Mouse' => '0.40'
+  },
+  'VERSION' => '0.14',
+  'test' => {
+    'TESTS' => 't/*.t'
+  }
+);
 
 
-delete $WriteMakefileArgs{BUILD_REQUIRES}
-  unless eval { ExtUtils::MakeMaker->VERSION(6.56) };
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+  my $pp = $WriteMakefileArgs{PREREQ_PM};
+  for my $mod ( keys %$br ) {
+    if ( exists $pp->{$mod} ) {
+      $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+    }
+    else {
+      $pp->{$mod} = $br->{$mod};
+    }
+  }
+}
 
 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

Modified: branches/upstream/libany-moose-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/README?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/README (original)
+++ branches/upstream/libany-moose-perl/current/README Thu May 12 15:02:39 2011
@@ -1,11 +1,11 @@
 
 
 This archive contains the distribution Any-Moose,
-version 0.13:
+version 0.14:
 
   use Moose or Mouse modules
 
-This software is copyright (c) 2010 by Best Practical Solutions.
+This software is copyright (c) 2011 by Best Practical Solutions.
 
 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/libany-moose-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/dist.ini?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/dist.ini (original)
+++ branches/upstream/libany-moose-perl/current/dist.ini Thu May 12 15:02:39 2011
@@ -1,5 +1,5 @@
 name    = Any-Moose
-version = 0.13
+version = 0.14
 author  = Shawn M Moore <sartak at bestpractical.com>
 author  = Florian Ragwitz <rafl at debian.org>
 author  = Stevan Little <stevan at iinteractive.com>

Modified: branches/upstream/libany-moose-perl/current/lib/Any/Moose.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/lib/Any/Moose.pm?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/lib/Any/Moose.pm (original)
+++ branches/upstream/libany-moose-perl/current/lib/Any/Moose.pm Thu May 12 15:02:39 2011
@@ -1,6 +1,6 @@
 package Any::Moose;
 BEGIN {
-  $Any::Moose::VERSION = '0.13';
+  $Any::Moose::VERSION = '0.14';
 }
 # ABSTRACT: use Moose or Mouse modules
 
@@ -236,13 +236,11 @@
 
 =head1 VERSION
 
-version 0.13
+version 0.14
 
 =head1 SYNOPSIS
 
-
 =head2 BASIC
-
 
     package Class;
 
@@ -253,7 +251,6 @@
     no Any::Moose;
 
 =head2 OTHER MODULES
-
 
     package Other::Class;
     use Any::Moose;
@@ -264,14 +261,12 @@
 
 =head2 ROLES
 
-
     package My::Sorter;
     use Any::Moose 'Role';
 
     requires 'cmp';
 
 =head2 COMPLEX USAGE
-
 
     package My::Meta::Class;
     use Any::Moose;
@@ -292,12 +287,10 @@
 
 =head1 DESCRIPTION
 
-
 Though we recommend that people generally use L<Moose>, we accept that Moose
 cannot yet be used for everything everywhere. People generally like the Moose
 sugar, so many people use L<Mouse>, a lightweight replacement for parts of
 Moose.
-
 
 Because Mouse strives for compatibility with Moose, it's easy to substitute one
 for the other. This module facilitates that substitution. By default, Mouse
@@ -306,23 +299,18 @@
 of which backend to use by setting the environment variable C<ANY_MOOSE> to
 be C<Moose> or C<Mouse>.
 
-
 Note that the decision of which backend to use is made only once, so that if
 Any-Moose picks Mouse, then a third-party library loads Moose, anything else
 that uses Any-Moose will continue to pick Mouse.
 
-
 So, if you have to use L<Mouse>, please be considerate to the Moose fanboys
 (like myself!) and use L<Any-Moose> instead. C<:)>
 
 =head1 SEE ALSO
 
-
 L<Moose>
 
-
 L<Mouse>
-
 
 L<Squirrel> - a deprecated first-stab at Any-Moose-like logic. Its biggest
 fault was in making the decision of which backend to use every time it was
@@ -330,15 +318,33 @@
 
 =head1 AUTHORS
 
-  Shawn M Moore <sartak at bestpractical.com>
-  Florian Ragwitz <rafl at debian.org>
-  Stevan Little <stevan at iinteractive.com>
-  Tokuhiro Matsuno <tokuhirom at gmail.com>
-  Goro Fuji <gfuji at cpan.org>
+=over 4
+
+=item *
+
+Shawn M Moore <sartak at bestpractical.com>
+
+=item *
+
+Florian Ragwitz <rafl at debian.org>
+
+=item *
+
+Stevan Little <stevan at iinteractive.com>
+
+=item *
+
+Tokuhiro Matsuno <tokuhirom at gmail.com>
+
+=item *
+
+Goro Fuji <gfuji at cpan.org>
+
+=back
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is copyright (c) 2010 by Best Practical Solutions.
+This software is copyright (c) 2011 by Best Practical Solutions.
 
 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/libany-moose-perl/current/t/001-basic-moose.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/t/001-basic-moose.t?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/t/001-basic-moose.t (original)
+++ branches/upstream/libany-moose-perl/current/t/001-basic-moose.t Thu May 12 15:02:39 2011
@@ -6,42 +6,36 @@
 BEGIN { delete $ENV{ANY_MOOSE} }
 
 BEGIN {
-    eval 'require Mouse';
-    plan skip_all => 'Mouse not available' if $@;
+    eval 'require Moose';
+    plan skip_all => 'Moose not available' if $@;
     plan tests => 9;
 }
 
 do {
-    package Moused::Any::Moose;
+    package Moosed::Any::Moose;
     use Any::Moose;
 
     ::ok(__PACKAGE__->can('meta'), 'Mo*se was installed');
-    ::like(__PACKAGE__->meta, qr/^Mouse/, 'Mouse was installed');
+    ::like(__PACKAGE__->meta, qr/^Moose/, 'Moose was installed');
 
-    ::is(any_moose, 'Mouse');
-    ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
+    ::is(any_moose, 'Moose');
+    ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
 
-    ::is(any_moose, 'Mouse', 'still Mouse even if Moose is loaded');
+    ::is(any_moose, 'Moose', 'still Moose even if Moose is loaded');
 
     no Any::Moose;
 };
 
-ok(!Moused::Any::Moose->can('has'), "has was unimported");
+ok(!Moosed::Any::Moose->can('has'), "has was unimported");
 
-SKIP: {
-    my $loaded_moose;
-    BEGIN { $loaded_moose = eval 'require Moose' }
-    skip "Moose required for these tests to be useful" => 3 unless $loaded_moose;
+do {
+    package After::Moose;
+    use Any::Moose;
 
-    do {
-        package After::Moose;
-        use Any::Moose;
+    ::is(any_moose, 'Moose');
+    ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
 
-        ::is(any_moose, 'Mouse');
-        ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
+    no Any::Moose;
+};
 
-        no Any::Moose;
-    };
-
-    ok(!After::Moose->can('has'), "has was unimported");
-}
+ok(!After::Moose->can('has'), "has was unimported");

Modified: branches/upstream/libany-moose-perl/current/t/001-basic-mouse.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/t/001-basic-mouse.t?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/t/001-basic-mouse.t (original)
+++ branches/upstream/libany-moose-perl/current/t/001-basic-mouse.t Thu May 12 15:02:39 2011
@@ -6,36 +6,42 @@
 BEGIN { delete $ENV{ANY_MOOSE} }
 
 BEGIN {
-    eval 'require Moose';
-    plan skip_all => 'Moose not available' if $@;
+    eval 'require Mouse';
+    plan skip_all => 'Mouse not available' if $@;
     plan tests => 9;
 }
 
 do {
-    package Moosed::Any::Moose;
+    package Moused::Any::Moose;
     use Any::Moose;
 
     ::ok(__PACKAGE__->can('meta'), 'Mo*se was installed');
-    ::like(__PACKAGE__->meta, qr/^Moose/, 'Moose was installed');
+    ::like(__PACKAGE__->meta, qr/^Mouse/, 'Mouse was installed');
 
-    ::is(any_moose, 'Moose');
-    ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
+    ::is(any_moose, 'Mouse');
+    ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
 
-    ::is(any_moose, 'Moose', 'still Moose even if Moose is loaded');
+    ::is(any_moose, 'Mouse', 'still Mouse even if Moose is loaded');
 
     no Any::Moose;
 };
 
-ok(!Moosed::Any::Moose->can('has'), "has was unimported");
+ok(!Moused::Any::Moose->can('has'), "has was unimported");
 
-do {
-    package After::Moose;
-    use Any::Moose;
+SKIP: {
+    my $loaded_moose;
+    BEGIN { $loaded_moose = eval 'require Moose' }
+    skip "Moose required for these tests to be useful" => 3 unless $loaded_moose;
 
-    ::is(any_moose, 'Moose');
-    ::is(any_moose('::Util::TypeConstraints'), 'Moose::Util::TypeConstraints');
+    do {
+        package After::Moose;
+        use Any::Moose;
 
-    no Any::Moose;
-};
+        ::is(any_moose, 'Mouse');
+        ::is(any_moose('::Util::TypeConstraints'), 'Mouse::Util::TypeConstraints');
 
-ok(!After::Moose->can('has'), "has was unimported");
+        no Any::Moose;
+    };
+
+    ok(!After::Moose->can('has'), "has was unimported");
+}

Modified: branches/upstream/libany-moose-perl/current/t/004-x-modules-mouse.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/t/004-x-modules-mouse.t?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/t/004-x-modules-mouse.t (original)
+++ branches/upstream/libany-moose-perl/current/t/004-x-modules-mouse.t Thu May 12 15:02:39 2011
@@ -6,7 +6,7 @@
 BEGIN { delete $ENV{ANY_MOOSE} }
 
 BEGIN {
-    plan skip_all => 'MouseX::Types not available' unless eval "require MouseX::Types";
+    plan skip_all => 'Mouse or MouseX::Types 0.03 not available' unless eval "require Mouse; require MouseX::Types 0.03;";
     plan tests => 2;
 }
 

Modified: branches/upstream/libany-moose-perl/current/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/t/release-pod-coverage.t?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/t/release-pod-coverage.t (original)
+++ branches/upstream/libany-moose-perl/current/t/release-pod-coverage.t Thu May 12 15:02:39 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/libany-moose-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libany-moose-perl/current/t/release-pod-syntax.t?rev=74260&op=diff
==============================================================================
--- branches/upstream/libany-moose-perl/current/t/release-pod-syntax.t (original)
+++ branches/upstream/libany-moose-perl/current/t/release-pod-syntax.t Thu May 12 15:02:39 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