kite-sdk/kite — pull request #103 by rdblue (2014-06-18 19:57:25+00:00)
Title: CDK-472: Add URIPattern#construct to create URIs for patterns.

The URIPattern#construct method takes a map of match data, like what is
produced by URIPattern#match, and produces a URI object that matches the
pattern. This supports constructing URIs that are known to match
patterns without knowing the pattern details. For example, constructing
a dataset URI from a dataset name and a repository URI depends on how
the URI pattern handles the dataset name. For some patterns, it is added
to the path, but some add the name as a query argument. This supports
both cases.