diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2022-01-18 23:13:06 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2022-01-18 23:13:06 +0000 |
commit | 4f96d02c9c3fe4915f25a8f643d89cdb9c6ccd71 (patch) | |
tree | 6b7bde3e4d82658940bd81b730884c54274e1c0c /cpan/File-Fetch | |
parent | 9471c77119969c5510113c6f4a3407b7f6e8a9d1 (diff) | |
download | perl-4f96d02c9c3fe4915f25a8f643d89cdb9c6ccd71.tar.gz |
Update File-Fetch to CPAN version 1.04
[DELTA]
1.04 Tue Jan 18 20:46:04 2022
* Resolve test warnings reported in GitHub issue #22
relating to Github's deprecation and removal of git:// protocol
* Pointed various RFC links in docs to ietf.org
Diffstat (limited to 'cpan/File-Fetch')
-rw-r--r-- | cpan/File-Fetch/lib/File/Fetch.pm | 8 | ||||
-rw-r--r-- | cpan/File-Fetch/t/01_File-Fetch.t | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cpan/File-Fetch/lib/File/Fetch.pm b/cpan/File-Fetch/lib/File/Fetch.pm index f06a7f8540..157f308ade 100644 --- a/cpan/File-Fetch/lib/File/Fetch.pm +++ b/cpan/File-Fetch/lib/File/Fetch.pm @@ -22,7 +22,7 @@ use vars qw[ $VERBOSE $PREFER_BIN $FROM_EMAIL $USER_AGENT $FTP_PASSIVE $TIMEOUT $DEBUG $WARN $FORCEIPV4 ]; -$VERSION = '1.02'; +$VERSION = '1.04'; $VERSION = eval $VERSION; # avoid warnings with development releases $PREFER_BIN = 0; # XXX TODO implement $FROM_EMAIL = 'File-Fetch@example.com'; @@ -359,7 +359,7 @@ sub _parse_uri { $href->{scheme} = $1; ### See rfc 1738 section 3.10 - ### http://www.faqs.org/rfcs/rfc1738.html + ### https://datatracker.ietf.org/doc/html/rfc1738#section-3.10 ### And wikipedia for more on windows file:// urls ### http://en.wikipedia.org/wiki/File:// if( $href->{scheme} eq 'file' ) { @@ -1315,7 +1315,7 @@ sub _fetch_fetch { ### use File::Copy for fetching file:// urls ### ### -### See section 3.10 of RFC 1738 (http://www.faqs.org/rfcs/rfc1738.html) +### See section 3.10 of RFC 1738 (https://datatracker.ietf.org/doc/html/rfc1738#section-3.10) ### Also see wikipedia on file:// (http://en.wikipedia.org/wiki/File://) ### @@ -1698,7 +1698,7 @@ the C<URI::Escape> module from CPAN, and pre-encode your URI before passing it to C<File::Fetch>. You can read about the details of URIs and URI encoding here: - http://www.faqs.org/rfcs/rfc2396.html +L<https://datatracker.ietf.org/doc/html/rfc2396> =head1 TODO diff --git a/cpan/File-Fetch/t/01_File-Fetch.t b/cpan/File-Fetch/t/01_File-Fetch.t index 35f5c3ac26..cdd9e504e3 100644 --- a/cpan/File-Fetch/t/01_File-Fetch.t +++ b/cpan/File-Fetch/t/01_File-Fetch.t @@ -235,7 +235,7 @@ for my $entry (@map) { } ### git:// tests ### -{ my $uri = 'git://github.com/Perl-Toolchain-Gang/file-fetch.git'; +{ my $uri = 'https://github.com/Perl-Toolchain-Gang/file-fetch.git'; for (qw[git]) { local $ENV{GIT_CONFIG_NOSYSTEM} = 1; |