Hello community,
here is the log from the commit of package perl-Devel-OverloadInfo for openSUSE:Factory checked in at 2015-08-27 08:56:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-OverloadInfo (Old)
and /work/SRC/openSUSE:Factory/.perl-Devel-OverloadInfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-OverloadInfo"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.changes 2015-05-06 11:19:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Devel-OverloadInfo.new/perl-Devel-OverloadInfo.changes 2015-08-27 08:56:33.000000000 +0200
@@ -1,0 +2,15 @@
+Sun Aug 23 08:42:46 UTC 2015 - coolo@suse.com
+
+- updated to 0.004
+ see /usr/share/doc/packages/perl-Devel-OverloadInfo/Changes
+
+ 0.004 2015-08-13 17:35:32+01:00 Europe/London
+ - Document that existence of undef 'fallback' varies between perl versions
+ - Add tests for empty, inherited-only and no overloading
+ - Add is_overloaded() function
+
+ 0.003 2015-08-12 19:35:45+01:00 Europe/London
+ - Return an empty hash instead of undef for classes with no overloads
+ - Work around overload inheritance corruption before 5.16 (RT#106379)
+
+-------------------------------------------------------------------
Old:
----
Devel-OverloadInfo-0.002.tar.gz
New:
----
Devel-OverloadInfo-0.004.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-OverloadInfo.spec ++++++
--- /var/tmp/diff_new_pack.iLZfU6/_old 2015-08-27 08:56:33.000000000 +0200
+++ /var/tmp/diff_new_pack.iLZfU6/_new 2015-08-27 08:56:33.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Devel-OverloadInfo
-Version: 0.002
+Version: 0.004
Release: 0
%define cpan_name Devel-OverloadInfo
Summary: Introspect Overloaded Operators
@@ -33,6 +33,7 @@
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Package::Stash) >= 0.14
BuildRequires: perl(Sub::Identify)
+BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(parent)
Requires: perl(MRO::Compat)
++++++ Devel-OverloadInfo-0.002.tar.gz -> Devel-OverloadInfo-0.004.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/Changes new/Devel-OverloadInfo-0.004/Changes
--- old/Devel-OverloadInfo-0.002/Changes 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/Changes 2015-08-13 18:35:34.000000000 +0200
@@ -1,5 +1,14 @@
Revision history for Devel-OverloadInfo
+0.004 2015-08-13 17:35:32+01:00 Europe/London
+ - Document that existence of undef 'fallback' varies between perl versions
+ - Add tests for empty, inherited-only and no overloading
+ - Add is_overloaded() function
+
+0.003 2015-08-12 19:35:45+01:00 Europe/London
+ - Return an empty hash instead of undef for classes with no overloads
+ - Work around overload inheritance corruption before 5.16 (RT#106379)
+
0.002 2014-03-26 12:02:38+00:00 Europe/London
- Specify minimum required versions of Package::Stash and Exporter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/LICENSE new/Devel-OverloadInfo-0.004/LICENSE
--- old/Devel-OverloadInfo-0.002/LICENSE 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/LICENSE 2015-08-13 18:35:34.000000000 +0200
@@ -22,7 +22,7 @@
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/MANIFEST new/Devel-OverloadInfo-0.004/MANIFEST
--- old/Devel-OverloadInfo-0.002/MANIFEST 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/MANIFEST 2015-08-13 18:35:34.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.014.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.039.
Changes
LICENSE
MANIFEST
@@ -11,3 +11,4 @@
t/author-pod-spell.t
t/basic.t
t/release-pod-syntax.t
+t/rt106379-inheritance-corruption.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/META.json new/Devel-OverloadInfo-0.004/META.json
--- old/Devel-OverloadInfo-0.002/META.json 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/META.json 2015-08-13 18:35:34.000000000 +0200
@@ -4,24 +4,26 @@
"Dagfinn Ilmari Mannsåker "
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.133380",
+ "generated_by" : "Dist::Zilla version 5.039, CPAN::Meta::Converter version 2.150001",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Devel-OverloadInfo",
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30"
+ "ExtUtils::MakeMaker" : "0",
+ "perl" : "5.006"
}
},
"develop" : {
"requires" : {
- "Test::Pod" : "1.41"
+ "Test::Pod" : "1.41",
+ "Test::Spelling" : "0.12"
}
},
"runtime" : {
@@ -39,8 +41,11 @@
},
"test" : {
"requires" : {
+ "Test::Fatal" : "0",
"Test::More" : "0.88",
- "parent" : "0"
+ "base" : "0",
+ "parent" : "0",
+ "perl" : "5.006"
}
}
},
@@ -56,6 +61,6 @@
"web" : "https://github.com/ilmari/Devel-OverloadInfo"
}
},
- "version" : "0.002"
+ "version" : "0.004"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/META.yml new/Devel-OverloadInfo-0.004/META.yml
--- old/Devel-OverloadInfo-0.002/META.yml 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/META.yml 2015-08-13 18:35:34.000000000 +0200
@@ -3,28 +3,32 @@
author:
- 'Dagfinn Ilmari Mannsåker '
build_requires:
- Test::More: 0.88
- parent: 0
+ Test::Fatal: '0'
+ Test::More: '0.88'
+ base: '0'
+ parent: '0'
+ perl: '5.006'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '0'
+ perl: '5.006'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.133380'
+generated_by: 'Dist::Zilla version 5.039, CPAN::Meta::Converter version 2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Devel-OverloadInfo
requires:
- Exporter: 5.57
- MRO::Compat: 0
- Package::Stash: 0.14
- Scalar::Util: 0
- Sub::Identify: 0
- overload: 0
- perl: 5.006
- strict: 0
- warnings: 0
+ Exporter: '5.57'
+ MRO::Compat: '0'
+ Package::Stash: '0.14'
+ Scalar::Util: '0'
+ Sub::Identify: '0'
+ overload: '0'
+ perl: '5.006'
+ strict: '0'
+ warnings: '0'
resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-OverloadInfo
repository: git://github.com/ilmari/Devel-OverloadInfo.git
-version: 0.002
+version: '0.004'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/Makefile.PL new/Devel-OverloadInfo-0.004/Makefile.PL
--- old/Devel-OverloadInfo-0.002/Makefile.PL 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/Makefile.PL 2015-08-13 18:35:34.000000000 +0200
@@ -1,24 +1,20 @@
-
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.014.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.039.
use strict;
use warnings;
use 5.006;
-use ExtUtils::MakeMaker 6.30;
-
-
+use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "introspect overloaded operators",
"AUTHOR" => "Dagfinn Ilmari Manns\x{e5}ker ",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Devel-OverloadInfo",
- "EXE_FILES" => [],
"LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.006",
"NAME" => "Devel::OverloadInfo",
"PREREQ_PM" => {
"Exporter" => "5.57",
@@ -31,10 +27,12 @@
"warnings" => 0
},
"TEST_REQUIRES" => {
+ "Test::Fatal" => 0,
"Test::More" => "0.88",
+ "base" => 0,
"parent" => 0
},
- "VERSION" => "0.002",
+ "VERSION" => "0.004",
"test" => {
"TESTS" => "t/*.t"
}
@@ -47,7 +45,9 @@
"Package::Stash" => "0.14",
"Scalar::Util" => 0,
"Sub::Identify" => 0,
+ "Test::Fatal" => 0,
"Test::More" => "0.88",
+ "base" => 0,
"overload" => 0,
"parent" => 0,
"strict" => 0,
@@ -65,6 +65,3 @@
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/README new/Devel-OverloadInfo-0.004/README
--- old/Devel-OverloadInfo-0.002/README 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/README 2015-08-13 18:35:34.000000000 +0200
@@ -1,7 +1,7 @@
This archive contains the distribution Devel-OverloadInfo,
-version 0.002:
+version 0.004:
introspect overloaded operators
@@ -11,5 +11,5 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.014.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.039.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-OverloadInfo-0.002/lib/Devel/OverloadInfo.pm new/Devel-OverloadInfo-0.004/lib/Devel/OverloadInfo.pm
--- old/Devel-OverloadInfo-0.002/lib/Devel/OverloadInfo.pm 2014-03-26 13:02:40.000000000 +0100
+++ new/Devel-OverloadInfo-0.004/lib/Devel/OverloadInfo.pm 2015-08-13 18:35:34.000000000 +0200
@@ -1,15 +1,15 @@
package Devel::OverloadInfo;
-$Devel::OverloadInfo::VERSION = '0.002';
+$Devel::OverloadInfo::VERSION = '0.004';
# ABSTRACT: introspect overloaded operators
-# =head1 DESCRIPTION
-#
-# Devel::OverloadInfo returns information about L
-# operators for a given class (or object), including where in the
-# inheritance hierarchy the overloads are declared and where the code
-# implementing it is.
-#
-# =cut
+#pod =head1 DESCRIPTION
+#pod
+#pod Devel::OverloadInfo returns information about L
+#pod operators for a given class (or object), including where in the
+#pod inheritance hierarchy the overloads are declared and where the code
+#pod implementing it is.
+#pod
+#pod =cut
use strict;
use warnings;
@@ -20,7 +20,7 @@
use MRO::Compat;
use Exporter 5.57 qw(import);
-our @EXPORT_OK = qw(overload_info);
+our @EXPORT_OK = qw(overload_info is_overloaded);
sub stash_with_symbol {
my ($class, $symbol) = @_;
@@ -33,53 +33,80 @@
return;
}
-# =func overload_info
-#
-# my $info = overload_info($class_or_object);
-#
-# Returns a hash reference with information about all the overloaded
-# operators of the argument, which can be either a class name or a blessed
-# object. The keys are the overloaded operators, as specified in
-# C<%overload::ops> (see L).
-#
-# =over
-#
-# =item class
-#
-# The name of the class in which the operator overloading was declared.
-#
-# =item code
-#
-# A reference to the function implementing the overloaded operator.
-#
-# =item code_name
-#
-# The name of the function implementing the overloaded operator, as
-# returned by C in LSub::Identify.
-#
-# =item method_name (optional)
-#
-# The name of the method implementing the overloaded operator, if the
-# overloading was specified as a named method, e.g. C<< use overload $op
-# => 'method'; >>.
-#
-# =item code_class (optional)
-#
-# The name of the class in which the method specified by C
-# was found.
-#
-# =item value (optional)
-#
-# For the special C<fallback> key, the value it was given in C<class>.
-#
-# =back
-#
-# =cut
+#pod =func is_overloaded
+#pod
+#pod if (is_overloaded($class_or_object)) { ... }
+#pod
+#pod Returns a boolean indicating whether the given class or object has any
+#pod overloading declared. Note that a bare C