commit perl-HTTP-Message for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-HTTP-Message for openSUSE:Factory checked in at 2021-07-02 13:26:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Message (Old) and /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-HTTP-Message" Fri Jul 2 13:26:47 2021 rev:30 rq:903047 version:6.33 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-HTTP-Message/perl-HTTP-Message.changes 2021-05-20 19:24:06.198179846 +0200 +++ /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new.2625/perl-HTTP-Message.changes 2021-07-02 13:27:21.492811273 +0200 @@ -1,0 +2,10 @@ +Tue Jun 29 03:06:46 UTC 2021 - Tina M��ller <timueller+perl@suse.de> + +- updated to 6.33 + see /usr/share/doc/packages/perl-HTTP-Message/Changes + + 6.33 2021-06-28 16:51:58Z + - Allow `can` method to respond to delegated methods (GH#159) (nanto_vi, + TOYAMA Nao) + +------------------------------------------------------------------- Old: ---- HTTP-Message-6.32.tar.gz New: ---- HTTP-Message-6.33.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-HTTP-Message.spec ++++++ --- /var/tmp/diff_new_pack.ui0CN3/_old 2021-07-02 13:27:21.948807735 +0200 +++ /var/tmp/diff_new_pack.ui0CN3/_new 2021-07-02 13:27:21.952807704 +0200 @@ -18,7 +18,7 @@ %define cpan_name HTTP-Message Name: perl-HTTP-Message -Version: 6.32 +Version: 6.33 Release: 0 Summary: HTTP style message (base class) License: Artistic-1.0 OR GPL-1.0-or-later ++++++ HTTP-Message-6.32.tar.gz -> HTTP-Message-6.33.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/CONTRIBUTORS new/HTTP-Message-6.33/CONTRIBUTORS --- old/HTTP-Message-6.32/CONTRIBUTORS 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/CONTRIBUTORS 2021-06-28 18:52:13.000000000 +0200 @@ -52,6 +52,7 @@ * Mickey Nasriachi * Mike Schilli * murphy + * nanto_vi, TOYAMA Nao * Olaf Alders * Olivier Mengu�� * Ondrej Hanak diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/Changes new/HTTP-Message-6.33/Changes --- old/HTTP-Message-6.32/Changes 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/Changes 2021-06-28 18:52:13.000000000 +0200 @@ -1,5 +1,9 @@ Revision history for HTTP-Message +6.33 2021-06-28 16:51:58Z + - Allow `can` method to respond to delegated methods (GH#159) (nanto_vi, + TOYAMA Nao) + 6.32 2021-05-18 18:54:27Z - Use File::Spec for MSWin32 on Content-Disposition filename (GH#157) (tzccinct) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/INSTALL new/HTTP-Message-6.33/INSTALL --- old/HTTP-Message-6.32/INSTALL 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/INSTALL 2021-06-28 18:52:13.000000000 +0200 @@ -21,8 +21,11 @@ ## Manual installation -As a last resort, you can manually install it. Download the tarball, untar it, -install configure prerequisites (see below), then build it: +As a last resort, you can manually install it. If you have not already +downloaded the release tarball, you can find the download link on the module's +MetaCPAN page: https://metacpan.org/pod/HTTP::Message + +Untar the tarball, install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/MANIFEST new/HTTP-Message-6.33/MANIFEST --- old/HTTP-Message-6.32/MANIFEST 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/MANIFEST 2021-06-28 18:52:13.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.022. CONTRIBUTING.md CONTRIBUTORS Changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/META.json new/HTTP-Message-6.33/META.json --- old/HTTP-Message-6.32/META.json 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/META.json 2021-06-28 18:52:13.000000000 +0200 @@ -4,7 +4,7 @@ "Gisle Aas <gisle@activestate.com>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.022, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -108,7 +108,7 @@ "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:libwww@perl.org" }, - "version" : "6.32", + "version" : "6.33", "x_Dist_Zilla" : { "perl" : { "version" : "5.030002" @@ -117,7 +117,7 @@ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -128,7 +128,7 @@ } }, "name" : "Prereqs", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -170,7 +170,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::OALDERS/AutoPrereqs", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", @@ -185,12 +185,12 @@ } }, "name" : "@Author::OALDERS/MakeMaker", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::CPANFile", "name" : "@Author::OALDERS/CPANFile", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::ContributorsFile", @@ -200,53 +200,53 @@ { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::OALDERS/MetaJSON", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::OALDERS/MetaYAML", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::OALDERS/Manifest", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::OALDERS/MetaNoIndex", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::OALDERS/MetaConfig", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Author::OALDERS/MetaResources", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::OALDERS/License", - "version" : "6.017" + "version" : "6.022" }, { "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" + "version" : "1.200014" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::OALDERS/ExecDir", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::MojibakeTests", @@ -256,7 +256,7 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::OALDERS/PodSyntaxTests", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -281,7 +281,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::OALDERS/TestRelease", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", @@ -401,12 +401,12 @@ } }, "name" : "@Author::OALDERS/PodWeaver", - "version" : "4.008" + "version" : "4.009" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::OALDERS/PruneCruft", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", @@ -478,7 +478,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.32.0", "repo_root" : "." } }, @@ -489,7 +489,7 @@ "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.31.1", + "git_version" : "2.32.0", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -523,7 +523,7 @@ { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::OALDERS/ShareDir", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::CheckIssues", @@ -533,12 +533,12 @@ { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::OALDERS/ConfirmRelease", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::OALDERS/UploadToCPAN", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -598,7 +598,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.32.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -615,12 +615,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v6.32", + "tag" : "v6.33", "tag_format" : "v%V", "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.32.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -649,7 +649,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::OALDERS/@Git::VersionManager/NextRelease", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -671,7 +671,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.32.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -691,7 +691,7 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.31.1", + "git_version" : "2.32.0", "repo_root" : "." } }, @@ -751,52 +751,52 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.017" + "version" : "6.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.017" + "version" : "6.022" } ], "zilla" : { @@ -804,7 +804,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.017" + "version" : "6.022" } }, "x_contributors" : [ @@ -854,6 +854,7 @@ "Mickey Nasriachi <mickey@cpan.org>", "Mike Schilli <github@perlmeister.com>", "murphy <murphy@genome.chop.edu>", + "nanto_vi, TOYAMA Nao <nanto@moon.email.ne.jp>", "Olaf Alders <olaf@wundersolutions.com>", "Olivier Mengu\u00e9 <dolmen@cpan.org>", "Ondrej Hanak <ondrej.hanak@ubs.com>", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/META.yml new/HTTP-Message-6.33/META.yml --- old/HTTP-Message-6.32/META.yml 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/META.yml 2021-06-28 18:52:13.000000000 +0200 @@ -18,7 +18,7 @@ ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.022, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -59,7 +59,7 @@ bugtracker: https://github.com/libwww-perl/HTTP-Message/issues homepage: https://github.com/libwww-perl/HTTP-Message repository: https://github.com/libwww-perl/HTTP-Message.git -version: '6.32' +version: '6.33' x_Dist_Zilla: perl: version: '5.030002' @@ -67,7 +67,7 @@ - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::Prereqs config: @@ -75,7 +75,7 @@ phase: runtime type: requires name: Prereqs - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -108,7 +108,7 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::OALDERS/AutoPrereqs' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@Author::OALDERS/CheckChangesHasContent' @@ -119,11 +119,11 @@ Dist::Zilla::Role::TestRunner: default_jobs: '4' name: '@Author::OALDERS/MakeMaker' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::CPANFile name: '@Author::OALDERS/CPANFile' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::ContributorsFile name: '@Author::OALDERS/ContributorsFile' @@ -131,43 +131,43 @@ - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::OALDERS/MetaJSON' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::OALDERS/MetaYAML' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::Manifest name: '@Author::OALDERS/Manifest' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::OALDERS/MetaNoIndex' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::OALDERS/MetaConfig' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::MetaResources name: '@Author::OALDERS/MetaResources' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::License name: '@Author::OALDERS/License' - version: '6.017' + version: '6.022' - 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' + version: '1.200014' - class: Dist::Zilla::Plugin::ExecDir name: '@Author::OALDERS/ExecDir' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::MojibakeTests name: '@Author::OALDERS/MojibakeTests' @@ -175,7 +175,7 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::OALDERS/PodSyntaxTests' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: @@ -193,7 +193,7 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@Author::OALDERS/TestRelease' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@Author::OALDERS/Test::ReportPrereqs' @@ -286,11 +286,11 @@ name: '@Default/Legal' version: '4.015' name: '@Author::OALDERS/PodWeaver' - version: '4.008' + version: '4.009' - class: Dist::Zilla::Plugin::PruneCruft name: '@Author::OALDERS/PruneCruft' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::CopyFilesFromBuild name: '@Author::OALDERS/CopyFilesFromBuild' @@ -347,7 +347,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.32.0 repo_root: . name: '@Author::OALDERS/Git::Check' version: '2.047' @@ -355,7 +355,7 @@ class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.31.1 + git_version: 2.32.0 include_authors: 0 include_releaser: 1 order_by: name @@ -380,7 +380,7 @@ - class: Dist::Zilla::Plugin::ShareDir name: '@Author::OALDERS/ShareDir' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::CheckIssues name: '@Author::OALDERS/CheckIssues' @@ -388,11 +388,11 @@ - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::OALDERS/ConfirmRelease' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::OALDERS/UploadToCPAN' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -439,7 +439,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.32.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -452,11 +452,11 @@ branch: ~ changelog: Changes signed: 0 - tag: v6.32 + tag: v6.33 tag_format: v%V tag_message: v%V Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.32.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -477,7 +477,7 @@ - class: Dist::Zilla::Plugin::NextRelease name: '@Author::OALDERS/@Git::VersionManager/NextRelease' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -494,7 +494,7 @@ - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.32.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -508,7 +508,7 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.31.1 + git_version: 2.32.0 repo_root: . name: '@Author::OALDERS/Git::Push' version: '2.047' @@ -553,48 +553,48 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.017' + version: '6.022' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.017' + version: '6.022' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.017' + version: '6.022' x_contributors: - 'Adam Kennedy <adamk@cpan.org>' - 'Adam Sjogren <asjo@koldfront.dk>' @@ -642,6 +642,7 @@ - 'Mickey Nasriachi <mickey@cpan.org>' - 'Mike Schilli <github@perlmeister.com>' - 'murphy <murphy@genome.chop.edu>' + - 'nanto_vi, TOYAMA Nao <nanto@moon.email.ne.jp>' - 'Olaf Alders <olaf@wundersolutions.com>' - 'Olivier Mengu�� <dolmen@cpan.org>' - 'Ondrej Hanak <ondrej.hanak@ubs.com>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/Makefile.PL new/HTTP-Message-6.33/Makefile.PL --- old/HTTP-Message-6.32/Makefile.PL 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/Makefile.PL 2021-06-28 18:52:13.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.017. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.022. use strict; use warnings; @@ -52,7 +52,7 @@ "lib" => 0, "overload" => 0 }, - "VERSION" => "6.32", + "VERSION" => "6.33", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/README.md new/HTTP-Message-6.33/README.md --- old/HTTP-Message-6.32/README.md 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/README.md 2021-06-28 18:52:13.000000000 +0200 @@ -4,7 +4,7 @@ # VERSION -version 6.32 +version 6.33 # SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/cpanfile new/HTTP-Message-6.33/cpanfile --- old/HTTP-Message-6.32/cpanfile 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/cpanfile 2021-06-28 18:52:13.000000000 +0200 @@ -1,4 +1,4 @@ -# This file is generated by Dist::Zilla::Plugin::CPANFile v6.017 +# This file is generated by Dist::Zilla::Plugin::CPANFile v6.022 # Do not edit this file directly. To change prereqs, edit the `dist.ini` file. requires "Carp" => "0"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Config.pm new/HTTP-Message-6.33/lib/HTTP/Config.pm --- old/HTTP-Message-6.32/lib/HTTP/Config.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Config.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; use URI; @@ -249,7 +249,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Headers/Auth.pm new/HTTP-Message-6.33/lib/HTTP/Headers/Auth.pm --- old/HTTP-Message-6.32/lib/HTTP/Headers/Auth.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Headers/Auth.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; use HTTP::Headers; @@ -111,7 +111,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Headers/ETag.pm new/HTTP-Message-6.33/lib/HTTP/Headers/ETag.pm --- old/HTTP-Message-6.32/lib/HTTP/Headers/ETag.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Headers/ETag.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; require HTTP::Date; @@ -107,7 +107,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Headers/Util.pm new/HTTP-Message-6.33/lib/HTTP/Headers/Util.pm --- old/HTTP-Message-6.32/lib/HTTP/Headers/Util.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Headers/Util.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; use Exporter 5.57 'import'; @@ -103,7 +103,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Headers.pm new/HTTP-Message-6.33/lib/HTTP/Headers.pm --- old/HTTP-Message-6.32/lib/HTTP/Headers.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Headers.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; use Carp (); @@ -475,7 +475,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Message.pm new/HTTP-Message-6.33/lib/HTTP/Message.pm --- old/HTTP-Message-6.32/lib/HTTP/Message.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Message.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; require HTTP::Headers; require Carp; @@ -640,23 +640,42 @@ } } - # delegate all other method calls to the headers object. our $AUTOLOAD; -sub AUTOLOAD -{ - my $method = substr($AUTOLOAD, rindex($AUTOLOAD, '::')+2); - - # We create the function here so that it will not need to be - # autoloaded the next time. - no strict 'refs'; - *$method = sub { local $Carp::Internal{+__PACKAGE__} = 1; shift->headers->$method(@_) }; - goto &$method; -} +sub AUTOLOAD { + my ( $package, $method ) = $AUTOLOAD =~ m/\A(.+)::([^:]*)\z/; + my $code = $_[0]->can($method); + Carp::croak( + qq(Can't locate object method "$method" via package "$package")) + unless $code; + goto &$code; +} + +sub can { + my ( $self, $method ) = @_; + + if ( my $own_method = $self->SUPER::can($method) ) { + return $own_method; + } + + my $headers = ref($self) ? $self->headers : 'HTTP::Headers'; + if ( $headers->can($method) ) { + + # We create the function here so that it will not need to be + # autoloaded or recreated the next time. + no strict 'refs'; + *$method = sub { + local $Carp::Internal{ +__PACKAGE__ } = 1; + shift->headers->$method(@_); + }; + return \&$method; + } -sub DESTROY {} # avoid AUTOLOADing it + return undef; +} +sub DESTROY { } # avoid AUTOLOADing it # Private method to access members in %$self sub _elem @@ -782,7 +801,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Request/Common.pm new/HTTP-Message-6.33/lib/HTTP/Request/Common.pm --- old/HTTP-Message-6.32/lib/HTTP/Request/Common.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Request/Common.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; our $DYNAMIC_FILE_UPLOAD ||= 0; # make it defined (don't know why) @@ -314,7 +314,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Request.pm new/HTTP-Message-6.33/lib/HTTP/Request.pm --- old/HTTP-Message-6.32/lib/HTTP/Request.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Request.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; use base 'HTTP::Message'; @@ -155,7 +155,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Response.pm new/HTTP-Message-6.33/lib/HTTP/Response.pm --- old/HTTP-Message-6.32/lib/HTTP/Response.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Response.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; use base 'HTTP::Message'; @@ -351,7 +351,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/lib/HTTP/Status.pm new/HTTP-Message-6.33/lib/HTTP/Status.pm --- old/HTTP-Message-6.32/lib/HTTP/Status.pm 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/lib/HTTP/Status.pm 2021-06-28 18:52:13.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.32'; +our $VERSION = '6.33'; use Exporter 5.57 'import'; @@ -174,7 +174,7 @@ =head1 VERSION -version 6.32 +version 6.33 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/t/message.t new/HTTP-Message-6.33/t/message.t --- old/HTTP-Message-6.32/t/message.t 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/t/message.t 2021-06-28 18:52:13.000000000 +0200 @@ -5,7 +5,7 @@ use Test::More; -plan tests => 195; +plan tests => 208; require HTTP::Message; use Config qw(%Config); @@ -604,3 +604,24 @@ is($@, 'pre-existing error', 'decodable() does not overwrite $@'); } +$m = HTTP::Message->new(["User-Agent" => "Mozilla/5.0", "Referer" => "https://example.com/"]); +ok($m->can('content')); +my $method = $m->can('user_agent'); +is(ref($method), 'CODE'); +is(HTTP::Message->can('user_agent'), $method); +is($m->$method, "Mozilla/5.0"); + +ok(HTTP::Message->can('content')); +$method = HTTP::Message->can('referrer'); +is(ref($method), 'CODE'); +is($m->can('referrer'), $method); +is($m->$method, "https://example.com/"); + +eval { $m->unknown_method; }; +like $@, qr/Can't locate object method "unknown_method" via package "HTTP::Message"/; +is($m->can('unknown_method'), undef); +eval { HTTP::Message->unknown_method; }; +like $@, qr/Can't locate object method "unknown_method" via package "HTTP::Message"/; +is(HTTP::Message->can('unknown_method'), undef); +eval { my $empty = ""; $m->$empty; }; +like $@, qr/Can't locate object method "" via package "HTTP::Message"/; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.32/xt/release/changes_has_content.t new/HTTP-Message-6.33/xt/release/changes_has_content.t --- old/HTTP-Message-6.32/xt/release/changes_has_content.t 2021-05-18 20:54:40.000000000 +0200 +++ new/HTTP-Message-6.33/xt/release/changes_has_content.t 2021-06-28 18:52:13.000000000 +0200 @@ -8,7 +8,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '6.32'; +my $newver = '6.33'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8';
participants (1)
-
Source-Sync