Hello community, here is the log from the commit of package perl-HTTP-Cookies for openSUSE:Factory checked in at 2019-11-17 19:21:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Cookies (Old) and /work/SRC/openSUSE:Factory/.perl-HTTP-Cookies.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTTP-Cookies" Sun Nov 17 19:21:00 2019 rev:13 rq:748596 version:6.06 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-HTTP-Cookies/perl-HTTP-Cookies.changes 2019-11-04 17:01:25.487941380 +0100 +++ /work/SRC/openSUSE:Factory/.perl-HTTP-Cookies.new.26869/perl-HTTP-Cookies.changes 2019-11-17 19:21:05.822918421 +0100 @@ -1,0 +2,9 @@ +Thu Nov 14 09:29:21 UTC 2019 - <[email protected]> + +- updated to 6.06 + see /usr/share/doc/packages/perl-HTTP-Cookies/Changes + + 6.06 2019-11-12 14:28:31Z + - Make test pass in 2025 (GH#56) (Bernhard M. Wiedemann) + +------------------------------------------------------------------- Old: ---- HTTP-Cookies-6.05.tar.gz New: ---- HTTP-Cookies-6.06.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-HTTP-Cookies.spec ++++++ --- /var/tmp/diff_new_pack.YlqHo7/_old 2019-11-17 19:21:06.314918212 +0100 +++ /var/tmp/diff_new_pack.YlqHo7/_new 2019-11-17 19:21:06.314918212 +0100 @@ -17,7 +17,7 @@ Name: perl-HTTP-Cookies -Version: 6.05 +Version: 6.06 Release: 0 %define cpan_name HTTP-Cookies Summary: HTTP cookie jars ++++++ HTTP-Cookies-6.05.tar.gz -> HTTP-Cookies-6.06.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/CONTRIBUTORS new/HTTP-Cookies-6.06/CONTRIBUTORS --- old/HTTP-Cookies-6.05/CONTRIBUTORS 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/CONTRIBUTORS 2019-11-12 15:28:37.000000000 +0100 @@ -14,6 +14,7 @@ * Alex Peters * amire80 * Andreas J. Koenig + * Bernhard M. Wiedemann * Bill Mann * Bron Gondwana * Chase Whitener diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/Changes new/HTTP-Cookies-6.06/Changes --- old/HTTP-Cookies-6.05/Changes 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/Changes 2019-11-12 15:28:37.000000000 +0100 @@ -1,6 +1,9 @@ Revision history for HTTP-Cookies. The HTTP::Cookies module used to be bundled with the libwww-perl distribution. +6.06 2019-11-12 14:28:31Z + - Make test pass in 2025 (GH#56) (Bernhard M. Wiedemann) + 6.05 2019-10-24 02:21:51Z - Fix GH#32 by checking for " as well as ; when splitting. (GH#49) (colinnewell) - Fix GH#48 update documentation about $version (GH#55) (Dave Menninger) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/LICENSE new/HTTP-Cookies-6.06/LICENSE --- old/HTTP-Cookies-6.05/LICENSE 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/LICENSE 2019-11-12 15:28:37.000000000 +0100 @@ -1,4 +1,4 @@ -This software is copyright (c) 2002-2017 by Gisle Aas. +This software is copyright (c) 2002-2019 by Gisle Aas. 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 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2002-2017 by Gisle Aas. +This software is Copyright (c) 2002-2019 by Gisle Aas. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2002-2017 by Gisle Aas. +This software is Copyright (c) 2002-2019 by Gisle Aas. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/MANIFEST new/HTTP-Cookies-6.06/MANIFEST --- old/HTTP-Cookies-6.05/MANIFEST 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/MANIFEST 2019-11-12 15:28:37.000000000 +0100 @@ -24,6 +24,10 @@ t/issue32.t t/publicsuffix.t tidyall.ini +xt/author/eol.t +xt/author/mojibake.t xt/author/pod-syntax.t +xt/author/portability.t +xt/author/test-version.t xt/author/tidyall.t xt/release/cpan-changes.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/META.json new/HTTP-Cookies-6.06/META.json --- old/HTTP-Cookies-6.05/META.json 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/META.json 2019-11-12 15:28:37.000000000 +0100 @@ -30,8 +30,12 @@ "requires" : { "Test::CPAN::Changes" : "0.19", "Test::Code::TidyAll" : "0.50", + "Test::EOL" : "0", + "Test::Mojibake" : "0", "Test::More" : "0.96", "Test::Pod" : "1.41", + "Test::Portability::Files" : "0", + "Test::Version" : "1", "warnings" : "0" } }, @@ -73,7 +77,7 @@ "web" : "https://github.com/libwww-perl/HTTP-Cookies" } }, - "version" : "6.05", + "version" : "6.06", "x_Dist_Zilla" : { "perl" : { "version" : "5.030000" @@ -211,7 +215,7 @@ "class" : "Dist::Zilla::Plugin::InstallGuide", "config" : { "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000036", + "Module::Metadata" : "1.000037", "version" : "0.006" } }, @@ -224,6 +228,11 @@ "version" : "6.012" }, { + "class" : "Dist::Zilla::Plugin::MojibakeTests", + "name" : "@Author::OALDERS/MojibakeTests", + "version" : "0.8" + }, + { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::OALDERS/PodSyntaxTests", "version" : "6.012" @@ -239,6 +248,32 @@ "version" : "0.012" }, { + "class" : "Dist::Zilla::Plugin::Test::EOL", + "config" : { + "Dist::Zilla::Plugin::Test::EOL" : { + "filename" : "xt/author/eol.t", + "finder" : [ + ":ExecFiles", + ":InstallModules", + ":TestFiles" + ], + "trailing_whitespace" : 1 + } + }, + "name" : "@Author::OALDERS/Test::EOL", + "version" : "0.19" + }, + { + "class" : "Dist::Zilla::Plugin::Test::Portability", + "config" : { + "Dist::Zilla::Plugin::Test::Portability" : { + "options" : "" + } + }, + "name" : "@Author::OALDERS/Test::Portability", + "version" : "2.001000" + }, + { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::OALDERS/TestRelease", "version" : "6.012" @@ -254,6 +289,11 @@ "version" : "0.04" }, { + "class" : "Dist::Zilla::Plugin::Test::Version", + "name" : "@Author::OALDERS/Test::Version", + "version" : "1.09" + }, + { "class" : "Dist::Zilla::Plugin::RunExtraTests", "config" : { "Dist::Zilla::Role::TestRunner" : { @@ -574,7 +614,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v6.05", + "tag" : "v6.06", "tag_format" : "v%V", "tag_message" : "v%V" }, @@ -739,6 +779,7 @@ "Alex Peters <[email protected]>", "amire80 <[email protected]>", "Andreas J. Koenig <[email protected]>", + "Bernhard M. Wiedemann <[email protected]>", "Bill Mann <[email protected]>", "Bron Gondwana <[email protected]>", "Chase Whitener <[email protected]>", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/META.yml new/HTTP-Cookies-6.06/META.yml --- old/HTTP-Cookies-6.05/META.yml 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/META.yml 2019-11-12 15:28:37.000000000 +0100 @@ -36,7 +36,7 @@ bugtracker: https://github.com/libwww-perl/HTTP-Cookies/issues homepage: https://github.com/libwww-perl/HTTP-Cookies repository: https://github.com/libwww-perl/HTTP-Cookies.git -version: '6.05' +version: '6.06' x_Dist_Zilla: perl: version: '5.030000' @@ -144,7 +144,7 @@ class: Dist::Zilla::Plugin::InstallGuide config: Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000036' + Module::Metadata: '1.000037' version: '0.006' name: '@Author::OALDERS/InstallGuide' version: '1.200013' @@ -153,6 +153,10 @@ name: '@Author::OALDERS/ExecDir' version: '6.012' - + class: Dist::Zilla::Plugin::MojibakeTests + name: '@Author::OALDERS/MojibakeTests' + version: '0.8' + - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::OALDERS/PodSyntaxTests' version: '6.012' @@ -164,6 +168,25 @@ name: '@Author::OALDERS/Test::CPAN::Changes' version: '0.012' - + class: Dist::Zilla::Plugin::Test::EOL + config: + Dist::Zilla::Plugin::Test::EOL: + filename: xt/author/eol.t + finder: + - ':ExecFiles' + - ':InstallModules' + - ':TestFiles' + trailing_whitespace: 1 + name: '@Author::OALDERS/Test::EOL' + version: '0.19' + - + class: Dist::Zilla::Plugin::Test::Portability + config: + Dist::Zilla::Plugin::Test::Portability: + options: '' + name: '@Author::OALDERS/Test::Portability' + version: '2.001000' + - class: Dist::Zilla::Plugin::TestRelease name: '@Author::OALDERS/TestRelease' version: '6.012' @@ -176,6 +199,10 @@ name: '@Author::OALDERS/Test::TidyAll' version: '0.04' - + class: Dist::Zilla::Plugin::Test::Version + name: '@Author::OALDERS/Test::Version' + version: '1.09' + - class: Dist::Zilla::Plugin::RunExtraTests config: Dist::Zilla::Role::TestRunner: @@ -424,7 +451,7 @@ branch: ~ changelog: Changes signed: 0 - tag: v6.05 + tag: v6.06 tag_format: v%V tag_message: v%V Dist::Zilla::Role::Git::Repo: @@ -548,6 +575,7 @@ - 'Alex Peters <[email protected]>' - 'amire80 <[email protected]>' - 'Andreas J. Koenig <[email protected]>' + - 'Bernhard M. Wiedemann <[email protected]>' - 'Bill Mann <[email protected]>' - 'Bron Gondwana <[email protected]>' - 'Chase Whitener <[email protected]>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/Makefile.PL new/HTTP-Cookies-6.06/Makefile.PL --- old/HTTP-Cookies-6.05/Makefile.PL 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/Makefile.PL 2019-11-12 15:28:37.000000000 +0100 @@ -33,7 +33,7 @@ "URI" => 0, "warnings" => 0 }, - "VERSION" => "6.05", + "VERSION" => "6.06", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/README.md new/HTTP-Cookies-6.06/README.md --- old/HTTP-Cookies-6.05/README.md 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/README.md 2019-11-12 15:28:37.000000000 +0100 @@ -4,7 +4,7 @@ # VERSION -version 6.05 +version 6.06 # SYNOPSIS @@ -110,7 +110,7 @@ $path\_spec, $secure, $discard arguments are boolean values. The $maxage value is a number indicating number of seconds that this cookie will live. A value of $maxage <= 0 will delete this cookie. The $version argument - sets the version of the cookie; the default value is 0 ( original Netscape + sets the version of the cookie; the default value is 0 ( original Netscape spec ). Setting $version to another value indicates the RFC to which the cookie conforms (e.g. version 1 for RFC 2109). %rest defines various other attributes like "Comment" and "CommentURL". @@ -195,7 +195,7 @@ # COPYRIGHT AND LICENSE -This software is copyright (c) 2002-2017 by Gisle Aas. +This software is copyright (c) 2002-2019 by Gisle Aas. 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/cpanfile new/HTTP-Cookies-6.06/cpanfile --- old/HTTP-Cookies-6.05/cpanfile 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/cpanfile 2019-11-12 15:28:37.000000000 +0100 @@ -27,7 +27,11 @@ on 'develop' => sub { requires "Test::CPAN::Changes" => "0.19"; requires "Test::Code::TidyAll" => "0.50"; + requires "Test::EOL" => "0"; + requires "Test::Mojibake" => "0"; requires "Test::More" => "0.96"; requires "Test::Pod" => "1.41"; + requires "Test::Portability::Files" => "0"; + requires "Test::Version" => "1"; requires "warnings" => "0"; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/dist.ini new/HTTP-Cookies-6.06/dist.ini --- old/HTTP-Cookies-6.05/dist.ini 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/dist.ini 2019-11-12 15:28:37.000000000 +0100 @@ -3,7 +3,7 @@ license = Perl_5 main_module = lib/HTTP/Cookies.pm copyright_holder = Gisle Aas -copyright_year = 2002-2017 +copyright_year = 2002-2019 [Encoding] encoding = ISO-8859-1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/lib/HTTP/Cookies/Microsoft.pm new/HTTP-Cookies-6.06/lib/HTTP/Cookies/Microsoft.pm --- old/HTTP-Cookies-6.05/lib/HTTP/Cookies/Microsoft.pm 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/lib/HTTP/Cookies/Microsoft.pm 2019-11-12 15:28:37.000000000 +0100 @@ -2,7 +2,7 @@ use strict; -our $VERSION = '6.05'; +our $VERSION = '6.06'; require HTTP::Cookies; our @ISA=qw(HTTP::Cookies); @@ -244,7 +244,7 @@ =head1 VERSION -version 6.05 +version 6.06 =head1 SYNOPSIS @@ -311,7 +311,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2002-2017 by Gisle Aas. +This software is copyright (c) 2002-2019 by Gisle Aas. 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/lib/HTTP/Cookies/Netscape.pm new/HTTP-Cookies-6.06/lib/HTTP/Cookies/Netscape.pm --- old/HTTP-Cookies-6.05/lib/HTTP/Cookies/Netscape.pm 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/lib/HTTP/Cookies/Netscape.pm 2019-11-12 15:28:37.000000000 +0100 @@ -2,7 +2,7 @@ use strict; -our $VERSION = '6.05'; +our $VERSION = '6.06'; require HTTP::Cookies; our @ISA=qw(HTTP::Cookies); @@ -75,7 +75,7 @@ =head1 VERSION -version 6.05 +version 6.06 =head1 SYNOPSIS @@ -113,7 +113,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2002-2017 by Gisle Aas. +This software is copyright (c) 2002-2019 by Gisle Aas. 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/lib/HTTP/Cookies.pm new/HTTP-Cookies-6.06/lib/HTTP/Cookies.pm --- old/HTTP-Cookies-6.05/lib/HTTP/Cookies.pm 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/lib/HTTP/Cookies.pm 2019-11-12 15:28:37.000000000 +0100 @@ -5,7 +5,7 @@ use HTTP::Headers::Util qw(_split_header_words join_header_words); our $EPOCH_OFFSET; -our $VERSION = '6.05'; +our $VERSION = '6.06'; # Legacy: because "use "HTTP::Cookies" used be the ONLY way # to load the class HTTP::Cookies::Netscape. @@ -673,7 +673,7 @@ =head1 VERSION -version 6.05 +version 6.06 =head1 SYNOPSIS @@ -783,7 +783,7 @@ $path_spec, $secure, $discard arguments are boolean values. The $maxage value is a number indicating number of seconds that this cookie will live. A value of $maxage <= 0 will delete this cookie. The $version argument -sets the version of the cookie; the default value is 0 ( original Netscape +sets the version of the cookie; the default value is 0 ( original Netscape spec ). Setting $version to another value indicates the RFC to which the cookie conforms (e.g. version 1 for RFC 2109). %rest defines various other attributes like "Comment" and "CommentURL". @@ -876,7 +876,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2002-2017 by Gisle Aas. +This software is copyright (c) 2002-2019 by Gisle Aas. 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/t/00-report-prereqs.dd new/HTTP-Cookies-6.06/t/00-report-prereqs.dd --- old/HTTP-Cookies-6.05/t/00-report-prereqs.dd 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/t/00-report-prereqs.dd 2019-11-12 15:28:37.000000000 +0100 @@ -8,8 +8,12 @@ 'requires' => { 'Test::CPAN::Changes' => '0.19', 'Test::Code::TidyAll' => '0.50', + 'Test::EOL' => '0', + 'Test::Mojibake' => '0', 'Test::More' => '0.96', 'Test::Pod' => '1.41', + 'Test::Portability::Files' => '0', + 'Test::Version' => '1', 'warnings' => '0' } }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/t/cookies.t new/HTTP-Cookies-6.06/t/cookies.t --- old/HTTP-Cookies-6.05/t/cookies.t 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/t/cookies.t 2019-11-12 15:28:37.000000000 +0100 @@ -12,33 +12,33 @@ # http://curl.haxx.se/rfc/cookie_spec.html # Client requests a document, and receives in the response: -# +# # Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/; expires=Wednesday, 09-Nov-99 23:12:40 GMT -# +# # When client requests a URL in path "/" on this server, it sends: -# +# # Cookie: CUSTOMER=WILE_E_COYOTE -# +# # Client requests a document, and receives in the response: -# +# # Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/ -# +# # When client requests a URL in path "/" on this server, it sends: -# +# # Cookie: CUSTOMER=WILE_E_COYOTE; PART_NUMBER=ROCKET_LAUNCHER_0001 -# +# # Client receives: -# +# # Set-Cookie: SHIPPING=FEDEX; path=/fo -# +# # When client requests a URL in path "/" on this server, it sends: -# +# # Cookie: CUSTOMER=WILE_E_COYOTE; PART_NUMBER=ROCKET_LAUNCHER_0001 -# +# # When client requests a URL in path "/foo" on this server, it sends: -# +# # Cookie: CUSTOMER=WILE_E_COYOTE; PART_NUMBER=ROCKET_LAUNCHER_0001; SHIPPING=FEDEX -# +# # The last Cookie is buggy, because both specifications says that the # most specific cookie must be sent first. SHIPPING=FEDEX is the # most specific and should thus be first. @@ -98,27 +98,27 @@ # Second Example transaction sequence: -# +# # Assume all mappings from above have been cleared. -# +# # Client receives: -# +# # Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/ -# +# # When client requests a URL in path "/" on this server, it sends: -# +# # Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001 -# +# # Client receives: -# +# # Set-Cookie: PART_NUMBER=RIDING_ROCKET_0023; path=/ammo -# +# # When client requests a URL in path "/ammo" on this server, it sends: -# +# # Cookie: PART_NUMBER=RIDING_ROCKET_0023; PART_NUMBER=ROCKET_LAUNCHER_0001 -# +# # NOTE: There are two name/value pairs named "PART_NUMBER" due to -# the inheritance of the "/" mapping in addition to the "/ammo" mapping. +# the inheritance of the "/" mapping in addition to the "/ammo" mapping. $c = HTTP::Cookies->new; # clear it @@ -164,67 +164,67 @@ $c = HTTP::Cookies->new; -# +# # 5.1 Example 1 -# +# # Most detail of request and response headers has been omitted. Assume # the user agent has no stored cookies. -# +# # 1. User Agent -> Server -# +# # POST /acme/login HTTP/1.1 # [form data] -# +# # User identifies self via a form. -# +# # 2. Server -> User Agent -# +# # HTTP/1.1 200 OK # Set-Cookie2: Customer="WILE_E_COYOTE"; Version="1"; Path="/acme" -# +# # Cookie reflects user's identity. $cookie = interact($c, 'http://www.acme.com/acme/login', 'Customer="WILE_E_COYOTE"; Version="1"; Path="/acme"'); ok(!$cookie); -# +# # 3. User Agent -> Server -# +# # POST /acme/pickitem HTTP/1.1 # Cookie: $Version="1"; Customer="WILE_E_COYOTE"; $Path="/acme" # [form data] -# +# # User selects an item for ``shopping basket.'' -# +# # 4. Server -> User Agent -# +# # HTTP/1.1 200 OK # Set-Cookie2: Part_Number="Rocket_Launcher_0001"; Version="1"; # Path="/acme" -# +# # Shopping basket contains an item. $cookie = interact($c, 'http://www.acme.com/acme/pickitem', 'Part_Number="Rocket_Launcher_0001"; Version="1"; Path="/acme"'); ok($cookie =~ m(^\$Version="?1"?; Customer="?WILE_E_COYOTE"?; \$Path="/acme"$)); -# +# # 5. User Agent -> Server -# +# # POST /acme/shipping HTTP/1.1 # Cookie: $Version="1"; # Customer="WILE_E_COYOTE"; $Path="/acme"; # Part_Number="Rocket_Launcher_0001"; $Path="/acme" # [form data] -# +# # User selects shipping method from form. -# +# # 6. Server -> User Agent -# +# # HTTP/1.1 200 OK # Set-Cookie2: Shipping="FedEx"; Version="1"; Path="/acme" -# +# # New cookie reflects shipping method. $cookie = interact($c, "http://www.acme.com/acme/shipping", @@ -234,22 +234,22 @@ ok($cookie =~ /Part_Number="?Rocket_Launcher_0001"?;\s*\$Path="\/acme"/); ok($cookie =~ /Customer="?WILE_E_COYOTE"?;\s*\$Path="\/acme"/); -# +# # 7. User Agent -> Server -# +# # POST /acme/process HTTP/1.1 # Cookie: $Version="1"; # Customer="WILE_E_COYOTE"; $Path="/acme"; # Part_Number="Rocket_Launcher_0001"; $Path="/acme"; # Shipping="FedEx"; $Path="/acme" # [form data] -# +# # User chooses to process order. -# +# # 8. Server -> User Agent -# +# # HTTP/1.1 200 OK -# +# # Transaction is complete. $cookie = interact($c, "http://www.acme.com/acme/process"); @@ -257,7 +257,7 @@ ok($cookie =~ /Shipping="?FedEx"?;\s*\$Path="\/acme"/); ok($cookie =~ /WILE_E_COYOTE/); -# +# # The user agent makes a series of requests on the origin server, after # each of which it receives a new cookie. All the cookies have the same # Path attribute and (default) domain. Because the request URLs all have @@ -268,7 +268,7 @@ # 5.2 Example 2 -# +# # This example illustrates the effect of the Path attribute. All detail # of request and response headers has been omitted. Assume the user agent # has no stored cookies. @@ -277,12 +277,12 @@ # Imagine the user agent has received, in response to earlier requests, # the response headers -# +# # Set-Cookie2: Part_Number="Rocket_Launcher_0001"; Version="1"; # Path="/acme" -# +# # and -# +# # Set-Cookie2: Part_Number="Riding_Rocket_0023"; Version="1"; # Path="/acme/ammo" @@ -292,11 +292,11 @@ # A subsequent request by the user agent to the (same) server for URLs of # the form /acme/ammo/... would include the following request header: -# +# # Cookie: $Version="1"; # Part_Number="Riding_Rocket_0023"; $Path="/acme/ammo"; # Part_Number="Rocket_Launcher_0001"; $Path="/acme" -# +# # Note that the NAME=VALUE pair for the cookie with the more specific Path # attribute, /acme/ammo, comes before the one with the less specific Path # attribute, /acme. Further note that the same cookie name appears more @@ -307,9 +307,9 @@ # A subsequent request by the user agent to the (same) server for a URL of # the form /acme/parts/ would include the following request header: -# +# # Cookie: $Version="1"; Part_Number="Rocket_Launcher_0001"; $Path="/acme" -# +# # Here, the second cookie's Path attribute /acme/ammo is not a prefix of # the request URL, /acme/parts/, so the cookie does not get forwarded to # the server. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/t/issue26.t new/HTTP-Cookies-6.06/t/issue26.t --- old/HTTP-Cookies-6.05/t/issue26.t 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/t/issue26.t 2019-11-12 15:28:37.000000000 +0100 @@ -10,7 +10,7 @@ my $request = HTTP::Request->new(GET => 'http://www.en.com/'); -my $response = HTTP::Response->parse +my $response = HTTP::Response->parse ("HTTP/1.1 302 Moved" . $CRLF . "Set-Cookie: expires=10101$CRLF$CRLF"); $response->request($request); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/t/issue32.t new/HTTP-Cookies-6.06/t/issue32.t --- old/HTTP-Cookies-6.05/t/issue32.t 2019-10-24 04:21:55.000000000 +0200 +++ new/HTTP-Cookies-6.06/t/issue32.t 2019-11-12 15:28:37.000000000 +0100 @@ -7,12 +7,12 @@ use HTTP::Response; my $req = HTTP::Request->new(GET => "http://example.com"); -my $resp = HTTP::Response->new(200, 'OK', ['Set-Cookie', q!a="b;c;\\"d"; expires=Fri, 06-Nov-2025 08:58:34 GMT; domain=example.com; path=/!]); +my $resp = HTTP::Response->new(200, 'OK', ['Set-Cookie', q!a="b;c;\\"d"; expires=Fri, 06-Nov-2999 08:58:34 GMT; domain=example.com; path=/!]); $resp->request($req); my $c = HTTP::Cookies->new; $c->extract_cookies($resp); -is $c->as_string, 'Set-Cookie3: a="b;c;\"d"; path="/"; domain=example.com; path_spec; expires="2025-11-06 08:58:34Z"; version=0' . "\n"; +is $c->as_string, 'Set-Cookie3: a="b;c;\"d"; path="/"; domain=example.com; path_spec; expires="2999-11-06 08:58:34Z"; version=0' . "\n"; # test the implementation of the split function in isolation. # should probably name the function better too. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/xt/author/eol.t new/HTTP-Cookies-6.06/xt/author/eol.t --- old/HTTP-Cookies-6.05/xt/author/eol.t 1970-01-01 01:00:00.000000000 +0100 +++ new/HTTP-Cookies-6.06/xt/author/eol.t 2019-11-12 15:28:37.000000000 +0100 @@ -0,0 +1,24 @@ +use strict; +use warnings; + +# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19 + +use Test::More 0.88; +use Test::EOL; + +my @files = ( + 'lib/HTTP/Cookies.pm', + 'lib/HTTP/Cookies/Microsoft.pm', + 'lib/HTTP/Cookies/Netscape.pm', + 't/00-report-prereqs.dd', + 't/00-report-prereqs.t', + 't/10-original_spec.t', + 't/11-rfc_2965.t', + 't/cookies.t', + 't/issue26.t', + 't/issue32.t', + 't/publicsuffix.t' +); + +eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/xt/author/mojibake.t new/HTTP-Cookies-6.06/xt/author/mojibake.t --- old/HTTP-Cookies-6.05/xt/author/mojibake.t 1970-01-01 01:00:00.000000000 +0100 +++ new/HTTP-Cookies-6.06/xt/author/mojibake.t 2019-11-12 15:28:37.000000000 +0100 @@ -0,0 +1,9 @@ +#!perl + +use strict; +use warnings qw(all); + +use Test::More; +use Test::Mojibake; + +all_files_encoding_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/xt/author/portability.t new/HTTP-Cookies-6.06/xt/author/portability.t --- old/HTTP-Cookies-6.05/xt/author/portability.t 1970-01-01 01:00:00.000000000 +0100 +++ new/HTTP-Cookies-6.06/xt/author/portability.t 2019-11-12 15:28:37.000000000 +0100 @@ -0,0 +1,10 @@ +use strict; +use warnings; + +use Test::More; + +eval 'use Test::Portability::Files'; +plan skip_all => 'Test::Portability::Files required for testing portability' + if $@; + +run_tests(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Cookies-6.05/xt/author/test-version.t new/HTTP-Cookies-6.06/xt/author/test-version.t --- old/HTTP-Cookies-6.05/xt/author/test-version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/HTTP-Cookies-6.06/xt/author/test-version.t 2019-11-12 15:28:37.000000000 +0100 @@ -0,0 +1,23 @@ +use strict; +use warnings; +use Test::More; + +# generated by Dist::Zilla::Plugin::Test::Version 1.09 +use Test::Version; + +my @imports = qw( version_all_ok ); + +my $params = { + is_strict => 0, + has_version => 1, + multiple => 0, + +}; + +push @imports, $params + if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); + +Test::Version->import(@imports); + +version_all_ok; +done_testing;
