diff options
author | gregor herrmann <gregoa@debian.org> | 2018-01-01 22:47:02 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2018-01-01 22:47:02 +0100 |
commit | 6ace823b802bcfe914e732840dcd76b6d1f0ffd3 (patch) | |
tree | 6f3cdc5c8221d753ade51bea86f36393071b83c0 | |
parent | 3a758c32f7c1df80b861ceac6f30b0e28b8433e8 (diff) | |
parent | e42a6feb84394dd158617720dade17d7d9a1224b (diff) |
Update upstream source from tag 'upstream/0.30'
Update to upstream version '0.30'
with Debian dir b5717653aa62c52d646a54a1a8fdfffa3f609f03
-rw-r--r-- | Changes | 6 | ||||
-rw-r--r-- | LICENSE | 6 | ||||
-rw-r--r-- | META.json | 28 | ||||
-rw-r--r-- | META.yml | 24 | ||||
-rw-r--r-- | Makefile.PL | 2 | ||||
-rw-r--r-- | dist.ini | 2 | ||||
-rw-r--r-- | lib/Perinci/Object.pm | 8 | ||||
-rw-r--r-- | lib/Perinci/Object/EnvResult.pm | 8 | ||||
-rw-r--r-- | lib/Perinci/Object/EnvResultMulti.pm | 10 | ||||
-rw-r--r-- | lib/Perinci/Object/EnvResultTable.pm | 8 | ||||
-rw-r--r-- | lib/Perinci/Object/Function.pm | 8 | ||||
-rw-r--r-- | lib/Perinci/Object/Metadata.pm | 8 | ||||
-rw-r--r-- | lib/Perinci/Object/Package.pm | 8 | ||||
-rw-r--r-- | lib/Perinci/Object/ResMeta.pm | 8 | ||||
-rw-r--r-- | lib/Perinci/Object/Variable.pm | 8 |
15 files changed, 73 insertions, 69 deletions
@@ -1,4 +1,8 @@ -Revision history for Perinci-Object +0.30 2017-02-03 (PERLANCAR) + + - EnvResultMulti: Allow add_result() to override status/message + keys. + 0.29 2016-12-28 (PERLANCAR) @@ -1,4 +1,4 @@ -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 @@ b) the "Artistic License" --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2016 by perlancar@cpan.org. +This software is Copyright (c) 2017 by perlancar@cpan.org. This is free software, licensed under: @@ -272,7 +272,7 @@ That's all there is to it! --- The Artistic License 1.0 --- -This software is Copyright (c) 2016 by perlancar@cpan.org. +This software is Copyright (c) 2017 by perlancar@cpan.org. This is free software, licensed under: @@ -63,7 +63,7 @@ "web" : "https://github.com/perlancar/perl-Perinci-Object" } }, - "version" : "0.29", + "version" : "0.30", "x_Dist_Zilla" : { "perl" : { "version" : "5.024000" @@ -151,6 +151,11 @@ "version" : "6.008" }, { + "class" : "Dist::Zilla::Plugin::PERLANCAR::BeforeBuild", + "name" : "@Author::PERLANCAR/PERLANCAR::BeforeBuild", + "version" : "0.54" + }, + { "class" : "Dist::Zilla::Plugin::Rinci::AbstractFromMeta", "name" : "@Author::PERLANCAR/Rinci::AbstractFromMeta", "version" : "0.09" @@ -163,7 +168,7 @@ { "class" : "Dist::Zilla::Plugin::PERLANCAR::EnsurePrereqToSpec", "name" : "@Author::PERLANCAR/PERLANCAR::EnsurePrereqToSpec", - "version" : "0.03" + "version" : "0.04" }, { "class" : "Dist::Zilla::Plugin::PERLANCAR::MetaResources", @@ -300,19 +305,14 @@ "version" : "0.08" }, { - "class" : "Pod::Weaver::Section::Completion::GetoptLongMore", - "name" : "@Author::PERLANCAR/Completion::GetoptLongMore", - "version" : "0.001" - }, - { "class" : "Pod::Weaver::Section::Completion::GetoptLongSubcommand", "name" : "@Author::PERLANCAR/Completion::GetoptLongSubcommand", "version" : "0.04" }, { - "class" : "Pod::Weaver::Section::Completion::PerinciCmdLine", - "name" : "@Author::PERLANCAR/Completion::PerinciCmdLine", - "version" : "0.14" + "class" : "Pod::Weaver::Section::Completion::GetoptLongMore", + "name" : "@Author::PERLANCAR/Completion::GetoptLongMore", + "version" : "0.001" }, { "class" : "Pod::Weaver::Section::Homepage::DefaultCPAN", @@ -342,7 +342,7 @@ { "class" : "Pod::Weaver::Plugin::Rinci", "name" : "@Author::PERLANCAR/Rinci", - "version" : "0.72" + "version" : "0.76" }, { "class" : "Pod::Weaver::Plugin::AppendPrepend", @@ -362,7 +362,7 @@ { "class" : "Pod::Weaver::Plugin::PERLANCAR::SortSections", "name" : "@Author::PERLANCAR/PERLANCAR::SortSections", - "version" : "0.04" + "version" : "0.05" } ] } @@ -430,7 +430,7 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN::WWWPAUSESimple", "name" : "@Author::PERLANCAR/UploadToCPAN::WWWPAUSESimple", - "version" : "0.03" + "version" : "0.04" }, { "class" : "Dist::Zilla::Plugin::EnsureSQLSchemaVersionedTest", @@ -556,6 +556,6 @@ } }, "x_authority" : "cpan:PERLANCAR", - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0217" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0213" } @@ -27,7 +27,7 @@ resources: bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Object homepage: https://metacpan.org/release/Perinci-Object repository: git://github.com/perlancar/perl-Perinci-Object.git -version: '0.29' +version: '0.30' x_Dist_Zilla: perl: version: '5.024000' @@ -97,6 +97,10 @@ x_Dist_Zilla: name: '@Author::PERLANCAR/@Filter/ConfirmRelease' version: '6.008' - + class: Dist::Zilla::Plugin::PERLANCAR::BeforeBuild + name: '@Author::PERLANCAR/PERLANCAR::BeforeBuild' + version: '0.54' + - class: Dist::Zilla::Plugin::Rinci::AbstractFromMeta name: '@Author::PERLANCAR/Rinci::AbstractFromMeta' version: '0.09' @@ -107,7 +111,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::PERLANCAR::EnsurePrereqToSpec name: '@Author::PERLANCAR/PERLANCAR::EnsurePrereqToSpec' - version: '0.03' + version: '0.04' - class: Dist::Zilla::Plugin::PERLANCAR::MetaResources name: '@Author::PERLANCAR/PERLANCAR::MetaResources' @@ -217,17 +221,13 @@ x_Dist_Zilla: name: '@Author::PERLANCAR/Completion::GetoptLongComplete' version: '0.08' - - class: Pod::Weaver::Section::Completion::GetoptLongMore - name: '@Author::PERLANCAR/Completion::GetoptLongMore' - version: '0.001' - - class: Pod::Weaver::Section::Completion::GetoptLongSubcommand name: '@Author::PERLANCAR/Completion::GetoptLongSubcommand' version: '0.04' - - class: Pod::Weaver::Section::Completion::PerinciCmdLine - name: '@Author::PERLANCAR/Completion::PerinciCmdLine' - version: '0.14' + class: Pod::Weaver::Section::Completion::GetoptLongMore + name: '@Author::PERLANCAR/Completion::GetoptLongMore' + version: '0.001' - class: Pod::Weaver::Section::Homepage::DefaultCPAN name: '@Author::PERLANCAR/Homepage::DefaultCPAN' @@ -251,7 +251,7 @@ x_Dist_Zilla: - class: Pod::Weaver::Plugin::Rinci name: '@Author::PERLANCAR/Rinci' - version: '0.72' + version: '0.76' - class: Pod::Weaver::Plugin::AppendPrepend name: '@Author::PERLANCAR/AppendPrepend' @@ -267,7 +267,7 @@ x_Dist_Zilla: - class: Pod::Weaver::Plugin::PERLANCAR::SortSections name: '@Author::PERLANCAR/PERLANCAR::SortSections' - version: '0.04' + version: '0.05' name: '@Author::PERLANCAR/PodWeaver' version: '4.008' - @@ -318,7 +318,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::UploadToCPAN::WWWPAUSESimple name: '@Author::PERLANCAR/UploadToCPAN::WWWPAUSESimple' - version: '0.03' + version: '0.04' - class: Dist::Zilla::Plugin::EnsureSQLSchemaVersionedTest name: '@Author::PERLANCAR/EnsureSQLSchemaVersionedTest' diff --git a/Makefile.PL b/Makefile.PL index 5b3ce83..2cec9d5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -29,7 +29,7 @@ my %WriteMakefileArgs = ( "Test::Exception" => 0, "Test::More" => "0.98" }, - "VERSION" => "0.29", + "VERSION" => "0.30", "test" => { "TESTS" => "t/*.t" } @@ -1,4 +1,4 @@ -version=0.29 +version=0.30 name=Perinci-Object diff --git a/lib/Perinci/Object.pm b/lib/Perinci/Object.pm index 7ffc968..7b8c674 100644 --- a/lib/Perinci/Object.pm +++ b/lib/Perinci/Object.pm @@ -1,7 +1,7 @@ package Perinci::Object; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010001; use strict; @@ -67,7 +67,7 @@ Perinci::Object - Object-oriented interface for Rinci metadata =head1 VERSION -This document describes version 0.29 of Perinci::Object (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 SYNOPSIS @@ -215,7 +215,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/EnvResult.pm b/lib/Perinci/Object/EnvResult.pm index dc5ccab..fed80f7 100644 --- a/lib/Perinci/Object/EnvResult.pm +++ b/lib/Perinci/Object/EnvResult.pm @@ -1,7 +1,7 @@ package Perinci::Object::EnvResult; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -97,7 +97,7 @@ Perinci::Object::EnvResult - Represent enveloped result =head1 VERSION -This document describes version 0.29 of Perinci::Object::EnvResult (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::EnvResult (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 SYNOPSIS @@ -188,7 +188,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/EnvResultMulti.pm b/lib/Perinci/Object/EnvResultMulti.pm index ab17307..46c8a2b 100644 --- a/lib/Perinci/Object/EnvResultMulti.pm +++ b/lib/Perinci/Object/EnvResultMulti.pm @@ -1,7 +1,7 @@ package Perinci::Object::EnvResultMulti; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -22,7 +22,7 @@ sub add_result { my $num_nok = 0; push @{ ${$self}->[3]{results} }, - {%{ $extra // {} }, status=>$status, message=>$message}; + {status=>$status, message=>$message, %{ $extra // {} }}; for (@{ ${$self}->[3]{results} // [] }) { if ($_->{status} =~ /\A(2|304)/) { $num_ok++; @@ -59,7 +59,7 @@ Perinci::Object::EnvResultMulti - Represent enveloped result (multistatus) =head1 VERSION -This document describes version 0.29 of Perinci::Object::EnvResultMulti (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::EnvResultMulti (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 SYNOPSIS @@ -141,7 +141,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/EnvResultTable.pm b/lib/Perinci/Object/EnvResultTable.pm index fa98f01..ef8b335 100644 --- a/lib/Perinci/Object/EnvResultTable.pm +++ b/lib/Perinci/Object/EnvResultTable.pm @@ -1,7 +1,7 @@ package Perinci::Object::EnvResultTable; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -30,7 +30,7 @@ Perinci::Object::EnvResultTable - Represent enveloped result (table) =head1 VERSION -This document describes version 0.29 of Perinci::Object::EnvResultTable (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::EnvResultTable (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 SYNOPSIS @@ -93,7 +93,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/Function.pm b/lib/Perinci/Object/Function.pm index bcf9a82..3f80c63 100644 --- a/lib/Perinci/Object/Function.pm +++ b/lib/Perinci/Object/Function.pm @@ -1,7 +1,7 @@ package Perinci::Object::Function; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -77,7 +77,7 @@ Perinci::Object::Function - Represent function metadata =head1 VERSION -This document describes version 0.29 of Perinci::Object::Function (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::Function (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 SYNOPSIS @@ -159,7 +159,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/Metadata.pm b/lib/Perinci/Object/Metadata.pm index 69d3514..700f160 100644 --- a/lib/Perinci/Object/Metadata.pm +++ b/lib/Perinci/Object/Metadata.pm @@ -1,7 +1,7 @@ package Perinci::Object::Metadata; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -149,7 +149,7 @@ Perinci::Object::Metadata - Base class for Perinci::Object metadata classes =head1 VERSION -This document describes version 0.29 of Perinci::Object::Metadata (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::Metadata (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 METHODS @@ -230,7 +230,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/Package.pm b/lib/Perinci/Object/Package.pm index f41ea71..ae039e9 100644 --- a/lib/Perinci/Object/Package.pm +++ b/lib/Perinci/Object/Package.pm @@ -1,7 +1,7 @@ package Perinci::Object::Package; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -26,7 +26,7 @@ Perinci::Object::Package - Represent package metadata =head1 VERSION -This document describes version 0.29 of Perinci::Object::Package (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::Package (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 METHODS @@ -56,7 +56,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/ResMeta.pm b/lib/Perinci/Object/ResMeta.pm index 69eeac8..088575f 100644 --- a/lib/Perinci/Object/ResMeta.pm +++ b/lib/Perinci/Object/ResMeta.pm @@ -1,7 +1,7 @@ package Perinci::Object::ResMeta; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -26,7 +26,7 @@ Perinci::Object::ResMeta - Represent function/method result metadata =head1 VERSION -This document describes version 0.29 of Perinci::Object::ResMeta (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::ResMeta (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 METHODS @@ -56,7 +56,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. 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 --git a/lib/Perinci/Object/Variable.pm b/lib/Perinci/Object/Variable.pm index 2adb9b5..91e5196 100644 --- a/lib/Perinci/Object/Variable.pm +++ b/lib/Perinci/Object/Variable.pm @@ -1,7 +1,7 @@ package Perinci::Object::Variable; -our $DATE = '2016-12-28'; # DATE -our $VERSION = '0.29'; # VERSION +our $DATE = '2017-02-03'; # DATE +our $VERSION = '0.30'; # VERSION use 5.010; use strict; @@ -26,7 +26,7 @@ Perinci::Object::Variable - Represent variable metadata =head1 VERSION -This document describes version 0.29 of Perinci::Object::Variable (from Perl distribution Perinci-Object), released on 2016-12-28. +This document describes version 0.30 of Perinci::Object::Variable (from Perl distribution Perinci-Object), released on 2017-02-03. =head1 METHODS @@ -56,7 +56,7 @@ perlancar <perlancar@cpan.org> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2016 by perlancar@cpan.org. +This software is copyright (c) 2017 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. |