Hello community, here is the log from the commit of package perl-Role-Tiny for openSUSE:Factory checked in at 2015-04-15 16:26:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Role-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Role-Tiny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Role-Tiny" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Role-Tiny/perl-Role-Tiny.changes 2014-11-13 09:18:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Role-Tiny.new/perl-Role-Tiny.changes 2015-04-15 16:26:49.000000000 +0200 @@ -1,0 +2,11 @@ +Tue Apr 14 21:02:27 UTC 2015 - [email protected] + +- updated to 2.000000 + see /usr/share/doc/packages/perl-Role-Tiny/Changes + + 2.000000 - 2015-02-26 + * Incompatible Changes + - Role::Tiny no longer applies fatal warnings to roles created with it. + strict and non-fatal warnings will continue to be applied. + +------------------------------------------------------------------- Old: ---- Role-Tiny-1.003004.tar.gz New: ---- Role-Tiny-2.000000.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Role-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.JB8Bqt/_old 2015-04-15 16:26:49.000000000 +0200 +++ /var/tmp/diff_new_pack.JB8Bqt/_new 2015-04-15 16:26:49.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Role-Tiny # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX 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-Role-Tiny -Version: 1.003004 +Version: 2.000000 Release: 0 %define cpan_name Role-Tiny -Summary: Roles. Like a nouvelle cuisine portion size slice of Moose. +Summary: Roles. Like a nouvelle cuisine portion size slice of Moose License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Role-Tiny/ ++++++ Role-Tiny-1.003004.tar.gz -> Role-Tiny-2.000000.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/Changes new/Role-Tiny-2.000000/Changes --- old/Role-Tiny-1.003004/Changes 2014-10-22 18:02:07.000000000 +0200 +++ new/Role-Tiny-2.000000/Changes 2015-02-26 10:34:14.000000000 +0100 @@ -1,5 +1,10 @@ Revision history for Role-Tiny +2.000000 - 2015-02-26 + * Incompatible Changes + - Role::Tiny no longer applies fatal warnings to roles created with it. + strict and non-fatal warnings will continue to be applied. + 1.003004 - 2014-10-22 - allow does_role to be overridden by Moo::Role diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/MANIFEST new/Role-Tiny-2.000000/MANIFEST --- old/Role-Tiny-1.003004/MANIFEST 2014-10-22 18:02:22.000000000 +0200 +++ new/Role-Tiny-2.000000/MANIFEST 2015-02-26 10:34:25.000000000 +0100 @@ -34,6 +34,7 @@ t/role-with-inheritance.t t/subclass.t xt/does-Moo.t +xt/Moo.t META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) README README file (added by Distar) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/META.json new/Role-Tiny-2.000000/META.json --- old/Role-Tiny-1.003004/META.json 2014-10-22 18:02:21.000000000 +0200 +++ new/Role-Tiny-2.000000/META.json 2015-02-26 10:34:25.000000000 +0100 @@ -4,7 +4,7 @@ "mst - Matt S. Trout (cpan:MSTROUT) <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142690", + "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.143240", "license" : [ "perl_5" ], @@ -60,5 +60,5 @@ }, "x_IRC" : "irc://irc.perl.org/#moose" }, - "version" : "1.003004" + "version" : "2.000000" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/META.yml new/Role-Tiny-2.000000/META.yml --- old/Role-Tiny-1.003004/META.yml 2014-10-22 18:02:21.000000000 +0200 +++ new/Role-Tiny-2.000000/META.yml 2015-02-26 10:34:25.000000000 +0100 @@ -6,7 +6,7 @@ Test::Fatal: '0.003' Test::More: '0.96' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142690' +generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 2.143240' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,4 +26,4 @@ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Role-Tiny license: http://dev.perl.org/licenses/ repository: git://github.com/moose/Role-Tiny.git -version: '1.003004' +version: '2.000000' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/Makefile.PL new/Role-Tiny-2.000000/Makefile.PL --- old/Role-Tiny-1.003004/Makefile.PL 2014-08-21 17:42:13.000000000 +0200 +++ new/Role-Tiny-2.000000/Makefile.PL 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use 5.006; my %META = ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/README new/Role-Tiny-2.000000/README --- old/Role-Tiny-1.003004/README 2014-10-22 18:02:22.000000000 +0200 +++ new/Role-Tiny-2.000000/README 2015-02-26 10:34:25.000000000 +0100 @@ -109,11 +109,7 @@ Strict and Warnings In addition to importing subroutines, using "Role::Tiny" applies strict - and fatal warnings to the caller. It's possible to disable these if - desired: - - use Role::Tiny; - use warnings NONFATAL => 'all'; + and warnings to the caller. SUBROUTINES does_role diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/lib/Role/Tiny/With.pm new/Role-Tiny-2.000000/lib/Role/Tiny/With.pm --- old/Role-Tiny-1.003004/lib/Role/Tiny/With.pm 2014-10-22 18:01:41.000000000 +0200 +++ new/Role-Tiny-2.000000/lib/Role/Tiny/With.pm 2015-02-26 10:33:55.000000000 +0100 @@ -1,9 +1,9 @@ package Role::Tiny::With; use strict; -use warnings FATAL => 'all'; +use warnings; -our $VERSION = '1.003004'; +our $VERSION = '2.000000'; $VERSION = eval $VERSION; use Role::Tiny (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/lib/Role/Tiny.pm new/Role-Tiny-2.000000/lib/Role/Tiny.pm --- old/Role-Tiny-1.003004/lib/Role/Tiny.pm 2014-10-22 18:01:41.000000000 +0200 +++ new/Role-Tiny-2.000000/lib/Role/Tiny.pm 2015-02-26 10:33:55.000000000 +0100 @@ -4,9 +4,9 @@ sub _getstash { \%{"$_[0]::"} } use strict; -use warnings FATAL => 'all'; +use warnings; -our $VERSION = '1.003004'; +our $VERSION = '2.000000'; $VERSION = eval $VERSION; our %INFO; @@ -44,7 +44,7 @@ my $target = caller; my $me = shift; strict->import; - warnings->import(FATAL => 'all'); + warnings->import; return if $me->is_role($target); # already exported into this package $INFO{$target}{is_role} = 1; # get symbol table reference @@ -427,7 +427,7 @@ $proto->$does($role) or $proto->$existing($role); }; no warnings 'redefine'; - *{_getglob "${to}::DOES"} = $new_sub; + return *{_getglob "${to}::DOES"} = $new_sub; } sub does_role { @@ -578,11 +578,7 @@ =head2 Strict and Warnings In addition to importing subroutines, using C<Role::Tiny> applies L<strict> and -L<fatal warnings|perllexwarn/Fatal Warnings> to the caller. It's possible to -disable these if desired: - - use Role::Tiny; - use warnings NONFATAL => 'all'; +L<warnings> to the caller. =head1 SUBROUTINES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/around-does.t new/Role-Tiny-2.000000/t/around-does.t --- old/Role-Tiny-1.003004/t/around-does.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/around-does.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/compose-modifiers.t new/Role-Tiny-2.000000/t/compose-modifiers.t --- old/Role-Tiny-1.003004/t/compose-modifiers.t 2013-09-18 08:11:35.000000000 +0200 +++ new/Role-Tiny-2.000000/t/compose-modifiers.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/concrete-methods.t new/Role-Tiny-2.000000/t/concrete-methods.t --- old/Role-Tiny-1.003004/t/concrete-methods.t 2014-03-14 09:14:37.000000000 +0100 +++ new/Role-Tiny-2.000000/t/concrete-methods.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; use Test::Fatal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/create-hook.t new/Role-Tiny-2.000000/t/create-hook.t --- old/Role-Tiny-1.003004/t/create-hook.t 2014-03-14 11:28:15.000000000 +0100 +++ new/Role-Tiny-2.000000/t/create-hook.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; use Role::Tiny (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/does.t new/Role-Tiny-2.000000/t/does.t --- old/Role-Tiny-1.003004/t/does.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/does.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More tests => 14; BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/load-module.t new/Role-Tiny-2.000000/t/load-module.t --- old/Role-Tiny-1.003004/t/load-module.t 2014-03-14 09:14:37.000000000 +0100 +++ new/Role-Tiny-2.000000/t/load-module.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; use Test::Fatal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/method-conflicts.t new/Role-Tiny-2.000000/t/method-conflicts.t --- old/Role-Tiny-1.003004/t/method-conflicts.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/method-conflicts.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/modifiers.t new/Role-Tiny-2.000000/t/modifiers.t --- old/Role-Tiny-1.003004/t/modifiers.t 2014-04-29 06:24:19.000000000 +0200 +++ new/Role-Tiny-2.000000/t/modifiers.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; use Test::Fatal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/namespace-clean.t new/Role-Tiny-2.000000/t/namespace-clean.t --- old/Role-Tiny-1.003004/t/namespace-clean.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/namespace-clean.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/overload.t new/Role-Tiny-2.000000/t/overload.t --- old/Role-Tiny-1.003004/t/overload.t 2014-03-14 09:14:37.000000000 +0100 +++ new/Role-Tiny-2.000000/t/overload.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-basic-basic.t new/Role-Tiny-2.000000/t/role-basic-basic.t --- old/Role-Tiny-1.003004/t/role-basic-basic.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-basic-basic.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More tests => 3; use lib 't/role-basic/lib'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-basic-bugs.t new/Role-Tiny-2.000000/t/role-basic-bugs.t --- old/Role-Tiny-1.003004/t/role-basic-bugs.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-basic-bugs.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use lib 't/role-basic/lib', 't/lib'; use Test::More; use Test::Fatal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-basic-composition.t new/Role-Tiny-2.000000/t/role-basic-composition.t --- old/Role-Tiny-1.003004/t/role-basic-composition.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-basic-composition.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use lib 't/role-basic/lib'; use Test::More; require Role::Tiny; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-basic-exceptions.t new/Role-Tiny-2.000000/t/role-basic-exceptions.t --- old/Role-Tiny-1.003004/t/role-basic-exceptions.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-basic-exceptions.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use lib 't/role-basic/lib'; use Test::More; require Role::Tiny; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-duplication.t new/Role-Tiny-2.000000/t/role-duplication.t --- old/Role-Tiny-1.003004/t/role-duplication.t 2013-09-18 08:11:35.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-duplication.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-long-package-name.t new/Role-Tiny-2.000000/t/role-long-package-name.t --- old/Role-Tiny-1.003004/t/role-long-package-name.t 2014-04-29 06:24:20.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-long-package-name.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; # using Role::Tiny->apply_roles_to_object with too many roles, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-tiny-composition.t new/Role-Tiny-2.000000/t/role-tiny-composition.t --- old/Role-Tiny-1.003004/t/role-tiny-composition.t 2013-09-18 08:11:35.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-tiny-composition.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; use Test::Fatal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-tiny-with.t new/Role-Tiny-2.000000/t/role-tiny-with.t --- old/Role-Tiny-1.003004/t/role-tiny-with.t 2014-04-01 23:16:42.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-tiny-with.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; BEGIN { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-tiny.t new/Role-Tiny-2.000000/t/role-tiny.t --- old/Role-Tiny-1.003004/t/role-tiny.t 2014-04-29 06:24:19.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-tiny.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; use Test::Fatal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/role-with-inheritance.t new/Role-Tiny-2.000000/t/role-with-inheritance.t --- old/Role-Tiny-1.003004/t/role-with-inheritance.t 2013-09-18 08:11:35.000000000 +0200 +++ new/Role-Tiny-2.000000/t/role-with-inheritance.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/t/subclass.t new/Role-Tiny-2.000000/t/subclass.t --- old/Role-Tiny-1.003004/t/subclass.t 2013-09-18 08:11:35.000000000 +0200 +++ new/Role-Tiny-2.000000/t/subclass.t 2015-02-23 21:29:22.000000000 +0100 @@ -1,5 +1,5 @@ use strict; -use warnings FATAL => 'all'; +use warnings; use Test::More; use Test::Fatal; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Role-Tiny-1.003004/xt/Moo.t new/Role-Tiny-2.000000/xt/Moo.t --- old/Role-Tiny-1.003004/xt/Moo.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Role-Tiny-2.000000/xt/Moo.t 2015-02-23 21:29:22.000000000 +0100 @@ -0,0 +1,24 @@ +use strict; +use warnings; +use Test::More $ENV{EXTENDED_TESTING} ? () + : (skip_all => 'Set EXTENDED_TESTING to enable Moo testing'); + +use IPC::Open3; +use File::Spec; +use Config; + +$ENV{PERL5LIB} = join $Config{path_sep}, @ARGV; + +open my $in, '<', File::Spec->devnull + or die "can't open devnull: $!"; + +my $pid = open3 $in, my $out, undef, $^X, '-MCPAN', '-e', 'test @ARGV', 'Moo'; +my $output = do { local $/; <$out> }; +close $out; +waitpid $pid, 0; + +my $status = $?; +like $output, qr/--\s*OK\s*\z/, + 'Moo passed tests'; + +done_testing;
