diff --git a/Changes b/Changes index a31d7c6..dbd782e 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,8 @@ Change history for URI-PackageURL -2.20 2024-05-11 +2.20 2024-05-13 - Added support for the official "cpan" PURL type specification (giterlizzi/perl-URI-PackageURL#8) - - Added "Version Range" (vers) support + - Added "Version Range" (vers) support (giterlizzi/perl-URI-PackageURL#12) - Added "URI::VersionRange::Version::cpan" version comparator for "cpan" scheme - Added "vers-tool(1)" - FIX Apply percent-encoding in "subpath" in "to_string" method diff --git a/lib/URI/VersionRange.pm b/lib/URI/VersionRange.pm index ed3d1d8..9bd94f3 100644 --- a/lib/URI/VersionRange.pm +++ b/lib/URI/VersionRange.pm @@ -424,9 +424,13 @@ Check if a version is contained within a range say "The version is in range"; } +See L. + =item $vers->constraint_contains -Check if a version is contained within a specific constraint +Check if a version is contained within a specific constraint. + +See L. =item $vers->to_string diff --git a/lib/URI/VersionRange/Version.pm b/lib/URI/VersionRange/Version.pm index ebdd838..756d12b 100644 --- a/lib/URI/VersionRange/Version.pm +++ b/lib/URI/VersionRange/Version.pm @@ -51,7 +51,7 @@ URI::VersionRange::Version - Version comparator class This is a base class for the version comparator. -NOTE: L provide out-of-the-box the comparator for C type. +NOTE: L provide out-of-the-box C type comparator. =head2 OBJECT-ORIENTED INTERFACE