summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2018-01-01 22:47:02 +0100
committergregor herrmann <gregoa@debian.org>2018-01-01 22:47:02 +0100
commit6ace823b802bcfe914e732840dcd76b6d1f0ffd3 (patch)
tree6f3cdc5c8221d753ade51bea86f36393071b83c0
parent3a758c32f7c1df80b861ceac6f30b0e28b8433e8 (diff)
parente42a6feb84394dd158617720dade17d7d9a1224b (diff)
Update upstream source from tag 'upstream/0.30'
Update to upstream version '0.30' with Debian dir b5717653aa62c52d646a54a1a8fdfffa3f609f03
-rw-r--r--Changes6
-rw-r--r--LICENSE6
-rw-r--r--META.json28
-rw-r--r--META.yml24
-rw-r--r--Makefile.PL2
-rw-r--r--dist.ini2
-rw-r--r--lib/Perinci/Object.pm8
-rw-r--r--lib/Perinci/Object/EnvResult.pm8
-rw-r--r--lib/Perinci/Object/EnvResultMulti.pm10
-rw-r--r--lib/Perinci/Object/EnvResultTable.pm8
-rw-r--r--lib/Perinci/Object/Function.pm8
-rw-r--r--lib/Perinci/Object/Metadata.pm8
-rw-r--r--lib/Perinci/Object/Package.pm8
-rw-r--r--lib/Perinci/Object/ResMeta.pm8
-rw-r--r--lib/Perinci/Object/Variable.pm8
15 files changed, 73 insertions, 69 deletions
diff --git a/Changes b/Changes
index c96065f..50f5746 100644
--- a/Changes
+++ b/Changes
@@ -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)
diff --git a/LICENSE b/LICENSE
index 79b40bd..43482f3 100644
--- a/LICENSE
+++ b/LICENSE
@@ -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:
diff --git a/META.json b/META.json
index 5cb70fb..1b272ae 100644
--- a/META.json
+++ b/META.json
@@ -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"
}
diff --git a/META.yml b/META.yml
index 795c0a1..d95a831 100644
--- a/META.yml
+++ b/META.yml
@@ -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"
}
diff --git a/dist.ini b/dist.ini
index 0f96e13..2a0c169 100644
--- a/dist.ini
+++ b/dist.ini
@@ -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.