Hello community,
here is the log from the commit of package perl-HTTP-Entity-Parser for
openSUSE:Factory checked in at 2020-07-15 15:04:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Entity-Parser (Old)
and /work/SRC/openSUSE:Factory/.perl-HTTP-Entity-Parser.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTTP-Entity-Parser"
Wed Jul 15 15:04:52 2020 rev:2 rq:820831 version:0.23
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-HTTP-Entity-Parser/perl-HTTP-Entity-Parser.changes
2019-12-10 22:45:20.433744178 +0100
+++
/work/SRC/openSUSE:Factory/.perl-HTTP-Entity-Parser.new.3060/perl-HTTP-Entity-Parser.changes
2020-07-15 15:05:11.743420318 +0200
@@ -1,0 +2,10 @@
+Fri Jul 10 09:29:30 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 0.23
+ see /usr/share/doc/packages/perl-HTTP-Entity-Parser/Changes
+
+ 0.23 2020-07-10T02:45:46Z
+
+ - Handle nested arrays #12
+
+-------------------------------------------------------------------
Old:
----
HTTP-Entity-Parser-0.22.tar.gz
New:
----
HTTP-Entity-Parser-0.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTTP-Entity-Parser.spec ++++++
--- /var/tmp/diff_new_pack.yNlOlt/_old 2020-07-15 15:05:13.599422128 +0200
+++ /var/tmp/diff_new_pack.yNlOlt/_new 2020-07-15 15:05:13.603422132 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTTP-Entity-Parser
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: perl-HTTP-Entity-Parser
-Version: 0.22
+Version: 0.23
Release: 0
%define cpan_name HTTP-Entity-Parser
Summary: PSGI compliant HTTP Entity Parser
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
++++++ HTTP-Entity-Parser-0.22.tar.gz -> HTTP-Entity-Parser-0.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTTP-Entity-Parser-0.22/Changes
new/HTTP-Entity-Parser-0.23/Changes
--- old/HTTP-Entity-Parser-0.22/Changes 2019-11-16 15:21:49.000000000 +0100
+++ new/HTTP-Entity-Parser-0.23/Changes 2020-07-10 04:45:57.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Perl extension HTTP-Entity-Parser
+0.23 2020-07-10T02:45:46Z
+
+ - Handle nested arrays #12
+
0.22 2019-11-16T14:21:39Z
- Do not stringify nested hash references in JSON #11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTTP-Entity-Parser-0.22/META.json
new/HTTP-Entity-Parser-0.23/META.json
--- old/HTTP-Entity-Parser-0.22/META.json 2019-11-16 15:21:49.000000000
+0100
+++ new/HTTP-Entity-Parser-0.23/META.json 2020-07-10 04:45:57.000000000
+0200
@@ -68,7 +68,7 @@
"provides" : {
"HTTP::Entity::Parser" : {
"file" : "lib/HTTP/Entity/Parser.pm",
- "version" : "0.22"
+ "version" : "0.23"
},
"HTTP::Entity::Parser::JSON" : {
"file" : "lib/HTTP/Entity/Parser/JSON.pm"
@@ -94,12 +94,13 @@
"web" : "https://github.com/kazeburo/HTTP-Entity-Parser"
}
},
- "version" : "0.22",
+ "version" : "0.23",
"x_contributors" : [
"José Joaquín Atria <[email protected]>",
"Karen Etheridge <[email protected]>",
"Shoichi Kaji <[email protected]>",
"Todd Rinaldo <[email protected]>",
+ "jrubinator <[email protected]>",
"moznion <[email protected]>"
],
"x_serialization_backend" : "JSON::PP version 2.27400_02"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTTP-Entity-Parser-0.22/META.yml
new/HTTP-Entity-Parser-0.23/META.yml
--- old/HTTP-Entity-Parser-0.22/META.yml 2019-11-16 15:21:49.000000000
+0100
+++ new/HTTP-Entity-Parser-0.23/META.yml 2020-07-10 04:45:57.000000000
+0200
@@ -29,7 +29,7 @@
provides:
HTTP::Entity::Parser:
file: lib/HTTP/Entity/Parser.pm
- version: '0.22'
+ version: '0.23'
HTTP::Entity::Parser::JSON:
file: lib/HTTP/Entity/Parser/JSON.pm
HTTP::Entity::Parser::MultiPart:
@@ -52,11 +52,12 @@
bugtracker: https://github.com/kazeburo/HTTP-Entity-Parser/issues
homepage: https://github.com/kazeburo/HTTP-Entity-Parser
repository: git://github.com/kazeburo/HTTP-Entity-Parser.git
-version: '0.22'
+version: '0.23'
x_contributors:
- 'José Joaquín Atria <[email protected]>'
- 'Karen Etheridge <[email protected]>'
- 'Shoichi Kaji <[email protected]>'
- 'Todd Rinaldo <[email protected]>'
+ - 'jrubinator <[email protected]>'
- 'moznion <[email protected]>'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/HTTP-Entity-Parser-0.22/lib/HTTP/Entity/Parser/JSON.pm
new/HTTP-Entity-Parser-0.23/lib/HTTP/Entity/Parser/JSON.pm
--- old/HTTP-Entity-Parser-0.22/lib/HTTP/Entity/Parser/JSON.pm 2019-11-16
15:21:49.000000000 +0100
+++ new/HTTP-Entity-Parser-0.23/lib/HTTP/Entity/Parser/JSON.pm 2020-07-10
04:45:57.000000000 +0200
@@ -23,11 +23,7 @@
my @params;
if (ref $p eq 'HASH') {
while (my ($k, $v) = each %$p) {
- if (ref $v eq 'ARRAY') {
- for (@$v) {
- push @params, encode_utf8($k), encode_utf8($_);
- }
- } elsif (ref $v) {
+ if (ref $v) {
push @params, encode_utf8($k), $v;
} else {
push @params, encode_utf8($k), encode_utf8($v);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTTP-Entity-Parser-0.22/lib/HTTP/Entity/Parser.pm
new/HTTP-Entity-Parser-0.23/lib/HTTP/Entity/Parser.pm
--- old/HTTP-Entity-Parser-0.22/lib/HTTP/Entity/Parser.pm 2019-11-16
15:21:49.000000000 +0100
+++ new/HTTP-Entity-Parser-0.23/lib/HTTP/Entity/Parser.pm 2020-07-10
04:45:57.000000000 +0200
@@ -6,7 +6,7 @@
use Stream::Buffered;
use Module::Load;
-our $VERSION = "0.22";
+our $VERSION = "0.23";
our $BUFFER_LENGTH = 65536;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTTP-Entity-Parser-0.22/t/01_content_type/json.t
new/HTTP-Entity-Parser-0.23/t/01_content_type/json.t
--- old/HTTP-Entity-Parser-0.22/t/01_content_type/json.t 2019-11-16
15:21:49.000000000 +0100
+++ new/HTTP-Entity-Parser-0.23/t/01_content_type/json.t 2020-07-10
04:45:57.000000000 +0200
@@ -10,16 +10,18 @@
$parser->add('"hoge":["fuga","hige"],');
$parser->add('"moji":{"kanji":{"ji":"\u5b57"}},');
$parser->add('"\u306b\u307b\u3093\u3054":"\u65e5\u672c\u8a9e",');
+$parser->add('"shallow":[{"deeper": "sunk"}],');
$parser->add('"moge":"muga"');
$parser->add('}');
my ($params, $uploads) = $parser->finalize();
-is_deeply(Hash::MultiValue->new(@$params)->as_hashref_multi,
+is_deeply(Hash::MultiValue->new(@$params)->as_hashref_mixed,
+{
'hoge' => [ 'fuga', 'hige' ],
- 'moge' => ['muga'],
- 'moji' => [ { 'kanji' => { 'ji' => '字' } } ],
- Encode::encode_utf8('にほんご') => [Encode::encode_utf8('日本語')],
+ 'moge' => 'muga',
+ 'moji' => { 'kanji' => { 'ji' => '字' } },
+ 'shallow' => [ { 'deeper' => 'sunk' } ],
+ Encode::encode_utf8('にほんご') => Encode::encode_utf8('日本語'),
});
is_deeply $uploads, [];