Hello community, here is the log from the commit of package perl-libwww-perl for openSUSE:Factory checked in at 2017-12-09 20:26:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-libwww-perl (Old) and /work/SRC/openSUSE:Factory/.perl-libwww-perl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-libwww-perl" Sat Dec 9 20:26:37 2017 rev:52 rq:555217 version:6.30 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-libwww-perl/perl-libwww-perl.changes 2017-11-12 17:56:06.746442837 +0100 +++ /work/SRC/openSUSE:Factory/.perl-libwww-perl.new/perl-libwww-perl.changes 2017-12-09 20:26:41.487825459 +0100 @@ -1,0 +2,13 @@ +Fri Dec 8 07:09:10 UTC 2017 - [email protected] + +- updated to 6.30 + see /usr/share/doc/packages/perl-libwww-perl/Changes + + 6.30 2017-12-07 + - Use tr/// instead of s/// where appropriate (Ville Skyttä) (GH #265) + - Use parent -norequire instead of base to not look for external + dependencies (Fabian Zeindler) (GH #259) + - Fix run_handlers to allow assigning to the request / response (Gianni + Ceccarelli) (GH #274) + +------------------------------------------------------------------- Old: ---- libwww-perl-6.29.tar.gz New: ---- libwww-perl-6.30.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-libwww-perl.spec ++++++ --- /var/tmp/diff_new_pack.3VHaM0/_old 2017-12-09 20:26:43.843713247 +0100 +++ /var/tmp/diff_new_pack.3VHaM0/_new 2017-12-09 20:26:43.847713057 +0100 @@ -17,7 +17,7 @@ Name: perl-libwww-perl -Version: 6.29 +Version: 6.30 Release: 0 %define cpan_name libwww-perl Summary: The World-Wide Web library for Perl ++++++ libwww-perl-6.29.tar.gz -> libwww-perl-6.30.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/Changes new/libwww-perl-6.30/Changes --- old/libwww-perl-6.29/Changes 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/Changes 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,12 @@ Change history for libwww-perl +6.30 2017-12-07 + - Use tr/// instead of s/// where appropriate (Ville Skyttä) (GH #265) + - Use parent -norequire instead of base to not look for external + dependencies (Fabian Zeindler) (GH #259) + - Fix run_handlers to allow assigning to the request / response (Gianni + Ceccarelli) (GH #274) + 6.29 2017-11-06 - Fix some version numbers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/MANIFEST new/libwww-perl-6.30/MANIFEST --- old/libwww-perl-6.29/MANIFEST 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/MANIFEST 2017-12-08 02:52:45.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.008. CONTRIBUTING.md Changes LICENSE @@ -47,6 +47,7 @@ t/base/proxy.t t/base/simple.t t/base/ua.t +t/base/ua_handlers.t t/local/autoload-get.t t/local/autoload.t t/local/get.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/META.json new/libwww-perl-6.30/META.json --- old/libwww-perl-6.29/META.json 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/META.json 2017-12-08 02:52:45.000000000 +0100 @@ -4,7 +4,7 @@ "Gisle Aas <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -108,99 +108,99 @@ "provides" : { "LWP" : { "file" : "lib/LWP.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Authen::Basic" : { "file" : "lib/LWP/Authen/Basic.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Authen::Digest" : { "file" : "lib/LWP/Authen/Digest.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Authen::Ntlm" : { "file" : "lib/LWP/Authen/Ntlm.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::ConnCache" : { "file" : "lib/LWP/ConnCache.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Debug" : { "file" : "lib/LWP/Debug.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Debug::TraceHTTP" : { "file" : "lib/LWP/Debug/TraceHTTP.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::DebugFile" : { "file" : "lib/LWP/DebugFile.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::MemberMixin" : { "file" : "lib/LWP/MemberMixin.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol" : { "file" : "lib/LWP/Protocol.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::MyFTP" : { "file" : "lib/LWP/Protocol/ftp.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::cpan" : { "file" : "lib/LWP/Protocol/cpan.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::data" : { "file" : "lib/LWP/Protocol/data.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::file" : { "file" : "lib/LWP/Protocol/file.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::ftp" : { "file" : "lib/LWP/Protocol/ftp.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::gopher" : { "file" : "lib/LWP/Protocol/gopher.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::http" : { "file" : "lib/LWP/Protocol/http.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::loopback" : { "file" : "lib/LWP/Protocol/loopback.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::mailto" : { "file" : "lib/LWP/Protocol/mailto.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::nntp" : { "file" : "lib/LWP/Protocol/nntp.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Protocol::nogo" : { "file" : "lib/LWP/Protocol/nogo.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::RobotUA" : { "file" : "lib/LWP/RobotUA.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::Simple" : { "file" : "lib/LWP/Simple.pm", - "version" : "6.29" + "version" : "6.30" }, "LWP::UserAgent" : { "file" : "lib/LWP/UserAgent.pm", - "version" : "6.29" + "version" : "6.30" } }, "release_status" : "stable", @@ -217,7 +217,7 @@ "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:[email protected]" }, - "version" : "6.29", + "version" : "6.30", "x_Dist_Zilla" : { "perl" : { "version" : "5.024000" @@ -250,12 +250,12 @@ { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "PruneCruft", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "MetaConfig", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -265,16 +265,16 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.009" + "version" : "6.008" } ], "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002003", - "inherit_missing" : 1, - "inherit_version" : 1, - "meta_noindex" : 1 + "inherit_missing" : "1", + "inherit_version" : "1", + "meta_noindex" : "1" }, "Dist::Zilla::Role::ModuleMetadata" : { "Module::Metadata" : "1.000031", @@ -287,22 +287,22 @@ { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "MetaNoIndex", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "MetaYAML", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "MetaJSON", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -311,7 +311,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v6.29", + "tag" : "v6.30", "tag_format" : "v%v", "tag_message" : "v%v" }, @@ -426,12 +426,12 @@ { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "Manifest", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "License", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -446,17 +446,17 @@ { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "ExecDir", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "PkgVersion", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "NextRelease", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::Prereqs::FromCPANfile", @@ -476,17 +476,17 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "TestRelease", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "ConfirmRelease", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "UploadToCPAN", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::CheckChangeLog", @@ -565,7 +565,7 @@ { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "MetaTests", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -580,7 +580,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "PodSyntaxTests", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable", @@ -742,65 +742,65 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.009" + "version" : "6.008" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.009" + "version" : "6.008" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : 0 + "is_trial" : "0" }, - "version" : "6.009" + "version" : "6.008" } }, "x_authority" : "cpan:LWWWP", @@ -823,10 +823,12 @@ "DAVIDRW <[email protected]>", "David Standish <[email protected]>", "David Steinbrunner <[email protected]>", + "Fabian Zeindler <[email protected]>", "Father Chrysostomos <[email protected]>", "FWILES <[email protected]>", "Gavin Peters <[email protected]>", "Gerhard Poul <[email protected]>", + "Gianni Ceccarelli <[email protected]>", "Gisle Aas <[email protected]>", "Graeme Thompson <[email protected]>", "Graham Knop <[email protected]>", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/META.yml new/libwww-perl-6.30/META.yml --- old/libwww-perl-6.29/META.yml 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/META.yml 2017-12-08 02:52:45.000000000 +0100 @@ -14,7 +14,7 @@ File::Copy: '0' Getopt::Long: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,76 +27,76 @@ provides: LWP: file: lib/LWP.pm - version: '6.29' + version: '6.30' LWP::Authen::Basic: file: lib/LWP/Authen/Basic.pm - version: '6.29' + version: '6.30' LWP::Authen::Digest: file: lib/LWP/Authen/Digest.pm - version: '6.29' + version: '6.30' LWP::Authen::Ntlm: file: lib/LWP/Authen/Ntlm.pm - version: '6.29' + version: '6.30' LWP::ConnCache: file: lib/LWP/ConnCache.pm - version: '6.29' + version: '6.30' LWP::Debug: file: lib/LWP/Debug.pm - version: '6.29' + version: '6.30' LWP::Debug::TraceHTTP: file: lib/LWP/Debug/TraceHTTP.pm - version: '6.29' + version: '6.30' LWP::DebugFile: file: lib/LWP/DebugFile.pm - version: '6.29' + version: '6.30' LWP::MemberMixin: file: lib/LWP/MemberMixin.pm - version: '6.29' + version: '6.30' LWP::Protocol: file: lib/LWP/Protocol.pm - version: '6.29' + version: '6.30' LWP::Protocol::MyFTP: file: lib/LWP/Protocol/ftp.pm - version: '6.29' + version: '6.30' LWP::Protocol::cpan: file: lib/LWP/Protocol/cpan.pm - version: '6.29' + version: '6.30' LWP::Protocol::data: file: lib/LWP/Protocol/data.pm - version: '6.29' + version: '6.30' LWP::Protocol::file: file: lib/LWP/Protocol/file.pm - version: '6.29' + version: '6.30' LWP::Protocol::ftp: file: lib/LWP/Protocol/ftp.pm - version: '6.29' + version: '6.30' LWP::Protocol::gopher: file: lib/LWP/Protocol/gopher.pm - version: '6.29' + version: '6.30' LWP::Protocol::http: file: lib/LWP/Protocol/http.pm - version: '6.29' + version: '6.30' LWP::Protocol::loopback: file: lib/LWP/Protocol/loopback.pm - version: '6.29' + version: '6.30' LWP::Protocol::mailto: file: lib/LWP/Protocol/mailto.pm - version: '6.29' + version: '6.30' LWP::Protocol::nntp: file: lib/LWP/Protocol/nntp.pm - version: '6.29' + version: '6.30' LWP::Protocol::nogo: file: lib/LWP/Protocol/nogo.pm - version: '6.29' + version: '6.30' LWP::RobotUA: file: lib/LWP/RobotUA.pm - version: '6.29' + version: '6.30' LWP::Simple: file: lib/LWP/Simple.pm - version: '6.29' + version: '6.30' LWP::UserAgent: file: lib/LWP/UserAgent.pm - version: '6.29' + version: '6.30' requires: Digest::MD5: '0' Encode: '2.12' @@ -133,7 +133,7 @@ bugtracker: https://github.com/libwww-perl/libwww-perl/issues homepage: https://github.com/libwww-perl/libwww-perl repository: https://github.com/libwww-perl/libwww-perl.git -version: '6.29' +version: '6.30' x_Dist_Zilla: perl: version: '5.024000' @@ -160,11 +160,11 @@ - class: Dist::Zilla::Plugin::PruneCruft name: PruneCruft - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::MetaConfig name: MetaConfig - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -173,7 +173,7 @@ - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '6.009' + version: '6.008' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002003' @@ -188,19 +188,19 @@ - class: Dist::Zilla::Plugin::MetaNoIndex name: MetaNoIndex - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::MetaYAML name: MetaYAML - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::MetaJSON name: MetaJSON - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -208,7 +208,7 @@ branch: ~ changelog: Changes signed: 0 - tag: v6.29 + tag: v6.30 tag_format: v%v tag_message: v%v Dist::Zilla::Role::Git::Repo: @@ -295,11 +295,11 @@ - class: Dist::Zilla::Plugin::Manifest name: Manifest - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::License name: License - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -310,15 +310,15 @@ - class: Dist::Zilla::Plugin::ExecDir name: ExecDir - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::PkgVersion name: PkgVersion - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::NextRelease name: NextRelease - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::Prereqs::FromCPANfile name: Prereqs::FromCPANfile @@ -333,15 +333,15 @@ - class: Dist::Zilla::Plugin::TestRelease name: TestRelease - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::ConfirmRelease name: ConfirmRelease - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::UploadToCPAN name: UploadToCPAN - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::CheckChangeLog name: CheckChangeLog @@ -402,7 +402,7 @@ - class: Dist::Zilla::Plugin::MetaTests name: MetaTests - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: Test::ChangesHasContent @@ -414,7 +414,7 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: PodSyntaxTests - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable name: Test::Pod::Coverage::Configurable @@ -564,52 +564,52 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.009' + version: '6.008' - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '6.009' + version: '6.008' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.009' + version: '6.008' x_authority: cpan:LWWWP x_contributors: - 'Adam Kennedy <[email protected]>' @@ -630,10 +630,12 @@ - 'DAVIDRW <[email protected]>' - 'David Standish <[email protected]>' - 'David Steinbrunner <[email protected]>' + - 'Fabian Zeindler <[email protected]>' - 'Father Chrysostomos <[email protected]>' - 'FWILES <[email protected]>' - 'Gavin Peters <[email protected]>' - 'Gerhard Poul <[email protected]>' + - 'Gianni Ceccarelli <[email protected]>' - 'Gisle Aas <[email protected]>' - 'Graeme Thompson <[email protected]>' - 'Graham Knop <[email protected]>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/Makefile.PL new/libwww-perl-6.30/Makefile.PL --- old/libwww-perl-6.29/Makefile.PL 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/Makefile.PL 2017-12-08 02:52:45.000000000 +0100 @@ -83,7 +83,7 @@ "Test::More" => 0, "Test::RequiresInternet" => 0 }, - "VERSION" => "6.29", + "VERSION" => "6.30", "test" => { "TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/local/*.t t/robot/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/bin/lwp-request new/libwww-perl-6.30/bin/lwp-request --- old/libwww-perl-6.29/bin/lwp-request 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/bin/lwp-request 2017-12-08 02:52:45.000000000 +0100 @@ -222,7 +222,7 @@ { package RequestAgent; -$RequestAgent::VERSION = '6.29'; +$RequestAgent::VERSION = '6.30'; use strict; use warnings; use base qw(LWP::UserAgent); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/dist.ini new/libwww-perl-6.30/dist.ini --- old/libwww-perl-6.29/dist.ini 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/dist.ini 2017-12-08 02:52:45.000000000 +0100 @@ -4,7 +4,7 @@ copyright_holder = Gisle Aas copyright_year = 1995 -version = 6.29 +version = 6.30 ; Gather stuff in [Git::GatherDir] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Authen/Basic.pm new/libwww-perl-6.30/lib/LWP/Authen/Basic.pm --- old/libwww-perl-6.29/lib/LWP/Authen/Basic.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Authen/Basic.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Authen::Basic; -$LWP::Authen::Basic::VERSION = '6.29'; +$LWP::Authen::Basic::VERSION = '6.30'; use strict; require MIME::Base64; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Authen/Digest.pm new/libwww-perl-6.30/lib/LWP/Authen/Digest.pm --- old/libwww-perl-6.29/lib/LWP/Authen/Digest.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Authen/Digest.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Authen::Digest; -$LWP::Authen::Digest::VERSION = '6.29'; +$LWP::Authen::Digest::VERSION = '6.30'; use strict; use base 'LWP::Authen::Basic'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Debug/TraceHTTP.pm new/libwww-perl-6.30/lib/LWP/Debug/TraceHTTP.pm --- old/libwww-perl-6.29/lib/LWP/Debug/TraceHTTP.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Debug/TraceHTTP.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Debug::TraceHTTP; -$LWP::Debug::TraceHTTP::VERSION = '6.29'; +$LWP::Debug::TraceHTTP::VERSION = '6.30'; # Just call: # # require LWP::Debug::TraceHTTP; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Debug.pm new/libwww-perl-6.30/lib/LWP/Debug.pm --- old/libwww-perl-6.29/lib/LWP/Debug.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Debug.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Debug; # legacy -$LWP::Debug::VERSION = '6.29'; +$LWP::Debug::VERSION = '6.30'; require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw(level trace debug conns); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/DebugFile.pm new/libwww-perl-6.30/lib/LWP/DebugFile.pm --- old/libwww-perl-6.29/lib/LWP/DebugFile.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/DebugFile.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::DebugFile; -$LWP::DebugFile::VERSION = '6.29'; +$LWP::DebugFile::VERSION = '6.30'; # legacy stub 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/MemberMixin.pm new/libwww-perl-6.30/lib/LWP/MemberMixin.pm --- old/libwww-perl-6.29/lib/LWP/MemberMixin.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/MemberMixin.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::MemberMixin; -$LWP::MemberMixin::VERSION = '6.29'; +$LWP::MemberMixin::VERSION = '6.30'; sub _elem { my $self = shift; my $elem = shift; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/cpan.pm new/libwww-perl-6.30/lib/LWP/Protocol/cpan.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/cpan.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/cpan.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::cpan; -$LWP::Protocol::cpan::VERSION = '6.29'; +$LWP::Protocol::cpan::VERSION = '6.30'; use strict; use base qw(LWP::Protocol); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/data.pm new/libwww-perl-6.30/lib/LWP/Protocol/data.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/data.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/data.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::data; -$LWP::Protocol::data::VERSION = '6.29'; +$LWP::Protocol::data::VERSION = '6.30'; # Implements access to data:-URLs as specified in RFC 2397 use strict; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/file.pm new/libwww-perl-6.30/lib/LWP/Protocol/file.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/file.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/file.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::file; -$LWP::Protocol::file::VERSION = '6.29'; +$LWP::Protocol::file::VERSION = '6.30'; use base qw(LWP::Protocol); use strict; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/ftp.pm new/libwww-perl-6.30/lib/LWP/Protocol/ftp.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/ftp.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/ftp.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::ftp; -$LWP::Protocol::ftp::VERSION = '6.29'; +$LWP::Protocol::ftp::VERSION = '6.30'; # Implementation of the ftp protocol (RFC 959). We let the Net::FTP # package do all the dirty work. use base qw(LWP::Protocol); @@ -16,7 +16,7 @@ { package LWP::Protocol::MyFTP; -$LWP::Protocol::MyFTP::VERSION = '6.29'; +$LWP::Protocol::MyFTP::VERSION = '6.30'; use strict; use base qw(Net::FTP); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/gopher.pm new/libwww-perl-6.30/lib/LWP/Protocol/gopher.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/gopher.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/gopher.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::gopher; -$LWP::Protocol::gopher::VERSION = '6.29'; +$LWP::Protocol::gopher::VERSION = '6.30'; # Implementation of the gopher protocol (RFC 1436) # # This code is based on 'wwwgopher.pl,v 0.10 1994/10/17 18:12:34 shelden' @@ -185,7 +185,7 @@ sub menu2html { my($menu) = @_; - $menu =~ s/\015//g; # remove carriage return + $menu =~ tr/\015//d; # remove carriage return my $tmp = <<"EOT"; <HTML> <HEAD> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/http.pm new/libwww-perl-6.30/lib/LWP/Protocol/http.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/http.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/http.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::http; -$LWP::Protocol::http::VERSION = '6.29'; +$LWP::Protocol::http::VERSION = '6.30'; use strict; require HTTP::Response; @@ -234,7 +234,7 @@ $request_headers->scan(sub { my($k, $v) = @_; $k =~ s/^://; - $v =~ s/\n/ /g; + $v =~ tr/\n/ /; push(@h, $k, $v); }); @@ -516,6 +516,6 @@ package # hide from PAUSE LWP::Protocol::http::Socket; -use base qw(LWP::Protocol::http::SocketMethods Net::HTTP); +use parent -norequire, qw(LWP::Protocol::http::SocketMethods Net::HTTP); 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/loopback.pm new/libwww-perl-6.30/lib/LWP/Protocol/loopback.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/loopback.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/loopback.pm 2017-12-08 02:52:46.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::loopback; -$LWP::Protocol::loopback::VERSION = '6.29'; +$LWP::Protocol::loopback::VERSION = '6.30'; use strict; require HTTP::Response; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/mailto.pm new/libwww-perl-6.30/lib/LWP/Protocol/mailto.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/mailto.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/mailto.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::mailto; -$LWP::Protocol::mailto::VERSION = '6.29'; +$LWP::Protocol::mailto::VERSION = '6.30'; # This module implements the mailto protocol. It is just a simple # frontend to the Unix sendmail program except on MacOS, where it uses # Mail::Internet. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/nntp.pm new/libwww-perl-6.30/lib/LWP/Protocol/nntp.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/nntp.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/nntp.pm 2017-12-08 02:52:45.000000000 +0100 @@ -1,5 +1,5 @@ package LWP::Protocol::nntp; -$LWP::Protocol::nntp::VERSION = '6.29'; +$LWP::Protocol::nntp::VERSION = '6.30'; # Implementation of the Network News Transfer Protocol (RFC 977) use base qw(LWP::Protocol); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol/nogo.pm new/libwww-perl-6.30/lib/LWP/Protocol/nogo.pm --- old/libwww-perl-6.29/lib/LWP/Protocol/nogo.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol/nogo.pm 2017-12-08 02:52:45.000000000 +0100 @@ -4,7 +4,7 @@ # LWP::Protocol::implementor(that_scheme, 'LWP::Protocol::nogo'); # For then on, attempts to access URLs with that scheme will generate # a 500 error. -$LWP::Protocol::nogo::VERSION = '6.29'; +$LWP::Protocol::nogo::VERSION = '6.30'; use strict; require HTTP::Response; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/Protocol.pm new/libwww-perl-6.30/lib/LWP/Protocol.pm --- old/libwww-perl-6.29/lib/LWP/Protocol.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/Protocol.pm 2017-12-08 02:52:45.000000000 +0100 @@ -53,7 +53,7 @@ return '' unless $scheme =~ /^([.+\-\w]+)$/; # check valid URL schemes $scheme = $1; # untaint - $scheme =~ s/[.+\-]/_/g; # make it a legal module name + $scheme =~ tr/.+-/_/; # make it a legal module name # scheme not yet known, look for a 'use'd implementation $ic = "LWP::Protocol::$scheme"; # default location diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/lib/LWP/UserAgent.pm new/libwww-perl-6.30/lib/LWP/UserAgent.pm --- old/libwww-perl-6.29/lib/LWP/UserAgent.pm 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/lib/LWP/UserAgent.pm 2017-12-08 02:52:45.000000000 +0100 @@ -387,7 +387,7 @@ } $scheme = $1; # untainted now my $class = "LWP::Authen::\u$scheme"; - $class =~ s/-/_/g; + $class =~ tr/-/_/; no strict 'refs'; unless (%{"$class\::"}) { @@ -897,16 +897,20 @@ sub run_handlers { my($self, $phase, $o) = @_; + + # here we pass $_[2] to the callbacks, instead of $o, so that they + # can assign to it; e.g. request_prepare is documented to allow + # that if (defined(wantarray)) { for my $h ($self->handlers($phase, $o)) { - my $ret = $h->{callback}->($o, $self, $h); + my $ret = $h->{callback}->($_[2], $self, $h); return $ret if $ret; } return undef; } for my $h ($self->handlers($phase, $o)) { - $h->{callback}->($o, $self, $h); + $h->{callback}->($_[2], $self, $h); } } @@ -1456,7 +1460,7 @@ checks are made and you can't be sure that you communicate with the expected peer. The no checks behaviour was the default for libwww-perl-5.837 and earlier releases. -This option is initialized from the L<PERL_LWP_SSL_VERIFY_HOSTNAME> environment +This option is initialized from the C<PERL_LWP_SSL_VERIFY_HOSTNAME> environment variable. If this environment variable isn't set; then C<verify_hostname> defaults to 1. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/t/base/ua_handlers.t new/libwww-perl-6.30/t/base/ua_handlers.t --- old/libwww-perl-6.29/t/base/ua_handlers.t 1970-01-01 01:00:00.000000000 +0100 +++ new/libwww-perl-6.30/t/base/ua_handlers.t 2017-12-08 02:52:45.000000000 +0100 @@ -0,0 +1,45 @@ +use strict; +use warnings; +use Test::More; +use LWP::UserAgent (); +use HTTP::Request (); +use HTTP::Response (); + +# Prevent environment from interfering with test: +delete $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}; +delete $ENV{HTTPS_CA_FILE}; +delete $ENV{HTTPS_CA_DIR}; +delete $ENV{PERL_LWP_SSL_CA_FILE}; +delete $ENV{PERL_LWP_SSL_CA_PATH}; +delete $ENV{PERL_LWP_ENV_PROXY}; + +my $ua = LWP::UserAgent->new; +$ua->add_handler( + request_send => sub { + my ($request, $ua, $h) = @_; + return HTTP::Response->new(200,'OK',[],'ok'); + } +); + +subtest 'request_send' => sub { + my $res = $ua->get('http://www.example.com'); + ok($res->is_success, 'handler should succeed'); + is($res->content,'ok','handler-provided response should be used'); +}; + +subtest 'request_prepare' => sub { + $ua->add_handler( + request_prepare => sub { + # the docs say this is the way to replace the request + $_[0] = HTTP::Request->new(POST=>'http://mmm.example.com/'); + } + ); + my $res = $ua->get('http://www.example.com'); + my $effective_request = $res->request; + is($effective_request->method,'POST', + 'the request should have been modified by the handler'); + is($effective_request->uri,'http://mmm.example.com/', + 'the request should have been modified by the handler'); +}; + +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/xt/author/eol.t new/libwww-perl-6.30/xt/author/eol.t --- old/libwww-perl-6.29/xt/author/eol.t 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/xt/author/eol.t 2017-12-08 02:52:45.000000000 +0100 @@ -43,6 +43,7 @@ 't/base/proxy.t', 't/base/simple.t', 't/base/ua.t', + 't/base/ua_handlers.t', 't/local/autoload-get.t', 't/local/autoload.t', 't/local/get.t', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/xt/author/pod-coverage.t new/libwww-perl-6.30/xt/author/pod-coverage.t --- old/libwww-perl-6.29/xt/author/pod-coverage.t 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/xt/author/pod-coverage.t 2017-12-08 02:52:45.000000000 +0100 @@ -26,21 +26,21 @@ plan tests => scalar @modules; my %trustme = ( - 'LWP::Protocol::http' => [ - qr/^(?:hlist_remove|socket_class|socket_type)$/ - ], - 'LWP::Protocol' => [ - qr/^(?:max_size|timeout)$/ - ], 'LWP::RobotUA' => [ qr/^host_count$/ ], - 'LWP::Protocol::gopher' => [ - qr/^(?:gopher2url|menu2html)$/ - ], + 'LWP::Protocol' => [ + qr/^(?:max_size|timeout)$/ + ], 'LWP::UserAgent' => [ qr/^(?:run_handlers|send_request|use_alarm|use_eval)$/ - ] + ], + 'LWP::Protocol::http' => [ + qr/^(?:hlist_remove|socket_class|socket_type)$/ + ], + 'LWP::Protocol::gopher' => [ + qr/^(?:gopher2url|menu2html)$/ + ] ); my @also_private; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/xt/author/pod-spell.t new/libwww-perl-6.30/xt/author/pod-spell.t --- old/libwww-perl-6.29/xt/author/pod-spell.t 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/xt/author/pod-spell.t 2017-12-08 02:52:45.000000000 +0100 @@ -37,6 +37,7 @@ CPAN Campbell Cardillo +Ceccarelli Chamas Chase Christopher @@ -61,6 +62,7 @@ Eldridge Etheridge FWILES +Fabian Father Fesler Finch @@ -68,6 +70,7 @@ Gavin Gerhard Gertjan +Gianni Gisle Gondwana Graaff @@ -257,6 +260,7 @@ Zakharevich Zavarin Zefram +Zeindler Zielinski Zoest adamk @@ -284,12 +288,14 @@ dsteinbrunner erik ether +faz file freeerider ftp gerhard getprint getstore +gianni gisle github gong diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libwww-perl-6.29/xt/release/changes_has_content.t new/libwww-perl-6.30/xt/release/changes_has_content.t --- old/libwww-perl-6.29/xt/release/changes_has_content.t 2017-11-06 21:33:09.000000000 +0100 +++ new/libwww-perl-6.30/xt/release/changes_has_content.t 2017-12-08 02:52:46.000000000 +0100 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '6.29'; +my $newver = '6.30'; my $trial_token = '-TRIAL'; SKIP: {
