From 011fd852035729dc37e7eec5ed295a5511a9dcb3 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 22 Jul 2022 15:08:11 +0900 Subject: [PATCH] Imported Upstream version 5.08 --- Changes | 3 + MANIFEST | 2 + META.json | 125 +++++++++++++++++++++------------------ META.yml | 121 +++++++++++++++++++------------------ Makefile.PL | 2 +- README | 12 ++++ dist.ini | 2 + lib/URI.pm | 9 ++- lib/URI/Escape.pm | 2 +- lib/URI/Heuristic.pm | 2 +- lib/URI/IRI.pm | 2 +- lib/URI/QueryParam.pm | 2 +- lib/URI/Split.pm | 2 +- lib/URI/URL.pm | 2 +- lib/URI/WithBase.pm | 2 +- lib/URI/_foreign.pm | 2 +- lib/URI/_generic.pm | 2 +- lib/URI/_idna.pm | 2 +- lib/URI/_ldap.pm | 2 +- lib/URI/_login.pm | 2 +- lib/URI/_punycode.pm | 2 +- lib/URI/_query.pm | 2 +- lib/URI/_segment.pm | 2 +- lib/URI/_server.pm | 2 +- lib/URI/_userpass.pm | 2 +- lib/URI/data.pm | 2 +- lib/URI/file.pm | 2 +- lib/URI/file/Base.pm | 2 +- lib/URI/file/FAT.pm | 2 +- lib/URI/file/Mac.pm | 2 +- lib/URI/file/OS2.pm | 2 +- lib/URI/file/QNX.pm | 2 +- lib/URI/file/Unix.pm | 2 +- lib/URI/file/Win32.pm | 2 +- lib/URI/ftp.pm | 2 +- lib/URI/gopher.pm | 2 +- lib/URI/http.pm | 2 +- lib/URI/https.pm | 2 +- lib/URI/ldap.pm | 2 +- lib/URI/ldapi.pm | 2 +- lib/URI/ldaps.pm | 2 +- lib/URI/mailto.pm | 2 +- lib/URI/mms.pm | 2 +- lib/URI/news.pm | 2 +- lib/URI/nntp.pm | 2 +- lib/URI/nntps.pm | 14 +++++ lib/URI/pop.pm | 2 +- lib/URI/rlogin.pm | 2 +- lib/URI/rsync.pm | 2 +- lib/URI/rtsp.pm | 2 +- lib/URI/rtspu.pm | 2 +- lib/URI/sftp.pm | 2 +- lib/URI/sip.pm | 2 +- lib/URI/sips.pm | 2 +- lib/URI/snews.pm | 2 +- lib/URI/ssh.pm | 2 +- lib/URI/telnet.pm | 2 +- lib/URI/tn3270.pm | 2 +- lib/URI/urn.pm | 2 +- lib/URI/urn/isbn.pm | 2 +- lib/URI/urn/oid.pm | 2 +- t/news.t | 8 ++- xt/author/00-compile.t | 3 +- xt/author/pod-spell.t | 1 + xt/release/changes_has_content.t | 2 +- 65 files changed, 235 insertions(+), 173 deletions(-) create mode 100644 README create mode 100644 lib/URI/nntps.pm diff --git a/Changes b/Changes index 0d6d97d..c7f6a3f 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for URI +5.08 2021-02-28 18:08:32Z + - added URI::nntps (GH#82) + 5.07 2021-01-29 22:52:20Z - s/perl.com/example.com/ in examples and tests (GH#81) (Olaf Alders) diff --git a/MANIFEST b/MANIFEST index 8cfbb34..6b2aafb 100644 --- a/MANIFEST +++ b/MANIFEST @@ -6,6 +6,7 @@ MANIFEST META.json META.yml Makefile.PL +README cpanfile dist.ini lib/URI.pm @@ -46,6 +47,7 @@ lib/URI/mailto.pm lib/URI/mms.pm lib/URI/news.pm lib/URI/nntp.pm +lib/URI/nntps.pm lib/URI/pop.pm lib/URI/rlogin.pm lib/URI/rsync.pm diff --git a/META.json b/META.json index 3d3d78e..4634d37 100644 --- a/META.json +++ b/META.json @@ -89,175 +89,179 @@ "provides" : { "URI" : { "file" : "lib/URI.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::Escape" : { "file" : "lib/URI/Escape.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::Heuristic" : { "file" : "lib/URI/Heuristic.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::IRI" : { "file" : "lib/URI/IRI.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::QueryParam" : { "file" : "lib/URI/QueryParam.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::Split" : { "file" : "lib/URI/Split.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::URL" : { "file" : "lib/URI/URL.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::WithBase" : { "file" : "lib/URI/WithBase.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::data" : { "file" : "lib/URI/data.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file" : { "file" : "lib/URI/file.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file::Base" : { "file" : "lib/URI/file/Base.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file::FAT" : { "file" : "lib/URI/file/FAT.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file::Mac" : { "file" : "lib/URI/file/Mac.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file::OS2" : { "file" : "lib/URI/file/OS2.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file::QNX" : { "file" : "lib/URI/file/QNX.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file::Unix" : { "file" : "lib/URI/file/Unix.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::file::Win32" : { "file" : "lib/URI/file/Win32.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::ftp" : { "file" : "lib/URI/ftp.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::gopher" : { "file" : "lib/URI/gopher.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::http" : { "file" : "lib/URI/http.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::https" : { "file" : "lib/URI/https.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::ldap" : { "file" : "lib/URI/ldap.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::ldapi" : { "file" : "lib/URI/ldapi.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::ldaps" : { "file" : "lib/URI/ldaps.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::mailto" : { "file" : "lib/URI/mailto.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::mms" : { "file" : "lib/URI/mms.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::news" : { "file" : "lib/URI/news.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::nntp" : { "file" : "lib/URI/nntp.pm", - "version" : "5.07" + "version" : "5.08" + }, + "URI::nntps" : { + "file" : "lib/URI/nntps.pm", + "version" : "5.08" }, "URI::pop" : { "file" : "lib/URI/pop.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::rlogin" : { "file" : "lib/URI/rlogin.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::rsync" : { "file" : "lib/URI/rsync.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::rtsp" : { "file" : "lib/URI/rtsp.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::rtspu" : { "file" : "lib/URI/rtspu.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::sftp" : { "file" : "lib/URI/sftp.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::sip" : { "file" : "lib/URI/sip.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::sips" : { "file" : "lib/URI/sips.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::snews" : { "file" : "lib/URI/snews.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::ssh" : { "file" : "lib/URI/ssh.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::telnet" : { "file" : "lib/URI/telnet.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::tn3270" : { "file" : "lib/URI/tn3270.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::urn" : { "file" : "lib/URI/urn.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::urn::isbn" : { "file" : "lib/URI/urn/isbn.pm", - "version" : "5.07" + "version" : "5.08" }, "URI::urn::oid" : { "file" : "lib/URI/urn/oid.pm", - "version" : "5.07" + "version" : "5.08" } }, "release_status" : "stable", @@ -274,10 +278,10 @@ "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:libwww@perl.org" }, - "version" : "5.07", + "version" : "5.08", "x_Dist_Zilla" : { "perl" : { - "version" : "5.030002" + "version" : "5.033007" }, "plugins" : [ { @@ -367,7 +371,7 @@ "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "include_authors" : 0, "include_releaser" : 1, "order_by" : "commits", @@ -408,10 +412,15 @@ "version" : "0.08" }, { + "class" : "Dist::Zilla::Plugin::Readme", + "name" : "Readme", + "version" : "6.017" + }, + { "class" : "Dist::Zilla::Plugin::MakeMaker", "config" : { "Dist::Zilla::Role::TestRunner" : { - "default_jobs" : "4" + "default_jobs" : "6" } }, "name" : "MakeMaker", @@ -559,7 +568,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "repo_root" : "." } }, @@ -570,7 +579,7 @@ "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "repo_root" : "." } }, @@ -581,7 +590,7 @@ "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", "config" : { "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "repo_root" : "." } }, @@ -602,7 +611,7 @@ "class" : "Dist::Zilla::Plugin::RunExtraTests", "config" : { "Dist::Zilla::Role::TestRunner" : { - "default_jobs" : "4" + "default_jobs" : "6" } }, "name" : "RunExtraTests", @@ -681,7 +690,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -698,12 +707,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v5.07", + "tag" : "v5.08", "tag_format" : "v%V", "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -753,7 +762,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -773,7 +782,7 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.30.0", + "git_version" : "2.29.2", "repo_root" : "." } }, @@ -880,8 +889,8 @@ "Tatsuhiko Miyagawa ", "Torsten F\u00f6rtsch " ], - "x_generated_by_perl" : "v5.30.2", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.19", + "x_generated_by_perl" : "v5.33.7", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff --git a/META.yml b/META.yml index f9bb2d1..8e1b199 100644 --- a/META.yml +++ b/META.yml @@ -27,133 +27,136 @@ no_index: provides: URI: file: lib/URI.pm - version: '5.07' + version: '5.08' URI::Escape: file: lib/URI/Escape.pm - version: '5.07' + version: '5.08' URI::Heuristic: file: lib/URI/Heuristic.pm - version: '5.07' + version: '5.08' URI::IRI: file: lib/URI/IRI.pm - version: '5.07' + version: '5.08' URI::QueryParam: file: lib/URI/QueryParam.pm - version: '5.07' + version: '5.08' URI::Split: file: lib/URI/Split.pm - version: '5.07' + version: '5.08' URI::URL: file: lib/URI/URL.pm - version: '5.07' + version: '5.08' URI::WithBase: file: lib/URI/WithBase.pm - version: '5.07' + version: '5.08' URI::data: file: lib/URI/data.pm - version: '5.07' + version: '5.08' URI::file: file: lib/URI/file.pm - version: '5.07' + version: '5.08' URI::file::Base: file: lib/URI/file/Base.pm - version: '5.07' + version: '5.08' URI::file::FAT: file: lib/URI/file/FAT.pm - version: '5.07' + version: '5.08' URI::file::Mac: file: lib/URI/file/Mac.pm - version: '5.07' + version: '5.08' URI::file::OS2: file: lib/URI/file/OS2.pm - version: '5.07' + version: '5.08' URI::file::QNX: file: lib/URI/file/QNX.pm - version: '5.07' + version: '5.08' URI::file::Unix: file: lib/URI/file/Unix.pm - version: '5.07' + version: '5.08' URI::file::Win32: file: lib/URI/file/Win32.pm - version: '5.07' + version: '5.08' URI::ftp: file: lib/URI/ftp.pm - version: '5.07' + version: '5.08' URI::gopher: file: lib/URI/gopher.pm - version: '5.07' + version: '5.08' URI::http: file: lib/URI/http.pm - version: '5.07' + version: '5.08' URI::https: file: lib/URI/https.pm - version: '5.07' + version: '5.08' URI::ldap: file: lib/URI/ldap.pm - version: '5.07' + version: '5.08' URI::ldapi: file: lib/URI/ldapi.pm - version: '5.07' + version: '5.08' URI::ldaps: file: lib/URI/ldaps.pm - version: '5.07' + version: '5.08' URI::mailto: file: lib/URI/mailto.pm - version: '5.07' + version: '5.08' URI::mms: file: lib/URI/mms.pm - version: '5.07' + version: '5.08' URI::news: file: lib/URI/news.pm - version: '5.07' + version: '5.08' URI::nntp: file: lib/URI/nntp.pm - version: '5.07' + version: '5.08' + URI::nntps: + file: lib/URI/nntps.pm + version: '5.08' URI::pop: file: lib/URI/pop.pm - version: '5.07' + version: '5.08' URI::rlogin: file: lib/URI/rlogin.pm - version: '5.07' + version: '5.08' URI::rsync: file: lib/URI/rsync.pm - version: '5.07' + version: '5.08' URI::rtsp: file: lib/URI/rtsp.pm - version: '5.07' + version: '5.08' URI::rtspu: file: lib/URI/rtspu.pm - version: '5.07' + version: '5.08' URI::sftp: file: lib/URI/sftp.pm - version: '5.07' + version: '5.08' URI::sip: file: lib/URI/sip.pm - version: '5.07' + version: '5.08' URI::sips: file: lib/URI/sips.pm - version: '5.07' + version: '5.08' URI::snews: file: lib/URI/snews.pm - version: '5.07' + version: '5.08' URI::ssh: file: lib/URI/ssh.pm - version: '5.07' + version: '5.08' URI::telnet: file: lib/URI/telnet.pm - version: '5.07' + version: '5.08' URI::tn3270: file: lib/URI/tn3270.pm - version: '5.07' + version: '5.08' URI::urn: file: lib/URI/urn.pm - version: '5.07' + version: '5.08' URI::urn::isbn: file: lib/URI/urn/isbn.pm - version: '5.07' + version: '5.08' URI::urn::oid: file: lib/URI/urn/oid.pm - version: '5.07' + version: '5.08' requires: Carp: '0' Cwd: '0' @@ -177,10 +180,10 @@ resources: bugtracker: https://github.com/libwww-perl/URI/issues homepage: https://github.com/libwww-perl/URI repository: https://github.com/libwww-perl/URI.git -version: '5.07' +version: '5.08' x_Dist_Zilla: perl: - version: '5.030002' + version: '5.033007' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir @@ -251,7 +254,7 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.30.0 + git_version: 2.29.2 include_authors: 0 include_releaser: 1 order_by: commits @@ -283,10 +286,14 @@ x_Dist_Zilla: name: Prereqs::FromCPANfile version: '0.08' - + class: Dist::Zilla::Plugin::Readme + name: Readme + version: '6.017' + - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: - default_jobs: '4' + default_jobs: '6' name: MakeMaker version: '6.017' - @@ -403,7 +410,7 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.30.0 + git_version: 2.29.2 repo_root: . name: Git::Check version: '2.047' @@ -411,7 +418,7 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts config: Dist::Zilla::Role::Git::Repo: - git_version: 2.30.0 + git_version: 2.29.2 repo_root: . name: Git::CheckFor::MergeConflicts version: '0.014' @@ -419,7 +426,7 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch config: Dist::Zilla::Role::Git::Repo: - git_version: 2.30.0 + git_version: 2.29.2 repo_root: . name: Git::CheckFor::CorrectBranch version: '0.014' @@ -435,7 +442,7 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::RunExtraTests config: Dist::Zilla::Role::TestRunner: - default_jobs: '4' + default_jobs: '6' name: RunExtraTests version: '0.029' - @@ -493,7 +500,7 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.30.0 + git_version: 2.29.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -506,11 +513,11 @@ x_Dist_Zilla: branch: ~ changelog: Changes signed: 0 - tag: v5.07 + tag: v5.08 tag_format: v%V tag_message: v%V Dist::Zilla::Role::Git::Repo: - git_version: 2.30.0 + git_version: 2.29.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -547,7 +554,7 @@ x_Dist_Zilla: - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.30.0 + git_version: 2.29.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -561,7 +568,7 @@ x_Dist_Zilla: - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.30.0 + git_version: 2.29.2 repo_root: . name: Git::Push version: '2.047' @@ -648,6 +655,6 @@ x_contributors: - 'Salvatore Bonaccorso ' - 'Tatsuhiko Miyagawa ' - 'Torsten Förtsch ' -x_generated_by_perl: v5.30.2 +x_generated_by_perl: v5.33.7 x_serialization_backend: 'YAML::Tiny version 1.73' x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff --git a/Makefile.PL b/Makefile.PL index 67b8d5d..76b8da8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -43,7 +43,7 @@ my %WriteMakefileArgs = ( "Test::Needs" => 0, "utf8" => 0 }, - "VERSION" => "5.07", + "VERSION" => "5.08", "test" => { "TESTS" => "t/*.t" } diff --git a/README b/README new file mode 100644 index 0000000..3480698 --- /dev/null +++ b/README @@ -0,0 +1,12 @@ +This archive contains the distribution URI, +version 5.08: + + Uniform Resource Identifiers (absolute and relative) + +This software is copyright (c) 1998 by Gisle Aas. + +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. + + +This README file was generated by Dist::Zilla::Plugin::Readme v6.017. diff --git a/dist.ini b/dist.ini index ca31fed..e7bb82a 100644 --- a/dist.ini +++ b/dist.ini @@ -61,6 +61,8 @@ authority = cpan:LWWWP [Prereqs::FromCPANfile] +[Readme] + [MakeMaker] [CheckChangesHasContent] diff --git a/lib/URI.pm b/lib/URI.pm index 52dbd4f..479a147 100644 --- a/lib/URI.pm +++ b/lib/URI.pm @@ -3,7 +3,7 @@ package URI; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; our ($ABS_REMOTE_LEADING_DOTS, $ABS_ALLOW_RELATIVE_SCHEME, $DEFAULT_QUERY_FORM_DELIMITER); @@ -916,7 +916,8 @@ query-related sub-components. The I, I and I URI schemes are specified in and will hopefully be available as an RFC -2396 based specification soon. +2396 based specification soon. (Update: as of April 2010, they are in +L. C objects belonging to the news scheme support the common, generic and server methods. In addition, they provide some methods to @@ -926,6 +927,10 @@ access the path: $uri->group and $uri->message. See I scheme. +=item B: + +See I scheme and L. + =item B: The I URI scheme is specified in RFC 2384. The scheme is used to diff --git a/lib/URI/Escape.pm b/lib/URI/Escape.pm index 61cb6d9..a1c6417 100644 --- a/lib/URI/Escape.pm +++ b/lib/URI/Escape.pm @@ -141,7 +141,7 @@ use Exporter 5.57 'import'; our %escapes; our @EXPORT = qw(uri_escape uri_unescape uri_escape_utf8); our @EXPORT_OK = qw(%escapes); -our $VERSION = '5.07'; +our $VERSION = '5.08'; use Carp (); diff --git a/lib/URI/Heuristic.pm b/lib/URI/Heuristic.pm index fc11f03..d04990d 100644 --- a/lib/URI/Heuristic.pm +++ b/lib/URI/Heuristic.pm @@ -91,7 +91,7 @@ use warnings; use Exporter 5.57 'import'; our @EXPORT_OK = qw(uf_uri uf_uristr uf_url uf_urlstr); -our $VERSION = '5.07'; +our $VERSION = '5.08'; our ($MY_COUNTRY, $DEBUG); diff --git a/lib/URI/IRI.pm b/lib/URI/IRI.pm index deaed8c..0d36895 100644 --- a/lib/URI/IRI.pm +++ b/lib/URI/IRI.pm @@ -8,7 +8,7 @@ use URI (); use overload '""' => sub { shift->as_string }; -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub new { my($class, $uri, $scheme) = @_; diff --git a/lib/URI/QueryParam.pm b/lib/URI/QueryParam.pm index 8c382bf..7d961b3 100644 --- a/lib/URI/QueryParam.pm +++ b/lib/URI/QueryParam.pm @@ -3,7 +3,7 @@ package URI::QueryParam; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub URI::_query::query_param { my $self = shift; diff --git a/lib/URI/Split.pm b/lib/URI/Split.pm index 181da6d..de0190b 100644 --- a/lib/URI/Split.pm +++ b/lib/URI/Split.pm @@ -3,7 +3,7 @@ package URI::Split; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use Exporter 5.57 'import'; our @EXPORT_OK = qw(uri_split uri_join); diff --git a/lib/URI/URL.pm b/lib/URI/URL.pm index e8d6ae6..1a4d950 100644 --- a/lib/URI/URL.pm +++ b/lib/URI/URL.pm @@ -5,7 +5,7 @@ use warnings; use parent 'URI::WithBase'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; # Provide as much as possible of the old URI::URL interface for backwards # compatibility... diff --git a/lib/URI/WithBase.pm b/lib/URI/WithBase.pm index a682f3d..0fae4bb 100644 --- a/lib/URI/WithBase.pm +++ b/lib/URI/WithBase.pm @@ -6,7 +6,7 @@ use warnings; use URI (); use Scalar::Util qw(blessed); -our $VERSION = '5.07'; +our $VERSION = '5.08'; use overload '""' => "as_string", fallback => 1; diff --git a/lib/URI/_foreign.pm b/lib/URI/_foreign.pm index c8ae6d7..1e2f424 100644 --- a/lib/URI/_foreign.pm +++ b/lib/URI/_foreign.pm @@ -5,6 +5,6 @@ use warnings; use parent 'URI::_generic'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; 1; diff --git a/lib/URI/_generic.pm b/lib/URI/_generic.pm index b7085f5..f681122 100644 --- a/lib/URI/_generic.pm +++ b/lib/URI/_generic.pm @@ -8,7 +8,7 @@ use parent qw(URI URI::_query); use URI::Escape qw(uri_unescape); use Carp (); -our $VERSION = '5.07'; +our $VERSION = '5.08'; my $ACHAR = $URI::uric; $ACHAR =~ s,\\[/?],,g; my $PCHAR = $URI::uric; $PCHAR =~ s,\\[?],,g; diff --git a/lib/URI/_idna.pm b/lib/URI/_idna.pm index 2b3912f..90bc1a0 100644 --- a/lib/URI/_idna.pm +++ b/lib/URI/_idna.pm @@ -9,7 +9,7 @@ use warnings; use URI::_punycode qw(decode_punycode encode_punycode); use Carp qw(croak); -our $VERSION = '5.07'; +our $VERSION = '5.08'; BEGIN { *URI::_idna::_ENV_::JOIN_LEAKS_UTF8_FLAGS = "$]" < 5.008_003 diff --git a/lib/URI/_ldap.pm b/lib/URI/_ldap.pm index 32834a1..c5fc9ed 100644 --- a/lib/URI/_ldap.pm +++ b/lib/URI/_ldap.pm @@ -7,7 +7,7 @@ package URI::_ldap; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use URI::Escape qw(uri_unescape); diff --git a/lib/URI/_login.pm b/lib/URI/_login.pm index e44e8f0..f9cc2bb 100644 --- a/lib/URI/_login.pm +++ b/lib/URI/_login.pm @@ -5,7 +5,7 @@ use warnings; use parent qw(URI::_server URI::_userpass); -our $VERSION = '5.07'; +our $VERSION = '5.08'; # Generic terminal logins. This is used as a base class for 'telnet', # 'tn3270', and 'rlogin' URL schemes. diff --git a/lib/URI/_punycode.pm b/lib/URI/_punycode.pm index d3af7a3..5d6ac09 100644 --- a/lib/URI/_punycode.pm +++ b/lib/URI/_punycode.pm @@ -3,7 +3,7 @@ package URI::_punycode; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use Exporter 'import'; our @EXPORT = qw(encode_punycode decode_punycode); diff --git a/lib/URI/_query.pm b/lib/URI/_query.pm index 690f844..8a26b2d 100644 --- a/lib/URI/_query.pm +++ b/lib/URI/_query.pm @@ -6,7 +6,7 @@ use warnings; use URI (); use URI::Escape qw(uri_unescape); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub query { diff --git a/lib/URI/_segment.pm b/lib/URI/_segment.pm index ca8088e..2f193b0 100644 --- a/lib/URI/_segment.pm +++ b/lib/URI/_segment.pm @@ -11,7 +11,7 @@ use URI::Escape qw(uri_unescape); use overload '""' => sub { $_[0]->[0] }, fallback => 1; -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub new { diff --git a/lib/URI/_server.pm b/lib/URI/_server.pm index b44b988..f4baff3 100644 --- a/lib/URI/_server.pm +++ b/lib/URI/_server.pm @@ -7,7 +7,7 @@ use parent 'URI::_generic'; use URI::Escape qw(uri_unescape); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub _uric_escape { my($class, $str) = @_; diff --git a/lib/URI/_userpass.pm b/lib/URI/_userpass.pm index 5553a0b..fb32884 100644 --- a/lib/URI/_userpass.pm +++ b/lib/URI/_userpass.pm @@ -5,7 +5,7 @@ use warnings; use URI::Escape qw(uri_unescape); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub user { diff --git a/lib/URI/data.pm b/lib/URI/data.pm index ade96d8..a2783d5 100644 --- a/lib/URI/data.pm +++ b/lib/URI/data.pm @@ -5,7 +5,7 @@ use warnings; use parent 'URI'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use MIME::Base64 qw(decode_base64 encode_base64); use URI::Escape qw(uri_unescape); diff --git a/lib/URI/file.pm b/lib/URI/file.pm index 0d07a2d..33eb030 100644 --- a/lib/URI/file.pm +++ b/lib/URI/file.pm @@ -4,7 +4,7 @@ use strict; use warnings; use parent 'URI::_generic'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use URI::Escape qw(uri_unescape); diff --git a/lib/URI/file/Base.pm b/lib/URI/file/Base.pm index 4926df7..bbdfbaf 100644 --- a/lib/URI/file/Base.pm +++ b/lib/URI/file/Base.pm @@ -5,7 +5,7 @@ use warnings; use URI::Escape (); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub new { diff --git a/lib/URI/file/FAT.pm b/lib/URI/file/FAT.pm index 5d8fe87..2761c8e 100644 --- a/lib/URI/file/FAT.pm +++ b/lib/URI/file/FAT.pm @@ -5,7 +5,7 @@ use warnings; use parent 'URI::file::Win32'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub fix_path { diff --git a/lib/URI/file/Mac.pm b/lib/URI/file/Mac.pm index ca192ec..40e058c 100644 --- a/lib/URI/file/Mac.pm +++ b/lib/URI/file/Mac.pm @@ -7,7 +7,7 @@ use parent 'URI::file::Base'; use URI::Escape qw(uri_unescape); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub _file_extract_path { diff --git a/lib/URI/file/OS2.pm b/lib/URI/file/OS2.pm index 38b0106..0dff2c5 100644 --- a/lib/URI/file/OS2.pm +++ b/lib/URI/file/OS2.pm @@ -5,7 +5,7 @@ use warnings; use parent 'URI::file::Win32'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; # The Win32 version translates k:/foo to file://k:/foo (?!) # We add an empty host diff --git a/lib/URI/file/QNX.pm b/lib/URI/file/QNX.pm index c9893cb..e8f7e53 100644 --- a/lib/URI/file/QNX.pm +++ b/lib/URI/file/QNX.pm @@ -5,7 +5,7 @@ use warnings; use parent 'URI::file::Unix'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub _file_extract_path { diff --git a/lib/URI/file/Unix.pm b/lib/URI/file/Unix.pm index 08dee07..6d37d94 100644 --- a/lib/URI/file/Unix.pm +++ b/lib/URI/file/Unix.pm @@ -7,7 +7,7 @@ use parent 'URI::file::Base'; use URI::Escape qw(uri_unescape); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub _file_extract_path { diff --git a/lib/URI/file/Win32.pm b/lib/URI/file/Win32.pm index fd51dd4..2fb00ff 100644 --- a/lib/URI/file/Win32.pm +++ b/lib/URI/file/Win32.pm @@ -7,7 +7,7 @@ use parent 'URI::file::Base'; use URI::Escape qw(uri_unescape); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub _file_extract_authority { diff --git a/lib/URI/ftp.pm b/lib/URI/ftp.pm index 15d068c..dda5690 100644 --- a/lib/URI/ftp.pm +++ b/lib/URI/ftp.pm @@ -3,7 +3,7 @@ package URI::ftp; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent qw(URI::_server URI::_userpass); diff --git a/lib/URI/gopher.pm b/lib/URI/gopher.pm index e251164..556e35b 100644 --- a/lib/URI/gopher.pm +++ b/lib/URI/gopher.pm @@ -3,7 +3,7 @@ package URI::gopher; # , Dec 4, 1996 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_server'; diff --git a/lib/URI/http.pm b/lib/URI/http.pm index b99edcc..dc5a708 100644 --- a/lib/URI/http.pm +++ b/lib/URI/http.pm @@ -3,7 +3,7 @@ package URI::http; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_server'; diff --git a/lib/URI/https.pm b/lib/URI/https.pm index a4ec77e..08d11b6 100644 --- a/lib/URI/https.pm +++ b/lib/URI/https.pm @@ -3,7 +3,7 @@ package URI::https; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::http'; diff --git a/lib/URI/ldap.pm b/lib/URI/ldap.pm index ea503a3..c8fc15c 100644 --- a/lib/URI/ldap.pm +++ b/lib/URI/ldap.pm @@ -7,7 +7,7 @@ package URI::ldap; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent qw(URI::_ldap URI::_server); diff --git a/lib/URI/ldapi.pm b/lib/URI/ldapi.pm index d648e1b..7cbebdc 100644 --- a/lib/URI/ldapi.pm +++ b/lib/URI/ldapi.pm @@ -3,7 +3,7 @@ package URI::ldapi; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent qw(URI::_ldap URI::_generic); diff --git a/lib/URI/ldaps.pm b/lib/URI/ldaps.pm index 3270f3f..e604293 100644 --- a/lib/URI/ldaps.pm +++ b/lib/URI/ldaps.pm @@ -3,7 +3,7 @@ package URI::ldaps; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::ldap'; diff --git a/lib/URI/mailto.pm b/lib/URI/mailto.pm index 2ed4275..43604a7 100644 --- a/lib/URI/mailto.pm +++ b/lib/URI/mailto.pm @@ -3,7 +3,7 @@ package URI::mailto; # RFC 2368 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent qw(URI URI::_query); diff --git a/lib/URI/mms.pm b/lib/URI/mms.pm index 66b1140..7d41045 100644 --- a/lib/URI/mms.pm +++ b/lib/URI/mms.pm @@ -3,7 +3,7 @@ package URI::mms; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::http'; diff --git a/lib/URI/news.pm b/lib/URI/news.pm index fab598c..ae1397d 100644 --- a/lib/URI/news.pm +++ b/lib/URI/news.pm @@ -3,7 +3,7 @@ package URI::news; # draft-gilman-news-url-01 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_server'; diff --git a/lib/URI/nntp.pm b/lib/URI/nntp.pm index 3676deb..81c9ef3 100644 --- a/lib/URI/nntp.pm +++ b/lib/URI/nntp.pm @@ -3,7 +3,7 @@ package URI::nntp; # draft-gilman-news-url-01 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::news'; diff --git a/lib/URI/nntps.pm b/lib/URI/nntps.pm new file mode 100644 index 0000000..bf7d9c8 --- /dev/null +++ b/lib/URI/nntps.pm @@ -0,0 +1,14 @@ +package URI::nntps; + +use strict; +use warnings; + +our $VERSION = '5.08'; + +use parent 'URI::nntp'; + +sub default_port { 563 } + +sub secure { 1 } + +1; diff --git a/lib/URI/pop.pm b/lib/URI/pop.pm index 017f699..125b504 100644 --- a/lib/URI/pop.pm +++ b/lib/URI/pop.pm @@ -3,7 +3,7 @@ package URI::pop; # RFC 2384 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_server'; diff --git a/lib/URI/rlogin.pm b/lib/URI/rlogin.pm index c4c37b6..0034186 100644 --- a/lib/URI/rlogin.pm +++ b/lib/URI/rlogin.pm @@ -3,7 +3,7 @@ package URI::rlogin; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_login'; diff --git a/lib/URI/rsync.pm b/lib/URI/rsync.pm index cf978d1..5c57197 100644 --- a/lib/URI/rsync.pm +++ b/lib/URI/rsync.pm @@ -5,7 +5,7 @@ package URI::rsync; # http://rsync.samba.org/ use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent qw(URI::_server URI::_userpass); diff --git a/lib/URI/rtsp.pm b/lib/URI/rtsp.pm index 0c056a8..ba1e130 100644 --- a/lib/URI/rtsp.pm +++ b/lib/URI/rtsp.pm @@ -3,7 +3,7 @@ package URI::rtsp; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::http'; diff --git a/lib/URI/rtspu.pm b/lib/URI/rtspu.pm index b70be28..0ba2bea 100644 --- a/lib/URI/rtspu.pm +++ b/lib/URI/rtspu.pm @@ -3,7 +3,7 @@ package URI::rtspu; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::rtsp'; diff --git a/lib/URI/sftp.pm b/lib/URI/sftp.pm index b1636f0..cbc6e45 100644 --- a/lib/URI/sftp.pm +++ b/lib/URI/sftp.pm @@ -5,6 +5,6 @@ use warnings; use parent 'URI::ssh'; -our $VERSION = '5.07'; +our $VERSION = '5.08'; 1; diff --git a/lib/URI/sip.pm b/lib/URI/sip.pm index 4e13644..2b95947 100644 --- a/lib/URI/sip.pm +++ b/lib/URI/sip.pm @@ -14,7 +14,7 @@ use parent qw(URI::_server URI::_userpass); use URI::Escape (); -our $VERSION = '5.07'; +our $VERSION = '5.08'; sub default_port { 5060 } diff --git a/lib/URI/sips.pm b/lib/URI/sips.pm index 7e8e0ff..5927cc1 100644 --- a/lib/URI/sips.pm +++ b/lib/URI/sips.pm @@ -3,7 +3,7 @@ package URI::sips; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::sip'; diff --git a/lib/URI/snews.pm b/lib/URI/snews.pm index 52d3e4f..bfb5fd4 100644 --- a/lib/URI/snews.pm +++ b/lib/URI/snews.pm @@ -3,7 +3,7 @@ package URI::snews; # draft-gilman-news-url-01 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::news'; diff --git a/lib/URI/ssh.pm b/lib/URI/ssh.pm index 53ddfee..e9727a2 100644 --- a/lib/URI/ssh.pm +++ b/lib/URI/ssh.pm @@ -3,7 +3,7 @@ package URI::ssh; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_login'; diff --git a/lib/URI/telnet.pm b/lib/URI/telnet.pm index 72eca50..fcfcefc 100644 --- a/lib/URI/telnet.pm +++ b/lib/URI/telnet.pm @@ -3,7 +3,7 @@ package URI::telnet; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_login'; diff --git a/lib/URI/tn3270.pm b/lib/URI/tn3270.pm index 9be1c82..c86d971 100644 --- a/lib/URI/tn3270.pm +++ b/lib/URI/tn3270.pm @@ -3,7 +3,7 @@ package URI::tn3270; use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::_login'; diff --git a/lib/URI/urn.pm b/lib/URI/urn.pm index 83c9dfc..83c3c8c 100644 --- a/lib/URI/urn.pm +++ b/lib/URI/urn.pm @@ -3,7 +3,7 @@ package URI::urn; # RFC 2141 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI'; diff --git a/lib/URI/urn/isbn.pm b/lib/URI/urn/isbn.pm index 945eba5..984ed35 100644 --- a/lib/URI/urn/isbn.pm +++ b/lib/URI/urn/isbn.pm @@ -3,7 +3,7 @@ package URI::urn::isbn; # RFC 3187 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::urn'; diff --git a/lib/URI/urn/oid.pm b/lib/URI/urn/oid.pm index 040b5ca..0a4f67b 100644 --- a/lib/URI/urn/oid.pm +++ b/lib/URI/urn/oid.pm @@ -3,7 +3,7 @@ package URI::urn::oid; # RFC 2061 use strict; use warnings; -our $VERSION = '5.07'; +our $VERSION = '5.08'; use parent 'URI::urn'; diff --git a/t/news.t b/t/news.t index 947697f..e1c9b2a 100644 --- a/t/news.t +++ b/t/news.t @@ -1,7 +1,7 @@ use strict; use warnings; -print "1..7\n"; +print "1..8\n"; use URI (); @@ -49,3 +49,9 @@ print "not " unless $u->group eq "no.perl" && $u->port == 563; print "ok 7\n"; +$u = URI->new("nntps://nntps.online.no/no.perl"); + +print "not " unless $u->group eq "no.perl" && + $u->host eq "nntps.online.no" && + $u->port == 563; +print "ok 8\n"; diff --git a/xt/author/00-compile.t b/xt/author/00-compile.t index 7f26715..8470d5f 100644 --- a/xt/author/00-compile.t +++ b/xt/author/00-compile.t @@ -6,7 +6,7 @@ use warnings; use Test::More 0.94; -plan tests => 54; +plan tests => 55; my @module_files = ( 'URI.pm', @@ -47,6 +47,7 @@ my @module_files = ( 'URI/mms.pm', 'URI/news.pm', 'URI/nntp.pm', + 'URI/nntps.pm', 'URI/pop.pm', 'URI/rlogin.pm', 'URI/rsync.pm', diff --git a/xt/author/pod-spell.t b/xt/author/pod-spell.t index 3173689..3702c20 100644 --- a/xt/author/pod-spell.t +++ b/xt/author/pod-spell.t @@ -138,6 +138,7 @@ miyagawa mms news nntp +nntps oid olaf piotr diff --git a/xt/release/changes_has_content.t b/xt/release/changes_has_content.t index b35c6e5..7ac60eb 100644 --- a/xt/release/changes_has_content.t +++ b/xt/release/changes_has_content.t @@ -8,7 +8,7 @@ if (($ENV{TRAVIS_PULL_REQUEST} || '') eq 'false') { note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '5.07'; +my $newver = '5.08'; my $trial_token = '-TRIAL'; my $encoding = 'UTF-8'; -- 2.7.4