Hello community,

here is the log from the commit of package perl-HTTP-Tiny for openSUSE:Factory 
checked in at 2018-08-31 10:44:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Tiny (Old)
 and      /work/SRC/openSUSE:Factory/.perl-HTTP-Tiny.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-HTTP-Tiny"

Fri Aug 31 10:44:12 2018 rev:13 rq:631782 version:0.076

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTTP-Tiny/perl-HTTP-Tiny.changes    
2016-10-13 11:32:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-HTTP-Tiny.new/perl-HTTP-Tiny.changes       
2018-08-31 10:44:39.283217646 +0200
@@ -1,0 +2,46 @@
+Sat Aug 25 05:28:16 UTC 2018 - co...@suse.com
+
+- updated to 0.076
+   see /usr/share/doc/packages/perl-HTTP-Tiny/Changes
+
+  0.076     2018-08-05 21:07:38-04:00 America/New_York
+  
+      - No changes from 0.075-TRIAL.
+  
+  0.075     2018-08-01 07:03:36-04:00 America/New_York (TRIAL RELEASE)
+  
+      [CHANGED]
+  
+      - The 'peer' option now also can take a code reference
+
+-------------------------------------------------------------------
+Tue Jul 31 05:27:07 UTC 2018 - co...@suse.com
+
+- updated to 0.074
+   see /usr/share/doc/packages/perl-HTTP-Tiny/Changes
+
+  0.074     2018-07-30 15:35:44-04:00 America/New_York
+  
+      - No changes from 0.073-TRIAL.
+  
+  0.073     2018-07-24 11:33:53-04:00 America/New_York (TRIAL RELEASE)
+  
+      0.071 never made it to CPAN; skipping to 0.073
+  
+      [DOCS]
+  
+      - Documented 'protocol' field in response hash.
+  
+  0.071     2018-04-22 14:45:43+02:00 Europe/Oslo (TRIAL RELEASE)
+  
+      [DOCS]
+  
+      - Documented that method argument to request() is case-sensitive.
+  
+      [INTERNAL]
+  
+      - Minor regex cleanup
+  
+      - Updated .travis.yml for recent Perls
+
+-------------------------------------------------------------------

Old:
----
  HTTP-Tiny-0.070.tar.gz

New:
----
  HTTP-Tiny-0.076.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-HTTP-Tiny.spec ++++++
--- /var/tmp/diff_new_pack.EyCRz3/_old  2018-08-31 10:44:40.087218610 +0200
+++ /var/tmp/diff_new_pack.EyCRz3/_new  2018-08-31 10:44:40.091218615 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-HTTP-Tiny
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
 
 
 Name:           perl-HTTP-Tiny
-Version:        0.070
+Version:        0.076
 Release:        0
 %define cpan_name HTTP-Tiny
 Summary:        Small, Simple, Correct Http/1.1 Client
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/HTTP-Tiny/
-Source0:        
http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -69,6 +69,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes CONTRIBUTING.mkdn LICENSE README
+%doc Changes CONTRIBUTING.mkdn README
+%license LICENSE
 
 %changelog

++++++ HTTP-Tiny-0.070.tar.gz -> HTTP-Tiny-0.076.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/Changes new/HTTP-Tiny-0.076/Changes
--- old/HTTP-Tiny-0.070/Changes 2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/Changes 2018-08-06 03:07:55.000000000 +0200
@@ -1,5 +1,39 @@
 Release notes for HTTP-Tiny
 
+0.076     2018-08-05 21:07:38-04:00 America/New_York
+
+    - No changes from 0.075-TRIAL.
+
+0.075     2018-08-01 07:03:36-04:00 America/New_York (TRIAL RELEASE)
+
+    [CHANGED]
+
+    - The 'peer' option now also can take a code reference
+
+0.074     2018-07-30 15:35:44-04:00 America/New_York
+
+    - No changes from 0.073-TRIAL.
+
+0.073     2018-07-24 11:33:53-04:00 America/New_York (TRIAL RELEASE)
+
+    0.071 never made it to CPAN; skipping to 0.073
+
+    [DOCS]
+
+    - Documented 'protocol' field in response hash.
+
+0.071     2018-04-22 14:45:43+02:00 Europe/Oslo (TRIAL RELEASE)
+
+    [DOCS]
+
+    - Documented that method argument to request() is case-sensitive.
+
+    [INTERNAL]
+
+    - Minor regex cleanup
+
+    - Updated .travis.yml for recent Perls
+
 0.070     2016-10-09 23:23:28-04:00 America/New_York
 
     - No changes from 0.069-TRIAL.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/LICENSE new/HTTP-Tiny-0.076/LICENSE
--- old/HTTP-Tiny-0.070/LICENSE 2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/LICENSE 2018-08-06 03:07:55.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2016 by Christian Hansen.
+This software is copyright (c) 2018 by Christian Hansen.
 
 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) 2016 by Christian Hansen.
+This software is Copyright (c) 2018 by Christian Hansen.
 
 This is free software, licensed under:
 
@@ -272,7 +272,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2016 by Christian Hansen.
+This software is Copyright (c) 2018 by Christian Hansen.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/MANIFEST new/HTTP-Tiny-0.076/MANIFEST
--- old/HTTP-Tiny-0.070/MANIFEST        2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/MANIFEST        2018-08-06 03:07:55.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.008.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.012.
 CONTRIBUTING.mkdn
 Changes
 LICENSE
@@ -118,10 +118,10 @@
 t/Util.pm
 xt/author/00-compile.t
 xt/author/critic.t
+xt/author/minimum-version.t
 xt/author/pod-coverage.t
 xt/author/pod-spell.t
 xt/author/pod-syntax.t
 xt/author/portability.t
 xt/author/test-version.t
 xt/release/distmeta.t
-xt/release/minimum-version.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/META.json 
new/HTTP-Tiny-0.076/META.json
--- old/HTTP-Tiny-0.070/META.json       2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/META.json       2018-08-06 03:07:55.000000000 +0200
@@ -5,7 +5,7 @@
       "David Golden <dagol...@cpan.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 6.008, CPAN::Meta::Converter version 
2.150010",
+   "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010",
    "license" : [
       "perl_5"
    ],
@@ -42,7 +42,6 @@
             "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" : "0",
             "Dist::Zilla::Plugin::RemovePrereqs" : "0",
             "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072",
-            "English" : "0",
             "File::Spec" : "0",
             "File::Temp" : "0",
             "IO::Handle" : "0",
@@ -52,13 +51,14 @@
             "Pod::Wordlist" : "0",
             "Software::License::Perl_5" : "0",
             "Test::CPAN::Meta" : "0",
+            "Test::MinimumVersion" : "0",
             "Test::More" : "0",
+            "Test::Perl::Critic" : "0",
             "Test::Pod" : "1.41",
             "Test::Pod::Coverage" : "1.08",
             "Test::Portability::Files" : "0",
             "Test::Spelling" : "0.12",
             "Test::Version" : "1",
-            "blib" : "1.01",
             "perl" : "5.006"
          }
       },
@@ -111,7 +111,7 @@
    "provides" : {
       "HTTP::Tiny" : {
          "file" : "lib/HTTP/Tiny.pm",
-         "version" : "0.070"
+         "version" : "0.076"
       }
    },
    "release_status" : "stable",
@@ -126,7 +126,7 @@
          "web" : "https://github.com/chansen/p5-http-tiny";
       }
    },
-   "version" : "0.070",
+   "version" : "0.076",
    "x_authority" : "cpan:DAGOLDEN",
    "x_contributors" : [
       "Alan Gardner <gard...@pythian.com>",
@@ -139,9 +139,12 @@
       "Claes Jakobsson <cl...@surfar.nu>",
       "Clinton Gormley <cl...@traveljury.com>",
       "Craig A. Berry <craigbe...@mac.com>",
+      "Craig Berry <cbe...@cpan.org>",
       "David Golden <x...@xdg.me>",
+      "David Mitchell <da...@iabyn.com>",
       "Dean Pearce <pea...@pythian.com>",
       "Edward Zborowski <e...@rubensteintech.com>",
+      "Felipe Gasper <fel...@felipegasper.com>",
       "James Raspass <jrasp...@gmail.com>",
       "Jeremy Mates <jma...@cpan.org>",
       "Jess Robinson <casta...@desert-island.me.uk>",
@@ -154,6 +157,8 @@
       "Olaf Alders <o...@wundersolutions.com>",
       "Olivier Mengu\u00e9 <dol...@cpan.org>",
       "Petr P\u00edsa\u0159 <ppi...@redhat.com>",
+      "Serguei Trouchelle <s...@cpan.org>",
+      "Shoichi Kaji <sk...@cpan.org>",
       "SkyMarshal <skymarshal1...@gmail.com>",
       "S\u00f6ren Kornetzki <soeren.kornet...@delti.com>",
       "Steve Grazzini <steve.grazz...@grantstreet.com>",
@@ -162,6 +167,7 @@
       "Tom Hukins <t...@eborcom.com>",
       "Tony Cook <t...@develop-help.com>"
    ],
-   "x_serialization_backend" : "Cpanel::JSON::XS version 3.0213"
+   "x_generated_by_perl" : "v5.28.0",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.04"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/META.yml new/HTTP-Tiny-0.076/META.yml
--- old/HTTP-Tiny-0.070/META.yml        2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/META.yml        2018-08-06 03:07:55.000000000 +0200
@@ -22,7 +22,7 @@
   ExtUtils::MakeMaker: '6.17'
   perl: '5.006'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.008, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -39,7 +39,7 @@
 provides:
   HTTP::Tiny:
     file: lib/HTTP/Tiny.pm
-    version: '0.070'
+    version: '0.076'
 recommends:
   HTTP::CookieJar: '0.001'
   IO::Socket::IP: '0.32'
@@ -61,7 +61,7 @@
   bugtracker: https://github.com/chansen/p5-http-tiny/issues
   homepage: https://github.com/chansen/p5-http-tiny
   repository: https://github.com/chansen/p5-http-tiny.git
-version: '0.070'
+version: '0.076'
 x_authority: cpan:DAGOLDEN
 x_contributors:
   - 'Alan Gardner <gard...@pythian.com>'
@@ -74,9 +74,12 @@
   - 'Claes Jakobsson <cl...@surfar.nu>'
   - 'Clinton Gormley <cl...@traveljury.com>'
   - 'Craig A. Berry <craigbe...@mac.com>'
+  - 'Craig Berry <cbe...@cpan.org>'
   - 'David Golden <x...@xdg.me>'
+  - 'David Mitchell <da...@iabyn.com>'
   - 'Dean Pearce <pea...@pythian.com>'
   - 'Edward Zborowski <e...@rubensteintech.com>'
+  - 'Felipe Gasper <fel...@felipegasper.com>'
   - 'James Raspass <jrasp...@gmail.com>'
   - 'Jeremy Mates <jma...@cpan.org>'
   - 'Jess Robinson <casta...@desert-island.me.uk>'
@@ -89,6 +92,8 @@
   - 'Olaf Alders <o...@wundersolutions.com>'
   - 'Olivier Mengué <dol...@cpan.org>'
   - 'Petr Písař <ppi...@redhat.com>'
+  - 'Serguei Trouchelle <s...@cpan.org>'
+  - 'Shoichi Kaji <sk...@cpan.org>'
   - 'SkyMarshal <skymarshal1...@gmail.com>'
   - 'Sören Kornetzki <soeren.kornet...@delti.com>'
   - 'Steve Grazzini <steve.grazz...@grantstreet.com>'
@@ -96,4 +101,5 @@
   - 'Tatsuhiko Miyagawa <miyag...@bulknews.net>'
   - 'Tom Hukins <t...@eborcom.com>'
   - 'Tony Cook <t...@develop-help.com>'
-x_serialization_backend: 'YAML::Tiny version 1.69'
+x_generated_by_perl: v5.28.0
+x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/Makefile.PL 
new/HTTP-Tiny-0.076/Makefile.PL
--- old/HTTP-Tiny-0.070/Makefile.PL     2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/Makefile.PL     2018-08-06 03:07:55.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.008.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.012.
 use strict;
 use warnings;
 
@@ -42,7 +42,7 @@
     "lib" => 0,
     "open" => 0
   },
-  "VERSION" => "0.070",
+  "VERSION" => "0.076",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/README new/HTTP-Tiny-0.076/README
--- old/HTTP-Tiny-0.070/README  2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/README  2018-08-06 03:07:55.000000000 +0200
@@ -2,7 +2,7 @@
     HTTP::Tiny - A small, simple, correct HTTP/1.1 client
 
 VERSION
-    version 0.070
+    version 0.076
 
 SYNOPSIS
         use HTTP::Tiny;
@@ -163,6 +163,10 @@
     'POST', 'PUT', etc.) on the given URL. The URL must have unsafe
     characters escaped and international domain names encoded.
 
+    NOTE: Method names are case-sensitive per the HTTP/1.1 specification.
+    Don't use "get" when you really want "GET". See LIMITATIONS for how this
+    applies to redirection.
+
     If the URL includes a "user:password" stanza, they will be used for
     Basic-style authorization headers. (Authorization headers will not be
     included in a redirected request.) For example:
@@ -198,7 +202,9 @@
         only to a specific peer address, regardless of the URL of the
         request. This will include any redirections! This options should be
         used with extreme caution (e.g. debugging or very special
-        circumstances).
+        circumstances). It can be given as either a scalar or a code
+        reference that will receive the hostname and whose response will be
+        taken as the address.
 
     The "Host" header is generated from the URL in accordance with RFC 2616.
     It is a fatal error to specify "Host" in the "headers" option. Other
@@ -242,6 +248,9 @@
         will be an arrayref; it will otherwise be a scalar string containing
         the value
 
+    *   "protocol" - If this field exists, it is the protocol of the
+        response such as HTTP/1.0 or HTTP/1.1
+
     *   "redirects" If this field exists, it is an arrayref of response hash
         references from redirects in the same order that redirections
         occurred. If it does not exist, then no redirections occurred.
@@ -515,12 +524,18 @@
 
     *   Craig A. Berry <craigbe...@mac.com>
 
+    *   Craig Berry <cbe...@cpan.org>
+
     *   David Golden <x...@xdg.me>
 
+    *   David Mitchell <da...@iabyn.com>
+
     *   Dean Pearce <pea...@pythian.com>
 
     *   Edward Zborowski <e...@rubensteintech.com>
 
+    *   Felipe Gasper <fel...@felipegasper.com>
+
     *   James Raspass <jrasp...@gmail.com>
 
     *   Jeremy Mates <jma...@cpan.org>
@@ -545,6 +560,10 @@
 
     *   Petr Písař <ppi...@redhat.com>
 
+    *   Serguei Trouchelle <s...@cpan.org>
+
+    *   Shoichi Kaji <sk...@cpan.org>
+
     *   SkyMarshal <skymarshal1...@gmail.com>
 
     *   Sören Kornetzki <soeren.kornet...@delti.com>
@@ -560,7 +579,7 @@
     *   Tony Cook <t...@develop-help.com>
 
 COPYRIGHT AND LICENSE
-    This software is copyright (c) 2016 by Christian Hansen.
+    This software is copyright (c) 2018 by Christian Hansen.
 
     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-Tiny-0.070/cpanfile new/HTTP-Tiny-0.076/cpanfile
--- old/HTTP-Tiny-0.070/cpanfile        2016-10-10 05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/cpanfile        2018-08-06 03:07:55.000000000 +0200
@@ -51,7 +51,6 @@
   requires "Dist::Zilla::Plugin::ReleaseStatus::FromVersion" => "0";
   requires "Dist::Zilla::Plugin::RemovePrereqs" => "0";
   requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072";
-  requires "English" => "0";
   requires "File::Spec" => "0";
   requires "File::Temp" => "0";
   requires "IO::Handle" => "0";
@@ -61,12 +60,13 @@
   requires "Pod::Wordlist" => "0";
   requires "Software::License::Perl_5" => "0";
   requires "Test::CPAN::Meta" => "0";
+  requires "Test::MinimumVersion" => "0";
   requires "Test::More" => "0";
+  requires "Test::Perl::Critic" => "0";
   requires "Test::Pod" => "1.41";
   requires "Test::Pod::Coverage" => "1.08";
   requires "Test::Portability::Files" => "0";
   requires "Test::Spelling" => "0.12";
   requires "Test::Version" => "1";
-  requires "blib" => "1.01";
   requires "perl" => "5.006";
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/lib/HTTP/Tiny.pm 
new/HTTP-Tiny-0.076/lib/HTTP/Tiny.pm
--- old/HTTP-Tiny-0.070/lib/HTTP/Tiny.pm        2016-10-10 05:23:48.000000000 
+0200
+++ new/HTTP-Tiny-0.076/lib/HTTP/Tiny.pm        2018-08-06 03:07:55.000000000 
+0200
@@ -4,7 +4,7 @@
 use warnings;
 # ABSTRACT: A small, simple, correct HTTP/1.1 client
 
-our $VERSION = '0.070';
+our $VERSION = '0.076';
 
 sub _croak { require Carp; Carp::croak(@_) }
 
@@ -327,6 +327,10 @@
 #pod 'PUT', etc.) on the given URL.  The URL must have unsafe characters 
escaped and
 #pod international domain names encoded.
 #pod
+#pod B<NOTE>: Method names are B<case-sensitive> per the HTTP/1.1 
specification.
+#pod Don't use C<get> when you really want C<GET>.  See L<LIMITATIONS> for
+#pod how this applies to redirection.
+#pod
 #pod If the URL includes a "user:password" stanza, they will be used for 
Basic-style
 #pod authorization headers.  (Authorization headers will not be included in a
 #pod redirected request.) For example:
@@ -360,7 +364,9 @@
 #pod     Override host resolution and force all connections to go only to a
 #pod     specific peer address, regardless of the URL of the request.  This 
will
 #pod     include any redirections!  This options should be used with extreme
-#pod     caution (e.g. debugging or very special circumstances).
+#pod     caution (e.g. debugging or very special circumstances). It can be 
given as
+#pod     either a scalar or a code reference that will receive the hostname and
+#pod     whose response will be taken as the address.
 #pod
 #pod The C<Host> header is generated from the URL in accordance with RFC 2616. 
 It
 #pod is a fatal error to specify C<Host> in the C<headers> option.  Other 
headers
@@ -402,6 +408,9 @@
 #pod     A hashref of header fields.  All header field names will be normalized
 #pod     to be lower case. If a header is repeated, the value will be an 
arrayref;
 #pod     it will otherwise be a scalar string containing the value
+#pod * C<protocol> -
+#pod     If this field exists, it is the protocol of the response
+#pod     such as HTTP/1.0 or HTTP/1.1
 #pod * C<redirects>
 #pod     If this field exists, it is an arrayref of response hash references 
from
 #pod     redirects in the same order that redirections occurred.  If it does
@@ -610,6 +619,11 @@
 
     my $peer = $args->{peer} || $host;
 
+    # Allow 'peer' to be a coderef.
+    if ('CODE' eq ref $peer) {
+        $peer = $peer->($host);
+    }
+
     # We remove the cached handle so it is not reused in the case of redirect.
     # If all is well, it will be recached at the end of _request.  We only
     # reuse for the same scheme, host and port
@@ -982,7 +996,7 @@
             if ( length $str == do { use bytes; length $str } );
         $str = pack("C*", unpack("C*", $str)); # clear UTF-8 flag
     }
-    $str =~ s/($unsafe_char)/$escapes{$1}/ge;
+    $str =~ s/($unsafe_char)/$escapes{$1}/g;
     return $str;
 }
 
@@ -1658,7 +1672,7 @@
 
 =head1 VERSION
 
-version 0.070
+version 0.076
 
 =head1 SYNOPSIS
 
@@ -1834,6 +1848,10 @@
 'PUT', etc.) on the given URL.  The URL must have unsafe characters escaped and
 international domain names encoded.
 
+B<NOTE>: Method names are B<case-sensitive> per the HTTP/1.1 specification.
+Don't use C<get> when you really want C<GET>.  See L<LIMITATIONS> for
+how this applies to redirection.
+
 If the URL includes a "user:password" stanza, they will be used for Basic-style
 authorization headers.  (Authorization headers will not be included in a
 redirected request.) For example:
@@ -1869,7 +1887,7 @@
 
 =item *
 
-C<peer> — Override host resolution and force all connections to go only to a 
specific peer address, regardless of the URL of the request.  This will include 
any redirections!  This options should be used with extreme caution (e.g. 
debugging or very special circumstances).
+C<peer> — Override host resolution and force all connections to go only to a 
specific peer address, regardless of the URL of the request.  This will include 
any redirections!  This options should be used with extreme caution (e.g. 
debugging or very special circumstances). It can be given as either a scalar or 
a code reference that will receive the hostname and whose response will be 
taken as the address.
 
 =back
 
@@ -1922,6 +1940,10 @@
 
 =item *
 
+C<protocol> - If this field exists, it is the protocol of the response such as 
HTTP/1.0 or HTTP/1.1
+
+=item *
+
 C<redirects> If this field exists, it is an arrayref of response hash 
references from redirects in the same order that redirections occurred.  If it 
does not exist, then no redirections occurred.
 
 =back
@@ -2281,7 +2303,7 @@
 
 =head1 CONTRIBUTORS
 
-=for stopwords Alan Gardner Alessandro Ghedini A. Sinan Unur Brad Gilbert 
brian m. carlson Chris Nehren Weyl Claes Jakobsson Clinton Gormley Craig Berry 
David Golden Dean Pearce Edward Zborowski James Raspass Jeremy Mates Jess 
Robinson Karen Etheridge Lukas Eklund Martin J. Evans Martin-Louis Bright Mike 
Doherty Nicolas Rochelemagne Olaf Alders Olivier Mengué Petr Písař SkyMarshal 
Sören Kornetzki Steve Grazzini Syohei YOSHIDA Tatsuhiko Miyagawa Tom Hukins 
Tony Cook
+=for stopwords Alan Gardner Alessandro Ghedini A. Sinan Unur Brad Gilbert 
brian m. carlson Chris Nehren Weyl Claes Jakobsson Clinton Gormley Craig Berry 
David Golden Mitchell Dean Pearce Edward Zborowski Felipe Gasper James Raspass 
Jeremy Mates Jess Robinson Karen Etheridge Lukas Eklund Martin J. Evans 
Martin-Louis Bright Mike Doherty Nicolas Rochelemagne Olaf Alders Olivier 
Mengué Petr Písař Serguei Trouchelle Shoichi Kaji SkyMarshal Sören Kornetzki 
Steve Grazzini Syohei YOSHIDA Tatsuhiko Miyagawa Tom Hukins Tony Cook
 
 =over 4
 
@@ -2327,10 +2349,18 @@
 
 =item *
 
+Craig Berry <cbe...@cpan.org>
+
+=item *
+
 David Golden <x...@xdg.me>
 
 =item *
 
+David Mitchell <da...@iabyn.com>
+
+=item *
+
 Dean Pearce <pea...@pythian.com>
 
 =item *
@@ -2339,6 +2369,10 @@
 
 =item *
 
+Felipe Gasper <fel...@felipegasper.com>
+
+=item *
+
 James Raspass <jrasp...@gmail.com>
 
 =item *
@@ -2387,6 +2421,14 @@
 
 =item *
 
+Serguei Trouchelle <s...@cpan.org>
+
+=item *
+
+Shoichi Kaji <sk...@cpan.org>
+
+=item *
+
 SkyMarshal <skymarshal1...@gmail.com>
 
 =item *
@@ -2417,7 +2459,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is copyright (c) 2016 by Christian Hansen.
+This software is copyright (c) 2018 by Christian Hansen.
 
 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-Tiny-0.070/t/00-report-prereqs.dd 
new/HTTP-Tiny-0.076/t/00-report-prereqs.dd
--- old/HTTP-Tiny-0.070/t/00-report-prereqs.dd  2016-10-10 05:23:48.000000000 
+0200
+++ new/HTTP-Tiny-0.076/t/00-report-prereqs.dd  2018-08-06 03:07:55.000000000 
+0200
@@ -9,40 +9,40 @@
                                       }
                       },
        'develop' => {
-                    'requires' => {
-                                  'Dist::Zilla' => '5',
-                                  'Dist::Zilla::Plugin::Prereqs' => '0',
-                                  
'Dist::Zilla::Plugin::ReleaseStatus::FromVersion' => '0',
-                                  'Dist::Zilla::Plugin::RemovePrereqs' => '0',
-                                  'Dist::Zilla::PluginBundle::DAGOLDEN' => 
'0.072',
-                                  'English' => '0',
-                                  'File::Spec' => '0',
-                                  'File::Temp' => '0',
-                                  'IO::Handle' => '0',
-                                  'IPC::Open3' => '0',
-                                  
'Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire' => '0',
-                                  'Pod::Coverage::TrustPod' => '0',
-                                  'Pod::Wordlist' => '0',
-                                  'Software::License::Perl_5' => '0',
-                                  'Test::CPAN::Meta' => '0',
-                                  'Test::More' => '0',
-                                  'Test::Pod' => '1.41',
-                                  'Test::Pod::Coverage' => '1.08',
-                                  'Test::Portability::Files' => '0',
-                                  'Test::Spelling' => '0.12',
-                                  'Test::Version' => '1',
-                                  'blib' => '1.01',
-                                  'perl' => '5.006'
-                                }
-                  },
+                      'requires' => {
+                                      'Dist::Zilla' => '5',
+                                      'Dist::Zilla::Plugin::Prereqs' => '0',
+                                      
'Dist::Zilla::Plugin::ReleaseStatus::FromVersion' => '0',
+                                      'Dist::Zilla::Plugin::RemovePrereqs' => 
'0',
+                                      'Dist::Zilla::PluginBundle::DAGOLDEN' => 
'0.072',
+                                      'File::Spec' => '0',
+                                      'File::Temp' => '0',
+                                      'IO::Handle' => '0',
+                                      'IPC::Open3' => '0',
+                                      
'Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire' => '0',
+                                      'Pod::Coverage::TrustPod' => '0',
+                                      'Pod::Wordlist' => '0',
+                                      'Software::License::Perl_5' => '0',
+                                      'Test::CPAN::Meta' => '0',
+                                      'Test::MinimumVersion' => '0',
+                                      'Test::More' => '0',
+                                      'Test::Perl::Critic' => '0',
+                                      'Test::Pod' => '1.41',
+                                      'Test::Pod::Coverage' => '1.08',
+                                      'Test::Portability::Files' => '0',
+                                      'Test::Spelling' => '0.12',
+                                      'Test::Version' => '1',
+                                      'perl' => '5.006'
+                                    }
+                    },
        'runtime' => {
                       'recommends' => {
-                                      'HTTP::CookieJar' => '0.001',
-                                      'IO::Socket::IP' => '0.32',
-                                      'IO::Socket::SSL' => '1.42',
-                                      'Mozilla::CA' => '20160104',
-                                      'Net::SSLeay' => '1.49'
-                                    },
+                                        'HTTP::CookieJar' => '0.001',
+                                        'IO::Socket::IP' => '0.32',
+                                        'IO::Socket::SSL' => '1.42',
+                                        'Mozilla::CA' => '20160104',
+                                        'Net::SSLeay' => '1.49'
+                                      },
                       'requires' => {
                                       'Carp' => '0',
                                       'Fcntl' => '0',
@@ -56,8 +56,8 @@
                                       'warnings' => '0'
                                     },
                       'suggests' => {
-                                    'IO::Socket::SSL' => '1.56'
-                                  }
+                                      'IO::Socket::SSL' => '1.56'
+                                    }
                     },
        'test' => {
                    'recommends' => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/t/00-report-prereqs.t 
new/HTTP-Tiny-0.076/t/00-report-prereqs.t
--- old/HTTP-Tiny-0.070/t/00-report-prereqs.t   2016-10-10 05:23:48.000000000 
+0200
+++ new/HTTP-Tiny-0.076/t/00-report-prereqs.t   2018-08-06 03:07:55.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.025
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
 
 use Test::More tests => 1;
 
@@ -68,7 +68,7 @@
 );
 
 # Add static prereqs to the included modules list
-my $static_prereqs = do 't/00-report-prereqs.dd';
+my $static_prereqs = do './t/00-report-prereqs.dd';
 
 # Merge all prereqs (either with ::Prereqs or a hashref)
 my $full_prereqs = _merge_prereqs(
@@ -78,12 +78,14 @@
 
 # Add dynamic prereqs to the included modules list (if we can)
 my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+my $cpan_meta_error;
 if ( $source && $HAS_CPAN_META
     && (my $meta = eval { CPAN::Meta->load_file($source) } )
 ) {
     $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
 }
 else {
+    $cpan_meta_error = $@;    # capture error from 
CPAN::Meta->load_file($source)
     $source = 'static metadata';
 }
 
@@ -169,10 +171,18 @@
     diag "\nVersions for all modules listed in $source (including optional 
ones):\n\n", @full_reports;
 }
 
+if ( $cpan_meta_error || @dep_errors ) {
+    diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING 
WARNING ***\n";
+}
+
+if ( $cpan_meta_error ) {
+    my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+    diag "\nCPAN::Meta->load_file('$orig_source') failed with: 
$cpan_meta_error\n";
+}
+
 if ( @dep_errors ) {
     diag join("\n",
-        "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 
***\n",
-        "The following REQUIRED prerequisites were not satisfied:\n",
+        "\nThe following REQUIRED prerequisites were not satisfied:\n",
         @dep_errors,
         "\n"
     );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/xt/author/00-compile.t 
new/HTTP-Tiny-0.076/xt/author/00-compile.t
--- old/HTTP-Tiny-0.070/xt/author/00-compile.t  2016-10-10 05:23:48.000000000 
+0200
+++ new/HTTP-Tiny-0.076/xt/author/00-compile.t  2018-08-06 03:07:55.000000000 
+0200
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058
 
 use Test::More;
 
@@ -19,7 +19,9 @@
 local $ENV{HOME} = File::Temp::tempdir( CLEANUP => 1 );
 
 
-my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib';
+my @switches = (
+    -d 'blib' ? '-Mblib' : '-Ilib',
+);
 
 use File::Spec;
 use IPC::Open3;
@@ -33,14 +35,18 @@
     # see L<perlfaq8/How can I capture STDERR from an external command?>
     my $stderr = IO::Handle->new;
 
-    my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', 
"require q[$lib]");
+    diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . 
$str . q{'} }
+            $^X, @switches, '-e', "require q[$lib]"))
+        if $ENV{PERL_COMPILE_TEST_DEBUG};
+
+    my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', 
"require q[$lib]");
     binmode $stderr, ':crlf' if $^O eq 'MSWin32';
     my @_warnings = <$stderr>;
     waitpid($pid, 0);
     is($?, 0, "$lib loaded ok");
 
     shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/
-        and not eval { require blib; blib->VERSION('1.01') };
+        and not eval { +require blib; blib->VERSION('1.01') };
 
     if (@_warnings)
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/xt/author/critic.t 
new/HTTP-Tiny-0.076/xt/author/critic.t
--- old/HTTP-Tiny-0.070/xt/author/critic.t      2016-10-10 05:23:48.000000000 
+0200
+++ new/HTTP-Tiny-0.076/xt/author/critic.t      2018-08-06 03:07:55.000000000 
+0200
@@ -3,10 +3,5 @@
 use strict;
 use warnings;
 
-use Test::More;
-use English qw(-no_match_vars);
-
-eval "use Test::Perl::Critic";
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e 
"perlcritic.rc";
+use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
 all_critic_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/xt/author/minimum-version.t 
new/HTTP-Tiny-0.076/xt/author/minimum-version.t
--- old/HTTP-Tiny-0.070/xt/author/minimum-version.t     1970-01-01 
01:00:00.000000000 +0100
+++ new/HTTP-Tiny-0.076/xt/author/minimum-version.t     2018-08-06 
03:07:55.000000000 +0200
@@ -0,0 +1,6 @@
+#!perl
+
+use Test::More;
+
+use Test::MinimumVersion;
+all_minimum_version_ok( qq{5.010} );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/xt/author/pod-spell.t 
new/HTTP-Tiny-0.076/xt/author/pod-spell.t
--- old/HTTP-Tiny-0.070/xt/author/pod-spell.t   2016-10-10 05:23:48.000000000 
+0200
+++ new/HTTP-Tiny-0.076/xt/author/pod-spell.t   2018-08-06 03:07:55.000000000 
+0200
@@ -2,7 +2,7 @@
 use warnings;
 use Test::More;
 
-# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007003
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005
 use Test::Spelling 0.12;
 use Pod::Wordlist;
 
@@ -31,7 +31,9 @@
 Eklund
 Etheridge
 Evans
+Felipe
 Gardner
+Gasper
 Ghedini
 Gilbert
 Golden
@@ -44,6 +46,7 @@
 James
 Jeremy
 Jess
+Kaji
 Karen
 Kornetzki
 Lukas
@@ -51,6 +54,7 @@
 Mates
 Mengué
 Mike
+Mitchell
 Miyagawa
 Nehren
 Nicolas
@@ -62,6 +66,8 @@
 Raspass
 Robinson
 Rochelemagne
+Serguei
+Shoichi
 Sinan
 SkyMarshal
 Steve
@@ -71,6 +77,7 @@
 Tiny
 Tom
 Tony
+Trouchelle
 UA
 Unur
 Weyl
@@ -82,16 +89,19 @@
 brian
 carlson
 castaway
+cberry
 chansen
 claes
 clint
 craigberry
 cweyl
 dagolden
+davem
 doherty
 dolmen
 ed
 ether
+felipe
 gardner
 jmates
 jraspass
@@ -107,9 +117,11 @@
 proxying
 rochelemagne
 sandals
+skaji
 skymarshal1729
 soeren
 steve
+stro
 syohex
 tom
 tony
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Tiny-0.070/xt/release/minimum-version.t 
new/HTTP-Tiny-0.076/xt/release/minimum-version.t
--- old/HTTP-Tiny-0.070/xt/release/minimum-version.t    2016-10-10 
05:23:48.000000000 +0200
+++ new/HTTP-Tiny-0.076/xt/release/minimum-version.t    1970-01-01 
01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!perl
-
-use Test::More;
-
-eval "use Test::MinimumVersion";
-plan skip_all => "Test::MinimumVersion required for testing minimum versions"
-  if $@;
-all_minimum_version_ok( qq{5.010} );


Reply via email to