Hello community,
here is the log from the commit of package perl-List-SomeUtils-XS for
openSUSE:Factory checked in at 2017-12-19 10:42:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-List-SomeUtils-XS (Old)
and /work/SRC/openSUSE:Factory/.perl-List-SomeUtils-XS.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-List-SomeUtils-XS"
Tue Dec 19 10:42:57 2017 rev:4 rq:557610 version:0.56
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-List-SomeUtils-XS/perl-List-SomeUtils-XS.changes
2017-08-08 12:05:38.273953325 +0200
+++
/work/SRC/openSUSE:Factory/.perl-List-SomeUtils-XS.new/perl-List-SomeUtils-XS.changes
2017-12-19 10:42:59.183714401 +0100
@@ -1,0 +2,11 @@
+Thu Dec 14 07:44:44 UTC 2017 - [email protected]
+
+- updated to 0.56
+ see /usr/share/doc/packages/perl-List-SomeUtils-XS/Changes
+
+ 0.56 2017-12-12
+
+ - The one() sub returned true when given an empty list, but it should return
+ false. Reported by randyl. GH #3.
+
+-------------------------------------------------------------------
Old:
----
List-SomeUtils-XS-0.55.tar.gz
New:
----
List-SomeUtils-XS-0.56.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-List-SomeUtils-XS.spec ++++++
--- /var/tmp/diff_new_pack.MqDV67/_old 2017-12-19 10:43:00.191665743 +0100
+++ /var/tmp/diff_new_pack.MqDV67/_new 2017-12-19 10:43:00.195665550 +0100
@@ -17,7 +17,7 @@
Name: perl-List-SomeUtils-XS
-Version: 0.55
+Version: 0.56
Release: 0
%define cpan_name List-SomeUtils-XS
Summary: XS implementation for List::SomeUtils
++++++ List-SomeUtils-XS-0.55.tar.gz -> List-SomeUtils-XS-0.56.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/CONTRIBUTING.md
new/List-SomeUtils-XS-0.56/CONTRIBUTING.md
--- old/List-SomeUtils-XS-0.55/CONTRIBUTING.md 2017-07-23 17:17:03.000000000
+0200
+++ new/List-SomeUtils-XS-0.56/CONTRIBUTING.md 2017-12-13 00:05:16.000000000
+0100
@@ -128,4 +128,4 @@
request to the .mailmap file to contain the correct mapping.
This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir
0.013 from a
-template file originating in Dist-Zilla-PluginBundle-DROLSKY-0.85.
+template file originating in Dist-Zilla-PluginBundle-DROLSKY-0.88.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/Changes
new/List-SomeUtils-XS-0.56/Changes
--- old/List-SomeUtils-XS-0.55/Changes 2017-07-23 17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/Changes 2017-12-13 00:05:16.000000000 +0100
@@ -1,3 +1,9 @@
+0.56 2017-12-12
+
+- The one() sub returned true when given an empty list, but it should return
+ false. Reported by randyl. GH #3.
+
+
0.55 2017-07-23
- Skip all the tests unless List::SomeUtils 0.56 is installed. This fixes the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/META.json
new/List-SomeUtils-XS-0.56/META.json
--- old/List-SomeUtils-XS-0.55/META.json 2017-07-23 17:17:03.000000000
+0200
+++ new/List-SomeUtils-XS-0.56/META.json 2017-12-13 00:05:16.000000000
+0100
@@ -46,8 +46,7 @@
"Test::Spelling" : "0.12",
"Test::Synopsis" : "0",
"Test::Vars" : "0.009",
- "Test::Version" : "2.05",
- "blib" : "1.01"
+ "Test::Version" : "2.05"
}
},
"runtime" : {
@@ -83,7 +82,7 @@
"provides" : {
"List::SomeUtils::XS" : {
"file" : "lib/List/SomeUtils/XS.pm",
- "version" : "0.55"
+ "version" : "0.56"
}
},
"release_status" : "stable",
@@ -98,10 +97,10 @@
"web" : "https://github.com/houseabsolute/List-SomeUtils-XS"
}
},
- "version" : "0.55",
+ "version" : "0.56",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.024001"
+ "version" : "5.026001"
},
"plugins" : [
{
@@ -138,7 +137,7 @@
}
},
"name" : "@DROLSKY/Git::GatherDir",
- "version" : "2.042"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
@@ -325,7 +324,7 @@
}
},
"name" : "@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY",
- "version" : "0.053"
+ "version" : "0.054"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -347,7 +346,7 @@
}
},
"name" : "@DROLSKY/PromptIfStale",
- "version" : "0.053"
+ "version" : "0.054"
},
{
"class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable",
@@ -570,7 +569,7 @@
}
},
"name" : "@DROLSKY/Test::Compile",
- "version" : "2.056"
+ "version" : "2.057"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
@@ -585,13 +584,13 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::Contributors",
"name" : "@DROLSKY/DROLSKY::Contributors",
- "version" : "0.85"
+ "version" : "0.88"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -599,7 +598,7 @@
}
},
"name" : "@DROLSKY/Git::Contributors",
- "version" : "0.030"
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::SurgicalPodWeaver",
@@ -752,7 +751,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::WeaverConfig",
"name" : "@DROLSKY/DROLSKY::WeaverConfig",
- "version" : "0.85"
+ "version" : "0.88"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
@@ -802,7 +801,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::License",
"name" : "@DROLSKY/DROLSKY::License",
- "version" : "0.85"
+ "version" : "0.88"
},
{
"class" : "Dist::Zilla::Plugin::CheckStrictVersion",
@@ -834,12 +833,12 @@
"class" :
"Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
"name" : "@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch",
- "version" : "0.85"
+ "version" : "0.88"
},
{
"class" : "Dist::Zilla::Plugin::EnsureChangesHasContent",
@@ -850,7 +849,7 @@
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
@@ -860,7 +859,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::TidyAll",
"name" : "@DROLSKY/DROLSKY::TidyAll",
- "version" : "0.85"
+ "version" : "0.88"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
@@ -883,12 +882,12 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
"name" : "@DROLSKY/Git::Check",
- "version" : "2.042"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -912,7 +911,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -920,7 +919,7 @@
}
},
"name" : "@DROLSKY/Commit generated files",
- "version" : "2.042"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -929,12 +928,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v0.55",
+ "tag" : "v0.56",
"tag_format" : "v%v",
"tag_message" : "v%v"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -942,7 +941,7 @@
}
},
"name" : "@DROLSKY/Git::Tag",
- "version" : "2.042"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -954,12 +953,12 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
"name" : "@DROLSKY/Git::Push",
- "version" : "2.042"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease",
@@ -974,7 +973,7 @@
}
},
"name" : "@DROLSKY/BumpVersionAfterRelease",
- "version" : "0.015"
+ "version" : "0.016"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -994,7 +993,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -1002,7 +1001,7 @@
}
},
"name" : "@DROLSKY/Commit version bump",
- "version" : "2.042"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -1014,12 +1013,12 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.15.1",
"repo_root" : "."
}
},
"name" : "@DROLSKY/Push version bump",
- "version" : "2.042"
+ "version" : "2.043"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
@@ -1086,6 +1085,6 @@
}
},
"x_authority" : "cpan:DROLSKY",
- "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233"
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/META.yml
new/List-SomeUtils-XS-0.56/META.yml
--- old/List-SomeUtils-XS-0.55/META.yml 2017-07-23 17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/META.yml 2017-12-13 00:05:16.000000000 +0100
@@ -29,7 +29,7 @@
provides:
List::SomeUtils::XS:
file: lib/List/SomeUtils/XS.pm
- version: '0.55'
+ version: '0.56'
requires:
XSLoader: '0'
perl: '5.006'
@@ -39,10 +39,10 @@
bugtracker: https://github.com/houseabsolute/List-SomeUtils-XS/issues
homepage: http://metacpan.org/release/List-SomeUtils-XS
repository: git://github.com/houseabsolute/List-SomeUtils-XS.git
-version: '0.55'
+version: '0.56'
x_Dist_Zilla:
perl:
- version: '5.024001'
+ version: '5.026001'
plugins:
-
class: Dist::Zilla::Plugin::MakeMaker
@@ -71,7 +71,7 @@
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: '@DROLSKY/Git::GatherDir'
- version: '2.042'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@DROLSKY/ManifestSkip'
@@ -215,7 +215,7 @@
run_under_travis: 0
skip: []
name: '@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY'
- version: '0.053'
+ version: '0.054'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -233,7 +233,7 @@
- Dist::Zilla::Plugin::DROLSKY::WeaverConfig
- Pod::Weaver::PluginBundle::DROLSKY
name: '@DROLSKY/PromptIfStale'
- version: '0.053'
+ version: '0.054'
-
class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable
name: '@DROLSKY/Test::Pod::Coverage::Configurable'
@@ -423,7 +423,7 @@
skips: []
switch: []
name: '@DROLSKY/Test::Compile'
- version: '2.056'
+ version: '2.057'
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@DROLSKY/Test::ReportPrereqs'
@@ -435,18 +435,18 @@
-
class: Dist::Zilla::Plugin::DROLSKY::Contributors
name: '@DROLSKY/DROLSKY::Contributors'
- version: '0.85'
+ version: '0.88'
-
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.7.4
+ git_version: 2.15.1
include_authors: 0
include_releaser: 1
order_by: name
paths: []
name: '@DROLSKY/Git::Contributors'
- version: '0.030'
+ version: '0.032'
-
class: Dist::Zilla::Plugin::SurgicalPodWeaver
config:
@@ -566,7 +566,7 @@
-
class: Dist::Zilla::Plugin::DROLSKY::WeaverConfig
name: '@DROLSKY/DROLSKY::WeaverConfig'
- version: '0.85'
+ version: '0.88'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
config:
@@ -605,7 +605,7 @@
-
class: Dist::Zilla::Plugin::DROLSKY::License
name: '@DROLSKY/DROLSKY::License'
- version: '0.85'
+ version: '0.88'
-
class: Dist::Zilla::Plugin::CheckStrictVersion
name: '@DROLSKY/CheckStrictVersion'
@@ -629,10 +629,10 @@
class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch
config:
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch'
- version: '0.85'
+ version: '0.88'
-
class: Dist::Zilla::Plugin::EnsureChangesHasContent
name: '@DROLSKY/EnsureChangesHasContent'
@@ -641,14 +641,14 @@
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
name: '@DROLSKY/Git::CheckFor::MergeConflicts'
version: '0.014'
-
class: Dist::Zilla::Plugin::DROLSKY::TidyAll
name: '@DROLSKY/DROLSKY::TidyAll'
- version: '0.85'
+ version: '0.88'
-
class: Dist::Zilla::Plugin::Git::Check
config:
@@ -667,10 +667,10 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
name: '@DROLSKY/Git::Check'
- version: '2.042'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
@@ -690,12 +690,12 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@DROLSKY/Commit generated files'
- version: '2.042'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
@@ -703,16 +703,16 @@
branch: ~
changelog: Changes
signed: 0
- tag: v0.55
+ tag: v0.56
tag_format: v%v
tag_message: v%v
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@DROLSKY/Git::Tag'
- version: '2.042'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -721,10 +721,10 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
name: '@DROLSKY/Git::Push'
- version: '2.042'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::BumpVersionAfterRelease
config:
@@ -735,7 +735,7 @@
global: 0
munge_makefile_pl: 1
name: '@DROLSKY/BumpVersionAfterRelease'
- version: '0.015'
+ version: '0.016'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
@@ -750,12 +750,12 @@
- (?^:.+)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@DROLSKY/Commit version bump'
- version: '2.042'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -764,10 +764,10 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.15.1
repo_root: .
name: '@DROLSKY/Push version bump'
- version: '2.042'
+ version: '2.043'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/Makefile.PL
new/List-SomeUtils-XS-0.56/Makefile.PL
--- old/List-SomeUtils-XS-0.55/Makefile.PL 2017-07-23 17:17:03.000000000
+0200
+++ new/List-SomeUtils-XS-0.56/Makefile.PL 2017-12-13 00:05:16.000000000
+0100
@@ -37,7 +37,7 @@
"lib" => 0,
"overload" => 0
},
- "VERSION" => "0.55",
+ "VERSION" => "0.56",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/README.md
new/List-SomeUtils-XS-0.56/README.md
--- old/List-SomeUtils-XS-0.55/README.md 2017-07-23 17:17:03.000000000
+0200
+++ new/List-SomeUtils-XS-0.56/README.md 2017-12-13 00:05:16.000000000
+0100
@@ -4,7 +4,7 @@
# VERSION
-version 0.55
+version 0.56
# DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/XS.xs
new/List-SomeUtils-XS-0.56/XS.xs
--- old/List-SomeUtils-XS-0.55/XS.xs 2017-07-23 17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/XS.xs 2017-12-13 00:05:16.000000000 +0100
@@ -431,7 +431,7 @@
{
int found = 0;
#define ON_TRUE { if (found++) { POP_MULTICALL; XSRETURN_NO; }; }
-#define ON_EMPTY XSRETURN_YES
+#define ON_EMPTY XSRETURN_NO
TRUE_JUNCTION;
if (found)
XSRETURN_YES;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/cpanfile
new/List-SomeUtils-XS-0.56/cpanfile
--- old/List-SomeUtils-XS-0.55/cpanfile 2017-07-23 17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/cpanfile 2017-12-13 00:05:16.000000000 +0100
@@ -55,5 +55,4 @@
requires "Test::Synopsis" => "0";
requires "Test::Vars" => "0.009";
requires "Test::Version" => "2.05";
- requires "blib" => "1.01";
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/lib/List/SomeUtils/XS.pm
new/List-SomeUtils-XS-0.56/lib/List/SomeUtils/XS.pm
--- old/List-SomeUtils-XS-0.55/lib/List/SomeUtils/XS.pm 2017-07-23
17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/lib/List/SomeUtils/XS.pm 2017-12-13
00:05:16.000000000 +0100
@@ -4,7 +4,7 @@
use strict;
use warnings;
-our $VERSION = '0.55';
+our $VERSION = '0.56';
require XSLoader;
XSLoader::load( __PACKAGE__, $VERSION );
@@ -82,7 +82,7 @@
=head1 VERSION
-version 0.55
+version 0.56
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/ppport.h
new/List-SomeUtils-XS-0.56/ppport.h
--- old/List-SomeUtils-XS-0.55/ppport.h 2017-07-23 17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/ppport.h 2017-12-13 00:05:16.000000000 +0100
@@ -6,7 +6,7 @@
ppport.h -- Perl/Pollution/Portability Version 3.36
- Automatically created by Devel::PPPort running under perl 5.024001.
+ Automatically created by Devel::PPPort running under perl 5.026001.
Do NOT edit this file directly! -- Edit PPPort_pm.PL and the
includes in parts/inc/ instead.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/t/00-report-prereqs.dd
new/List-SomeUtils-XS-0.56/t/00-report-prereqs.dd
--- old/List-SomeUtils-XS-0.55/t/00-report-prereqs.dd 2017-07-23
17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/t/00-report-prereqs.dd 2017-12-13
00:05:16.000000000 +0100
@@ -31,8 +31,7 @@
'Test::Spelling' => '0.12',
'Test::Synopsis' => '0',
'Test::Vars' => '0.009',
- 'Test::Version' => '2.05',
- 'blib' => '1.01'
+ 'Test::Version' => '2.05'
}
},
'runtime' => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/t/lib/LSU/Test/Functions.pm
new/List-SomeUtils-XS-0.56/t/lib/LSU/Test/Functions.pm
--- old/List-SomeUtils-XS-0.55/t/lib/LSU/Test/Functions.pm 2017-07-23
17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/t/lib/LSU/Test/Functions.pm 2017-12-13
00:05:16.000000000 +0100
@@ -98,6 +98,9 @@
}
);
is_dying( sub { &any_u( 42, 4711 ); } );
+
+ my @empty;
+ is_undef( any_u { defined($_) } @empty );
}
sub test_all_u {
@@ -116,6 +119,9 @@
}
);
is_dying( sub { &all_u( 42, 4711 ); } );
+
+ my @empty;
+ is_undef( all_u { defined($_) } @empty );
}
sub test_none_u {
@@ -134,6 +140,9 @@
}
);
is_dying( sub { &none_u( 42, 4711 ); } );
+
+ my @empty;
+ is_undef( none_u { defined($_) } @empty );
}
sub test_notall_u {
@@ -152,6 +161,9 @@
}
);
is_dying( sub { ¬all_u( 42, 4711 ); } );
+
+ my @empty;
+ is_undef( notall_u { defined($_) } @empty );
}
sub test_one_u {
@@ -173,6 +185,9 @@
}
);
is_dying( sub { &one_u( 42, 4711 ); } );
+
+ my @empty;
+ is_undef( one_u { defined($_) } @empty );
}
sub test_true {
@@ -196,6 +211,9 @@
}
);
is_dying( sub { &true( 42, 4711 ); } );
+
+ my @empty;
+ is( 0, true { defined($_) } @empty );
}
sub test_false {
@@ -219,6 +237,9 @@
}
);
is_dying( sub { &false( 42, 4711 ); } );
+
+ my @empty;
+ is( 0, false { defined($_) } @empty );
}
sub test_firstidx {
@@ -241,6 +262,9 @@
}
);
is_dying( sub { &firstidx( 42, 4711 ); } );
+
+ my @empty;
+ is( -1, first_index { defined($_) } @empty );
}
sub test_lastidx {
@@ -263,6 +287,9 @@
}
);
is_dying( sub { &lastidx( 42, 4711 ); } );
+
+ my @empty;
+ is( -1, last_index { defined($_) } @empty );
}
sub test_onlyidx {
@@ -289,6 +316,9 @@
}
);
is_dying( sub { &onlyidx( 42, 4711 ); } );
+
+ my @empty;
+ is( -1, only_index { defined($_) } @empty );
}
sub test_insert_after {
@@ -317,6 +347,10 @@
&insert_after( sub { }, 4711, "13" );
}
);
+
+ my @empty;
+ insert_after { defined($_) } 'foo' => @empty;
+ is_deeply( \@empty, [] );
}
sub test_insert_after_string {
@@ -338,6 +372,10 @@
}
);
is_dying( sub { &insert_after_string( 42, 4711, "13" ); } );
+
+ my @empty;
+ insert_after_string 'bar', 'foo' => @empty;
+ is_deeply( \@empty, [] );
}
sub test_apply {
@@ -386,6 +424,10 @@
}
);
is_dying( sub { &apply( 42, 4711 ); } );
+
+ my @empty;
+ apply { $_++ } @empty;
+ is_deeply( \@empty, [] );
}
sub test_indexes {
@@ -428,6 +470,9 @@
is( $ref, undef, "weakened away" );
is_dying( sub { &indexes( 42, 4711 ); } );
+
+ my @empty;
+ is_deeply( [ indexes { $_ > 5 } @empty ], [] );
}
# In the following, the @dummy variable is needed to circumvent
@@ -446,6 +491,9 @@
}
);
is_dying( sub { &before( 42, 4711 ); } );
+
+ my @empty;
+ is_deeply( [ before { $_ > 5 } @empty ], [] );
}
# In the following, the @dummy variable is needed to circumvent
@@ -464,6 +512,9 @@
}
);
is_dying( sub { &before_incl( 42, 4711 ); } );
+
+ my @empty;
+ is_deeply( [ before_incl { $_ > 5 } @empty ], [] );
}
# In the following, the @dummy variable is needed to circumvent
@@ -485,6 +536,9 @@
@x = ( 1, after {/foo/} qw(abc def) );
is_deeply( \@x, [1], "check XS implementation doesn't mess up stack" );
+
+ my @empty;
+ is_deeply( [ after { $_ > 5 } @empty ], [] );
}
# In the following, the @dummy variable is needed to circumvent
@@ -503,6 +557,9 @@
}
);
is_dying( sub { &after_incl( 42, 4711 ); } );
+
+ my @empty;
+ is_deeply( [ after_incl { $_ > 5 } @empty ], [] );
}
sub test_firstval {
@@ -524,6 +581,9 @@
}
);
is_dying( sub { &firstval( 42, 4711 ); } );
+
+ my @empty;
+ is( ( firstval { $_ > 5 } @empty ), undef );
}
sub test_onlyval {
@@ -550,6 +610,9 @@
}
);
is_dying( sub { &onlyval( 42, 4711 ); } );
+
+ my @empty;
+ is( ( onlyval { $_ > 5 } @empty ), undef );
}
sub test_lastval {
@@ -571,6 +634,9 @@
}
);
is_dying( sub { &lastval( 42, 4711 ); } );
+
+ my @empty;
+ is( ( lastval { $_ > 5 } @empty ), undef );
}
sub test_firstres {
@@ -591,6 +657,9 @@
}
);
is_dying( sub { &firstres( 42, 4711 ); } );
+
+ my @empty;
+ is( ( firstres { $_ * 2 } @empty ), undef );
}
sub test_lastres {
@@ -611,6 +680,9 @@
}
);
is_dying( sub { &lastres( 42, 4711 ); } );
+
+ my @empty;
+ is( ( lastres { $_ * 2 } @empty ), undef );
}
sub test_onlyres {
@@ -635,6 +707,9 @@
}
);
is_dying( sub { &onlyres( 42, 4711 ); } );
+
+ my @empty;
+ is( ( onlyres { $_ * 2 } @empty ), undef );
}
sub test_each_array {
@@ -759,6 +834,16 @@
);
is_dying( sub { &each_array( 42, 4711 ); } );
is_dying( sub { &each_arrayref( 42, 4711 ); } );
+
+ {
+ my ( @empty1, @empty2 );
+ my $i = each_array @empty1, @empty2;
+ my @r;
+ while ( my ( $x, $y ) = $i->() ) {
+ push @r, $x, $y;
+ }
+ is_deeply( \@r, [] );
+ }
}
sub test_pairwise {
@@ -877,36 +962,51 @@
}
);
}
+
+ my ( @empty1, @empty2 );
+ is_deeply( [ pairwise { $a + $b } @empty1, @empty2 ], [] );
}
sub test_natatime {
- my @x = ( 'a' .. 'g' );
- my $it = natatime 3, @x;
- my @r;
- local $" = " ";
- while ( my @vals = $it->() ) {
- push @r, "@vals";
- }
- is( is_deeply( \@r, [ 'a b c', 'd e f', 'g' ] ), 1, "natatime1" );
-
- my @a = ( 1 .. 1000 );
- $it = natatime 1, @a;
- @r = ();
- while ( my @vals = &$it ) {
- push @r, @vals;
- }
- is( is_deeply( \@r, \@a ), 1, "natatime2" );
-
- leak_free_ok(
- natatime => sub {
- my @y = 1;
- my $it = natatime 2, @y;
- while ( my @vals = $it->() ) {
+ {
+ my @x = ( 'a' .. 'g' );
+ my $it = natatime 3, @x;
+ my @r;
+ local $" = " ";
+ while ( my @vals = $it->() ) {
+ push @r, "@vals";
+ }
+ is( is_deeply( \@r, [ 'a b c', 'd e f', 'g' ] ), 1, "natatime1" );
- # do nothing
+ my @a = ( 1 .. 1000 );
+ $it = natatime 1, @a;
+ @r = ();
+ while ( my @vals = &$it ) {
+ push @r, @vals;
+ }
+ is( is_deeply( \@r, \@a ), 1, "natatime2" );
+
+ leak_free_ok(
+ natatime => sub {
+ my @y = 1;
+ my $it = natatime 2, @y;
+ while ( my @vals = $it->() ) {
+
+ # do nothing
+ }
}
+ );
+ }
+
+ {
+ my @empty;
+ my $i = natatime 1, @empty;
+ my @r;
+ while ( my @v = $i->() ) {
+ push @r, @v;
}
- );
+ is_deeply( \@r, [] );
+ }
}
sub test_zip {
@@ -957,6 +1057,11 @@
}
);
is_dying( sub { &zip( 1, 2 ); } );
+
+ {
+ my ( @empty1, @empty2 );
+ is_deeply( [ zip @empty1, @empty2 ], [] );
+ }
}
sub test_mesh {
@@ -1007,6 +1112,11 @@
}
);
is_dying( sub { &mesh( 1, 2 ); } );
+
+ {
+ my ( @empty1, @empty2 );
+ is_deeply( [ mesh @empty1, @empty2 ], [] );
+ }
}
sub test_uniq {
@@ -1103,6 +1213,9 @@
};
}
);
+
+ my @empty;
+ is_deeply( [ uniq @empty ], [] );
}
sub test_singleton {
@@ -1205,6 +1318,9 @@
};
}
);
+
+ my @empty;
+ is_deeply( [ singleton @empty ], [] );
}
sub test_part {
@@ -1285,6 +1401,9 @@
my @part = part { grow_stack(); 1024 } 'one', 'two';
}
);
+
+ my @empty;
+ is_deeply( [ part {3} @empty ], [] );
}
sub test_minmax {
@@ -1363,6 +1482,9 @@
( $min, $max ) = minmax @list;
}
);
+
+ my @empty;
+ is_deeply( [ minmax @empty ], [] );
}
sub test_bsearch {
@@ -1408,6 +1530,9 @@
}
);
is_dying( sub { &bsearch( 42, ( 1 .. 100 ) ); } );
+
+ my @empty;
+ is_deeply( [ bsearch { $_ - 5 } @empty ], [] );
}
sub test_bsearchidx {
@@ -1449,6 +1574,9 @@
}
);
is_dying( sub { &bsearchidx( 42, ( 1 .. 100 ) ); } );
+
+ my @empty;
+ is( ( bsearchidx { $_ - 5 } @empty ), -1 );
}
sub test_any {
@@ -1478,6 +1606,9 @@
}
);
is_dying( sub { &any( 42, 4711 ); } );
+
+ my @empty;
+ is_false( any { defined($_) } @empty );
}
sub test_all {
@@ -1496,6 +1627,9 @@
}
);
is_dying( sub { &all( 42, 4711 ); } );
+
+ my @empty;
+ is_true( all { defined($_) } @empty );
}
sub test_none {
@@ -1514,6 +1648,9 @@
}
);
is_dying( sub { &none( 42, 4711 ); } );
+
+ my @empty;
+ is_true( none { defined($_) } @empty );
}
sub test_notall {
@@ -1532,6 +1669,9 @@
}
);
is_dying( sub { ¬all( 42, 4711 ); } );
+
+ my @empty;
+ is_false( notall { defined($_) } @empty );
}
sub test_one {
@@ -1552,6 +1692,9 @@
}
);
is_dying( sub { &one( 42, 4711 ); } );
+
+ my @empty;
+ is_false( one { defined($_) } @empty );
}
sub test_sort_by {
@@ -1560,6 +1703,9 @@
[ sort_by { $_->[0] } @list ],
[ map { [$_] } sort { $a cmp $b } 1 .. 100 ]
);
+
+ my @empty;
+ is_deeply( [ sort_by { $_ . 'a' } @empty ], [] );
}
sub test_nsort_by {
@@ -1568,6 +1714,9 @@
[ nsort_by { $_->[0] } @list ],
[ map { [$_] } sort { $a <=> $b } 1 .. 100 ]
);
+
+ my @empty;
+ is_deeply( [ nsort_by { $_ ** 2 } @empty ], [] );
}
sub test_mode {
@@ -1659,6 +1808,9 @@
$modality = mode();
}
);
+
+ my @empty;
+ is_deeply( [ mode @empty ], [] );
}
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/t/lib/LSU/Test/Import.pm
new/List-SomeUtils-XS-0.56/t/lib/LSU/Test/Import.pm
--- old/List-SomeUtils-XS-0.55/t/lib/LSU/Test/Import.pm 2017-07-23
17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/t/lib/LSU/Test/Import.pm 2017-12-13
00:05:16.000000000 +0100
@@ -10,20 +10,66 @@
sub run_tests {
use_ok(
- "List::SomeUtils", qw(any all none notall
- any_u all_u none_u notall_u
- true false firstidx lastidx
- insert_after insert_after_string
- apply indexes
- after after_incl before before_incl
- firstval lastval
- each_array each_arrayref
- pairwise natatime
- mesh uniq
- minmax part
+ 'List::SomeUtils',
+ qw(
+ after
+ after_incl
+ all
+ all_u
+ any
+ any_u
+ apply
+ before
+ before_incl
bsearch
- sort_by nsort_by
- first_index last_index first_value last_value zip distinct)
+ bsearchidx
+ each_array
+ each_arrayref
+ false
+ firstidx
+ firstres
+ firstval
+ indexes
+ insert_after
+ insert_after_string
+ lastidx
+ lastres
+ lastval
+ mesh
+ minmax
+ mode
+ natatime
+ none
+ none_u
+ notall
+ notall_u
+ nsort_by
+ one
+ one_u
+ onlyidx
+ onlyres
+ onlyval
+ pairwise
+ part
+ singleton
+ sort_by
+ true
+ uniq
+ ),
+ qw(
+ bsearch_index
+ distinct
+ first_index
+ first_result
+ first_value
+ last_index
+ last_result
+ last_value
+ only_index
+ only_result
+ only_value
+ zip
+ )
);
done_testing();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/List-SomeUtils-XS-0.55/xt/author/00-compile.t
new/List-SomeUtils-XS-0.56/xt/author/00-compile.t
--- old/List-SomeUtils-XS-0.55/xt/author/00-compile.t 2017-07-23
17:17:03.000000000 +0200
+++ new/List-SomeUtils-XS-0.56/xt/author/00-compile.t 2017-12-13
00:05:16.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.056
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.057
use Test::More;
@@ -43,7 +43,7 @@
is($?, 0, "$lib loaded ok");
shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
- and not eval { require blib; blib->VERSION('1.01') };
+ and not eval { +require blib; blib->VERSION('1.01') };
if (@_warnings)
{