BSD Ports

textproc/ruby-fuzzyurl 0.9.0 NetBSD

Library for non-strict parsing, construction, and wildcard-matching of URLs

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
textproc, ruby
Package size
15.7 KiB, 45.4 KiB installed

Description

Fuzzyurl provides two related functions: non-strict parsing of URLs or URL-like strings into their component pieces (protocol, username, password, hostname, port, path, query, and fragment), and fuzzy matching of URLs and URL patterns.

Specifically, URLs that look like this:

\[protocol ://\] \[username \[: password\] @\] \[hostname\] \[: port\] \[/ path\] \[? query\] \[\# fragment\]

Fuzzyurls can be constructed using some or all of the above fields, optionally replacing some or all of those fields with a * wildcard if you wish to use the Fuzzyurl as a URL mask.

Install

Binary package:

pkgin install ruby33-fuzzyurl

From pkgsrc:

cd /usr/pkgsrc/textproc/ruby-fuzzyurl && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-fuzzyurl-0.9.0, ruby40-fuzzyurl-0.9.0