Hello community,
here is the log from the commit of package perl-Params-Validate for
openSUSE:Factory checked in at 2017-06-21 13:57:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Params-Validate (Old)
and /work/SRC/openSUSE:Factory/.perl-Params-Validate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Params-Validate"
Wed Jun 21 13:57:19 2017 rev:44 rq:504926 version:1.29
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Params-Validate/perl-Params-Validate.changes
2017-05-31 12:17:42.045690930 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Params-Validate.new/perl-Params-Validate.changes
2017-06-21 13:57:19.842193217 +0200
@@ -1,0 +2,10 @@
+Wed Jun 14 06:05:11 UTC 2017 - [email protected]
+
+- updated to 1.29
+ see /usr/share/doc/packages/perl-Params-Validate/Changes
+
+ 1.29 2017-06-11
+
+ - Fixes for MSVC compilation. Patch by Andy Grundman. PR #15.
+
+-------------------------------------------------------------------
Old:
----
Params-Validate-1.28.tar.gz
New:
----
Params-Validate-1.29.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Params-Validate.spec ++++++
--- /var/tmp/diff_new_pack.jjFVWT/_old 2017-06-21 13:57:20.526096748 +0200
+++ /var/tmp/diff_new_pack.jjFVWT/_new 2017-06-21 13:57:20.530096183 +0200
@@ -17,7 +17,7 @@
Name: perl-Params-Validate
-Version: 1.28
+Version: 1.29
Release: 0
%define cpan_name Params-Validate
Summary: Validate method/function parameters
@@ -38,10 +38,15 @@
%{perl_requires}
%description
-The Params::Validate module allows you to validate method or function call
-parameters to an arbitrary level of specificity. At the simplest level, it
-is capable of validating the required parameters were given and that no
-unspecified additional parameters were passed in.
+*I would recommend you consider using Params::ValidationCompiler instead.
+That module, despite being pure Perl, is _significantly_ faster than this
+one, at the cost of having to adopt a type system such as Specio,
+Type::Tiny, or the one shipped with Moose*.
+
+This module allows you to validate method or function call parameters to an
+arbitrary level of specificity. At the simplest level, it is capable of
+validating the required parameters were given and that no unspecified
+additional parameters were passed in.
It is also capable of determining that a parameter is of a specific type,
that it is an object of a certain class hierarchy, that it possesses
++++++ Params-Validate-1.28.tar.gz -> Params-Validate-1.29.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/Build.PL
new/Params-Validate-1.29/Build.PL
--- old/Params-Validate-1.28/Build.PL 2017-05-06 02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/Build.PL 2017-06-11 20:04:06.000000000 +0200
@@ -20,7 +20,7 @@
"Ilya Martynov <ilya\@martynov.org>"
],
"dist_name" => "Params-Validate",
- "dist_version" => "1.28",
+ "dist_version" => "1.29",
"license" => "artistic_2",
"module_name" => "Params::Validate",
"recursive_test_files" => 1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/Changes
new/Params-Validate-1.29/Changes
--- old/Params-Validate-1.28/Changes 2017-05-06 02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/Changes 2017-06-11 20:04:06.000000000 +0200
@@ -1,3 +1,8 @@
+1.29 2017-06-11
+
+- Fixes for MSVC compilation. Patch by Andy Grundman. PR #15.
+
+
1.28 2017-05-05
- Removed the broken Makefile.PL that was accidentally being shipped with this
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/META.json
new/Params-Validate-1.29/META.json
--- old/Params-Validate-1.28/META.json 2017-05-06 02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/META.json 2017-06-11 20:04:06.000000000 +0200
@@ -108,19 +108,19 @@
"provides" : {
"Params::Validate" : {
"file" : "lib/Params/Validate.pm",
- "version" : "1.28"
+ "version" : "1.29"
},
"Params::Validate::Constants" : {
"file" : "lib/Params/Validate/Constants.pm",
- "version" : "1.28"
+ "version" : "1.29"
},
"Params::Validate::PP" : {
"file" : "lib/Params/Validate/PP.pm",
- "version" : "1.28"
+ "version" : "1.29"
},
"Params::Validate::XS" : {
"file" : "lib/Params/Validate/XS.pm",
- "version" : "1.28"
+ "version" : "1.29"
}
},
"release_status" : "stable",
@@ -136,7 +136,7 @@
"web" : "https://github.com/houseabsolute/Params-Validate"
}
},
- "version" : "1.28",
+ "version" : "1.29",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.024001"
@@ -176,7 +176,7 @@
}
},
"name" : "@DROLSKY/Git::GatherDir",
- "version" : "2.041"
+ "version" : "2.042"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
@@ -246,7 +246,7 @@
{
"class" : "Dist::Zilla::Plugin::GitHub::Meta",
"name" : "@DROLSKY/GitHub::Meta",
- "version" : "0.43"
+ "version" : "0.44"
},
{
"class" : "Dist::Zilla::Plugin::GitHub::Update",
@@ -256,7 +256,7 @@
}
},
"name" : "@DROLSKY/GitHub::Update",
- "version" : "0.43"
+ "version" : "0.44"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
@@ -533,7 +533,7 @@
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@DROLSKY/Test::ReportPrereqs",
- "version" : "0.025"
+ "version" : "0.027"
},
{
"class" : "Dist::Zilla::Plugin::DROLSKY::Contributors",
@@ -544,7 +544,7 @@
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -552,7 +552,7 @@
}
},
"name" : "@DROLSKY/Git::Contributors",
- "version" : "0.029"
+ "version" : "0.030"
},
{
"class" : "Dist::Zilla::Plugin::SurgicalPodWeaver",
@@ -750,7 +750,7 @@
{
"class" : "Dist::Zilla::Plugin::PPPort",
"name" : "@DROLSKY/PPPort",
- "version" : "0.007"
+ "version" : "0.008"
},
{
"class" : "Dist::Zilla::Plugin::DROLSKY::License",
@@ -787,7 +787,7 @@
"class" :
"Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
}
},
@@ -803,7 +803,7 @@
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
}
},
@@ -836,12 +836,12 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
}
},
"name" : "@DROLSKY/Git::Check",
- "version" : "2.041"
+ "version" : "2.042"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -865,7 +865,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -873,7 +873,7 @@
}
},
"name" : "@DROLSKY/Commit generated files",
- "version" : "2.041"
+ "version" : "2.042"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -882,12 +882,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v1.28",
+ "tag" : "v1.29",
"tag_format" : "v%v",
"tag_message" : "v%v"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -895,7 +895,7 @@
}
},
"name" : "@DROLSKY/Git::Tag",
- "version" : "2.041"
+ "version" : "2.042"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -907,12 +907,12 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
}
},
"name" : "@DROLSKY/Git::Push",
- "version" : "2.041"
+ "version" : "2.042"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease",
@@ -947,7 +947,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -955,7 +955,7 @@
}
},
"name" : "@DROLSKY/Commit version bump",
- "version" : "2.041"
+ "version" : "2.042"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -967,12 +967,12 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git --version" : "2.11.0",
+ "git_version" : "2.7.4",
"repo_root" : "."
}
},
"name" : "@DROLSKY/Push version bump",
- "version" : "2.041"
+ "version" : "2.042"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -1056,6 +1056,7 @@
},
"x_authority" : "cpan:DROLSKY",
"x_contributors" : [
+ "Andy Grundman <[email protected]>",
"E. Choroba <[email protected]>",
"Ivan Bessarabov <[email protected]>",
"J.R. Mash <[email protected]>",
@@ -1065,6 +1066,6 @@
"Tony Cook <[email protected]>",
"Vincent Pit <[email protected]>"
],
- "x_serialization_backend" : "Cpanel::JSON::XS version 3.0229"
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/META.yml
new/Params-Validate-1.29/META.yml
--- old/Params-Validate-1.28/META.yml 2017-05-06 02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/META.yml 2017-06-11 20:04:06.000000000 +0200
@@ -29,16 +29,16 @@
provides:
Params::Validate:
file: lib/Params/Validate.pm
- version: '1.28'
+ version: '1.29'
Params::Validate::Constants:
file: lib/Params/Validate/Constants.pm
- version: '1.28'
+ version: '1.29'
Params::Validate::PP:
file: lib/Params/Validate/PP.pm
- version: '1.28'
+ version: '1.29'
Params::Validate::XS:
file: lib/Params/Validate/XS.pm
- version: '1.28'
+ version: '1.29'
requires:
Carp: '0'
Exporter: '0'
@@ -53,7 +53,7 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Params-Validate
homepage: http://metacpan.org/release/Params-Validate
repository: git://github.com/houseabsolute/Params-Validate.git
-version: '1.28'
+version: '1.29'
x_Dist_Zilla:
perl:
version: '5.024001'
@@ -85,7 +85,7 @@
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: '@DROLSKY/Git::GatherDir'
- version: '2.041'
+ version: '2.042'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@DROLSKY/ManifestSkip'
@@ -141,14 +141,14 @@
-
class: Dist::Zilla::Plugin::GitHub::Meta
name: '@DROLSKY/GitHub::Meta'
- version: '0.43'
+ version: '0.44'
-
class: Dist::Zilla::Plugin::GitHub::Update
config:
Dist::Zilla::Plugin::GitHub::Update:
metacpan: 1
name: '@DROLSKY/GitHub::Update'
- version: '0.43'
+ version: '0.44'
-
class: Dist::Zilla::Plugin::MetaResources
name: '@DROLSKY/MetaResources'
@@ -362,7 +362,7 @@
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@DROLSKY/Test::ReportPrereqs'
- version: '0.025'
+ version: '0.027'
-
class: Dist::Zilla::Plugin::DROLSKY::Contributors
name: '@DROLSKY/DROLSKY::Contributors'
@@ -371,13 +371,13 @@
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- 'git --version': 2.11.0
+ git_version: 2.7.4
include_authors: 0
include_releaser: 1
order_by: name
paths: []
name: '@DROLSKY/Git::Contributors'
- version: '0.029'
+ version: '0.030'
-
class: Dist::Zilla::Plugin::SurgicalPodWeaver
config:
@@ -532,7 +532,7 @@
-
class: Dist::Zilla::Plugin::PPPort
name: '@DROLSKY/PPPort'
- version: '0.007'
+ version: '0.008'
-
class: Dist::Zilla::Plugin::DROLSKY::License
name: '@DROLSKY/DROLSKY::License'
@@ -560,7 +560,7 @@
class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch
config:
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch'
version: '0.85'
@@ -572,7 +572,7 @@
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
name: '@DROLSKY/Git::CheckFor::MergeConflicts'
version: '0.014'
@@ -598,10 +598,10 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
name: '@DROLSKY/Git::Check'
- version: '2.041'
+ version: '2.042'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
@@ -621,12 +621,12 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@DROLSKY/Commit generated files'
- version: '2.041'
+ version: '2.042'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
@@ -634,16 +634,16 @@
branch: ~
changelog: Changes
signed: 0
- tag: v1.28
+ tag: v1.29
tag_format: v%v
tag_message: v%v
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@DROLSKY/Git::Tag'
- version: '2.041'
+ version: '2.042'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -652,10 +652,10 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
name: '@DROLSKY/Git::Push'
- version: '2.041'
+ version: '2.042'
-
class: Dist::Zilla::Plugin::BumpVersionAfterRelease
config:
@@ -681,12 +681,12 @@
- (?^:.+)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@DROLSKY/Commit version bump'
- version: '2.041'
+ version: '2.042'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -695,10 +695,10 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- 'git --version': 2.11.0
+ git_version: 2.7.4
repo_root: .
name: '@DROLSKY/Push version bump'
- version: '2.041'
+ version: '2.042'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -762,6 +762,7 @@
version: '6.009'
x_authority: cpan:DROLSKY
x_contributors:
+ - 'Andy Grundman <[email protected]>'
- 'E. Choroba <[email protected]>'
- 'Ivan Bessarabov <[email protected]>'
- 'J.R. Mash <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/README.md
new/Params-Validate-1.29/README.md
--- old/Params-Validate-1.28/README.md 2017-05-06 02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/README.md 2017-06-11 20:04:06.000000000 +0200
@@ -4,7 +4,7 @@
# VERSION
-version 1.28
+version 1.29
# SYNOPSIS
@@ -89,10 +89,15 @@
# DESCRIPTION
-The Params::Validate module allows you to validate method or function
-call parameters to an arbitrary level of specificity. At the simplest
-level, it is capable of validating the required parameters were given
-and that no unspecified additional parameters were passed in.
+**I would recommend you consider using
[Params::ValidationCompiler](https://metacpan.org/pod/Params::ValidationCompiler)
+instead. That module, despite being pure Perl, is _significantly_ faster than
+this one, at the cost of having to adopt a type system such as
[Specio](https://metacpan.org/pod/Specio),
+[Type::Tiny](https://metacpan.org/pod/Type::Tiny), or the one shipped with
[Moose](https://metacpan.org/pod/Moose)**.
+
+This module allows you to validate method or function call parameters to an
+arbitrary level of specificity. At the simplest level, it is capable of
+validating the required parameters were given and that no unspecified
+additional parameters were passed in.
It is also capable of determining that a parameter is of a specific
type, that it is an object of a certain class hierarchy, that it
@@ -782,6 +787,7 @@
# CONTRIBUTORS
+- Andy Grundman <[email protected]>
- E. Choroba <[email protected]>
- Ivan Bessarabov <[email protected]>
- J.R. Mash <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/c/ppport.h
new/Params-Validate-1.29/c/ppport.h
--- old/Params-Validate-1.28/c/ppport.h 2017-05-06 02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/c/ppport.h 2017-06-11 20:04:06.000000000 +0200
@@ -4,7 +4,7 @@
/*
----------------------------------------------------------------------
- c/ppport.h -- Perl/Pollution/Portability Version 3.35
+ c/ppport.h -- Perl/Pollution/Portability Version 3.36
Automatically created by Devel::PPPort running under perl 5.024001.
@@ -21,7 +21,7 @@
=head1 NAME
-c/ppport.h - Perl/Pollution/Portability version 3.35
+c/ppport.h - Perl/Pollution/Portability version 3.36
=head1 SYNOPSIS
@@ -383,7 +383,7 @@
# Disable broken TRIE-optimization
BEGIN { eval '${^RE_TRIE_MAXBUF} = -1' if $] >= 5.009004 && $] <= 5.009005 }
-my $VERSION = 3.35;
+my $VERSION = 3.36;
my %opt = (
quiet => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/inc/MyModuleBuild.pm
new/Params-Validate-1.29/inc/MyModuleBuild.pm
--- old/Params-Validate-1.28/inc/MyModuleBuild.pm 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/inc/MyModuleBuild.pm 2017-06-11
20:04:06.000000000 +0200
@@ -14,6 +14,13 @@
my $args = $self->$orig(@_);
$args->{c_source} = 'c';
+ if ( $ENV{TRAVIS} ) {
+
+ # The declaration-after-statement warning is for constructs that break
+ # old versions of MSVC.
+ $args->{extra_compiler_flags}
+ = [ '-Wdeclaration-after-statement', '-Werror' ];
+ }
return $args;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Params-Validate-1.28/lib/Params/Validate/Constants.pm
new/Params-Validate-1.29/lib/Params/Validate/Constants.pm
--- old/Params-Validate-1.28/lib/Params/Validate/Constants.pm 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/lib/Params/Validate/Constants.pm 2017-06-11
20:04:06.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.28';
+our $VERSION = '1.29';
our @ISA = 'Exporter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/lib/Params/Validate/PP.pm
new/Params-Validate-1.29/lib/Params/Validate/PP.pm
--- old/Params-Validate-1.28/lib/Params/Validate/PP.pm 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/lib/Params/Validate/PP.pm 2017-06-11
20:04:06.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.28';
+our $VERSION = '1.29';
use Params::Validate::Constants;
use Scalar::Util 1.10 ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/lib/Params/Validate/XS.pm
new/Params-Validate-1.29/lib/Params/Validate/XS.pm
--- old/Params-Validate-1.28/lib/Params/Validate/XS.pm 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/lib/Params/Validate/XS.pm 2017-06-11
20:04:06.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.28';
+our $VERSION = '1.29';
use Carp;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/lib/Params/Validate/XS.xs
new/Params-Validate-1.29/lib/Params/Validate/XS.xs
--- old/Params-Validate-1.28/lib/Params/Validate/XS.xs 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/lib/Params/Validate/XS.xs 2017-06-11
20:04:06.000000000 +0200
@@ -1332,9 +1332,12 @@
apply_defaults(ret, p, specs, missing);
if (av_len(missing) > -1) {
+ SV *buffer;
+ SV *caller;
+
sortsv(AvARRAY(missing), 1 + av_len(missing), Perl_sv_cmp);
- SV* buffer = newSVpv("Mandatory parameter", 0);
- SV *caller = get_caller(options);
+ buffer = newSVpv("Mandatory parameter", 0);
+ caller = get_caller(options);
if (av_len(missing) > 0) {
sv_catpv(buffer, "s ");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/lib/Params/Validate.pm
new/Params-Validate-1.29/lib/Params/Validate.pm
--- old/Params-Validate-1.28/lib/Params/Validate.pm 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/lib/Params/Validate.pm 2017-06-11
20:04:06.000000000 +0200
@@ -5,7 +5,7 @@
use strict;
use warnings;
-our $VERSION = '1.28';
+our $VERSION = '1.29';
use Exporter;
use Module::Implementation;
@@ -77,7 +77,7 @@
=head1 VERSION
-version 1.28
+version 1.29
=head1 SYNOPSIS
@@ -162,10 +162,15 @@
=head1 DESCRIPTION
-The Params::Validate module allows you to validate method or function
-call parameters to an arbitrary level of specificity. At the simplest
-level, it is capable of validating the required parameters were given
-and that no unspecified additional parameters were passed in.
+B<< I would recommend you consider using L<Params::ValidationCompiler>
+instead. That module, despite being pure Perl, is I<significantly> faster than
+this one, at the cost of having to adopt a type system such as L<Specio>,
+L<Type::Tiny>, or the one shipped with L<Moose> >>.
+
+This module allows you to validate method or function call parameters to an
+arbitrary level of specificity. At the simplest level, it is capable of
+validating the required parameters were given and that no unspecified
+additional parameters were passed in.
It is also capable of determining that a parameter is of a specific
type, that it is an object of a certain class hierarchy, that it
@@ -872,12 +877,16 @@
=head1 CONTRIBUTORS
-=for stopwords E. Choroba Ivan Bessarabov J.R. Mash Karen Etheridge Noel Maddy
Olivier Mengué Tony Cook Vincent Pit
+=for stopwords Andy Grundman E. Choroba Ivan Bessarabov J.R. Mash Karen
Etheridge Noel Maddy Olivier Mengué Tony Cook Vincent Pit
=over 4
=item *
+Andy Grundman <[email protected]>
+
+=item *
+
E. Choroba <[email protected]>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/lib/Params/ValidatePP.pm
new/Params-Validate-1.29/lib/Params/ValidatePP.pm
--- old/Params-Validate-1.28/lib/Params/ValidatePP.pm 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/lib/Params/ValidatePP.pm 2017-06-11
20:04:06.000000000 +0200
@@ -1,7 +1,7 @@
package # hide from PAUSE
Params::Validate;
-our $VERSION = '1.28';
+our $VERSION = '1.29';
BEGIN { $ENV{PARAMS_VALIDATE_IMPLEMENTATION} = 'PP' }
use Params::Validate;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/lib/Params/ValidateXS.pm
new/Params-Validate-1.29/lib/Params/ValidateXS.pm
--- old/Params-Validate-1.28/lib/Params/ValidateXS.pm 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/lib/Params/ValidateXS.pm 2017-06-11
20:04:06.000000000 +0200
@@ -1,7 +1,7 @@
package # hide from PAUSE
Params::Validate;
-our $VERSION = '1.28';
+our $VERSION = '1.29';
BEGIN { $ENV{PARAMS_VALIDATE_IMPLEMENTATION} = 'XS' }
use Params::Validate;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/t/00-report-prereqs.t
new/Params-Validate-1.29/t/00-report-prereqs.t
--- old/Params-Validate-1.28/t/00-report-prereqs.t 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/t/00-report-prereqs.t 2017-06-11
20:04:06.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
use Test::More tests => 1;
@@ -68,7 +68,7 @@
);
# Add static prereqs to the included modules list
-my $static_prereqs = do 't/00-report-prereqs.dd';
+my $static_prereqs = do './t/00-report-prereqs.dd';
# Merge all prereqs (either with ::Prereqs or a hashref)
my $full_prereqs = _merge_prereqs(
@@ -78,12 +78,14 @@
# Add dynamic prereqs to the included modules list (if we can)
my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+my $cpan_meta_error;
if ( $source && $HAS_CPAN_META
&& (my $meta = eval { CPAN::Meta->load_file($source) } )
) {
$full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
else {
+ $cpan_meta_error = $@; # capture error from
CPAN::Meta->load_file($source)
$source = 'static metadata';
}
@@ -169,10 +171,18 @@
diag "\nVersions for all modules listed in $source (including optional
ones):\n\n", @full_reports;
}
+if ( $cpan_meta_error || @dep_errors ) {
+ diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING
WARNING ***\n";
+}
+
+if ( $cpan_meta_error ) {
+ my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+ diag "\nCPAN::Meta->load_file('$orig_source') failed with:
$cpan_meta_error\n";
+}
+
if ( @dep_errors ) {
diag join("\n",
- "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
***\n",
- "The following REQUIRED prerequisites were not satisfied:\n",
+ "\nThe following REQUIRED prerequisites were not satisfied:\n",
@dep_errors,
"\n"
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Params-Validate-1.28/xt/author/pod-spell.t
new/Params-Validate-1.29/xt/author/pod-spell.t
--- old/Params-Validate-1.28/xt/author/pod-spell.t 2017-05-06
02:34:03.000000000 +0200
+++ new/Params-Validate-1.29/xt/author/pod-spell.t 2017-06-11
20:04:06.000000000 +0200
@@ -11,6 +11,7 @@
all_pod_files_spelling_ok( qw( bin lib ) );
__DATA__
API
+Andy
Bessarabov
CPAN
Choroba
@@ -21,6 +22,7 @@
Dave
Etheridge
GLOBREF
+Grundman
Ilya
Ivan
Karen
@@ -46,6 +48,7 @@
Vincent
XS
and
+andyg
autarch
baz
choroba