Hello community, here is the log from the commit of package perl-Any-Moose for openSUSE:Factory checked in at 2013-06-05 17:47:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Any-Moose (Old) and /work/SRC/openSUSE:Factory/.perl-Any-Moose.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Any-Moose" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Any-Moose/perl-Any-Moose.changes 2012-04-02 10:30:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Any-Moose.new/perl-Any-Moose.changes 2013-06-05 17:47:25.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Jun 3 11:22:24 UTC 2013 - [email protected] + +- updated to 0.21 + * Add tokuhirom's translation of the deprecation notice + * Documentation fixes + * Deprecated in favor of Moo. Good night, sweet prince. + +------------------------------------------------------------------- Old: ---- Any-Moose-0.18.tar.gz New: ---- Any-Moose-0.21.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Any-Moose.spec ++++++ --- /var/tmp/diff_new_pack.fmL9p3/_old 2013-06-05 17:47:26.000000000 +0200 +++ /var/tmp/diff_new_pack.fmL9p3/_new 2013-06-05 17:47:26.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Any-Moose # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +17,10 @@ Name: perl-Any-Moose -Version: 0.18 +Version: 0.21 Release: 0 %define cpan_name Any-Moose -Summary: use Moose or Mouse modules +Summary: Use Moose or Mouse modules (deprecated) License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Any-Moose/ @@ -30,10 +30,17 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Moose) +#BuildRequires: perl(Any::Moose) +#BuildRequires: perl(Data::PowerSet) +#BuildRequires: perl(Dist::Zilla::Plugin::MakeMaker::Awesome) +#BuildRequires: perl(Mouse) +#BuildRequires: perl(namespace::autoclean) Requires: perl(Moose) %{perl_requires} %description +*deprecated* - use Moo instead! + Though we recommend that people generally use the Moose manpage, we accept that Moose cannot yet be used for everything everywhere. People generally like the Moose sugar, so many people use the Mouse manpage, a lightweight ++++++ Any-Moose-0.18.tar.gz -> Any-Moose-0.21.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Any-Moose-0.18/Changes new/Any-Moose-0.21/Changes --- old/Any-Moose-0.18/Changes 2011-11-07 17:00:31.000000000 +0100 +++ new/Any-Moose-0.21/Changes 2013-03-02 16:34:02.000000000 +0100 @@ -1,3 +1,12 @@ +0.21 2013-03-02 + * Add tokuhirom's translation of the deprecation notice + +0.20 2012-12-30 + * Documentation fixes + +0.19 2012-12-30 + * Deprecated in favor of Moo. Good night, sweet prince. + 0.18 2011-11-07 * Try to cope with broken smokers better by recording a Moose prereq when it is used. (Chris Williams) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Any-Moose-0.18/LICENSE new/Any-Moose-0.21/LICENSE --- old/Any-Moose-0.18/LICENSE 2011-11-07 17:00:31.000000000 +0100 +++ new/Any-Moose-0.21/LICENSE 2013-03-02 16:34:02.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2011 by Best Practical Solutions. +This software is copyright (c) 2013 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) 2011 by Best Practical Solutions. +This software is Copyright (c) 2013 by Best Practical Solutions. This is free software, licensed under: @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2011 by Best Practical Solutions. +This software is Copyright (c) 2013 by Best Practical Solutions. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Any-Moose-0.18/META.yml new/Any-Moose-0.21/META.yml --- old/Any-Moose-0.18/META.yml 2011-11-07 17:00:31.000000000 +0100 +++ new/Any-Moose-0.21/META.yml 2013-03-02 16:34:02.000000000 +0100 @@ -1,5 +1,5 @@ --- -abstract: 'use Moose or Mouse modules' +abstract: '*deprecated* - use Moo instead!' author: - 'Shawn M Moore <[email protected]>' - 'Florian Ragwitz <[email protected]>' @@ -11,7 +11,7 @@ configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 1 -generated_by: 'Dist::Zilla version 4.300002, CPAN::Meta::Converter version 2.112150' +generated_by: 'Dist::Zilla version 4.300030, CPAN::Meta::Converter version 2.120921' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -19,4 +19,4 @@ name: Any-Moose requires: perl: 5.006_002 -version: 0.18 +version: 0.21 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Any-Moose-0.18/Makefile.PL new/Any-Moose-0.21/Makefile.PL --- old/Any-Moose-0.18/Makefile.PL 2011-11-07 17:00:31.000000000 +0100 +++ new/Any-Moose-0.21/Makefile.PL 2013-03-02 16:34:02.000000000 +0100 @@ -6,7 +6,7 @@ use ExtUtils::MakeMaker 6.30; my %WriteMakefileArgs = ( - 'ABSTRACT' => 'use Moose or Mouse modules', + 'ABSTRACT' => '*deprecated* - use Moo instead!', 'AUTHOR' => 'Shawn M Moore <[email protected]>, Florian Ragwitz <[email protected]>, Stevan Little <[email protected]>, Tokuhiro Matsuno <[email protected]>, Goro Fuji <[email protected]>, Ricardo Signes <[email protected]>', 'BUILD_REQUIRES' => {}, 'CONFIGURE_REQUIRES' => { @@ -17,7 +17,7 @@ 'LICENSE' => 'perl', 'NAME' => 'Any::Moose', 'PREREQ_PM' => {}, - 'VERSION' => '0.18', + 'VERSION' => '0.21', 'test' => { 'TESTS' => 't/*.t' } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Any-Moose-0.18/README new/Any-Moose-0.21/README --- old/Any-Moose-0.18/README 2011-11-07 17:00:31.000000000 +0100 +++ new/Any-Moose-0.21/README 2013-03-02 16:34:02.000000000 +0100 @@ -1,11 +1,11 @@ This archive contains the distribution Any-Moose, -version 0.18: +version 0.21: - use Moose or Mouse modules + *deprecated* - use Moo instead! -This software is copyright (c) 2011 by Best Practical Solutions. +This software is copyright (c) 2013 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. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Any-Moose-0.18/dist.ini new/Any-Moose-0.21/dist.ini --- old/Any-Moose-0.18/dist.ini 2011-11-07 17:00:31.000000000 +0100 +++ new/Any-Moose-0.21/dist.ini 2013-03-02 16:34:02.000000000 +0100 @@ -1,5 +1,5 @@ name = Any-Moose -version = 0.18 +version = 0.21 author = Shawn M Moore <[email protected]> author = Florian Ragwitz <[email protected]> author = Stevan Little <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Any-Moose-0.18/lib/Any/Moose.pm new/Any-Moose-0.21/lib/Any/Moose.pm --- old/Any-Moose-0.18/lib/Any/Moose.pm 2011-11-07 17:00:31.000000000 +0100 +++ new/Any-Moose-0.21/lib/Any/Moose.pm 2013-03-02 16:34:02.000000000 +0100 @@ -1,8 +1,8 @@ package Any::Moose; { - $Any::Moose::VERSION = '0.18'; + $Any::Moose::VERSION = '0.21'; } -# ABSTRACT: use Moose or Mouse modules +# ABSTRACT: *deprecated* - use Moo instead! use 5.006_002; use strict; @@ -232,89 +232,33 @@ =head1 NAME -Any::Moose - use Moose or Mouse modules +Any::Moose - *deprecated* - use Moo instead! =head1 VERSION -version 0.18 +version 0.21 -=head1 SYNOPSIS +=head1 DEPRECATION -=head2 BASIC +日本語翻訳: http://blog.64p.org/entry/2013/02/06/094906 - package Class; +Please use L<Moo> instead of Any::Moose for new code. - # uses Moose if it's loaded or demanded, Mouse otherwise - use Any::Moose; +Moo classes and roles will transparently and correctly upgrade to +Moose when needed. This is a fundamentally better design than what +Any::Moose offers. Mouse metaclasses do not interact with Moose +metaclasses which leaks abstractions all over the place. - # cleans the namespace up - no Any::Moose; +Any::Moose had a good run. It was a simplistic but expedient answer +for getting Moose syntax on the cheap but with the transparent +upgrade path to Moose when you needed it. But really, please don't +use it any more. :) -=head2 OTHER MODULES +You may find L<MooX::late> useful for porting your code from +Any::Moose to Moo. - package Other::Class; - use Any::Moose; - - # uses Moose::Util::TypeConstraints if the class has loaded Moose, - # Mouse::Util::TypeConstraints otherwise. - use Any::Moose '::Util::TypeConstraints'; - -=head2 ROLES - - package My::Sorter; - use Any::Moose 'Role'; - - requires 'cmp'; - -=head2 COMPLEX USAGE - - package My::Meta::Class; - use Any::Moose; - - # uses subtype from Moose::Util::TypeConstraints if the class loaded Moose, - # subtype from Mouse::Util::TypeConstraints otherwise. - # similarly for Mo*se::Util's does_role - use Any::Moose ( - '::Util::TypeConstraints' => ['subtype'], - '::Util' => ['does_role'], - ); - - # uses MouseX::Types or MooseX::Types - use Any::Moose 'X::Types'; - - # gives you the right class name depending on which Mo*se was loaded - extends any_moose('::Meta::Class'); - -=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 -will be provided to libraries, unless Moose is already loaded -or- -explicitly requested by the end-user. The end-user can force the decision -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 -used, rather than just once. +For the sparse documentation Any::Moose used to include, see +L<https://metacpan.org/module/SARTAK/Any-Moose-0.18/lib/Any/Moose.pm> =head1 AUTHORS @@ -348,7 +292,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2011 by Best Practical Solutions. +This software is copyright (c) 2013 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. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
