./www/ruby-http_router, Kick-ass HTTP router for use in Rack

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.11.2, Package name: ruby23-http_router-0.11.2, Maintainer: pkgsrc-users

# HTTP Router

## What is it?

This is an HTTP router for use in either a web framework, or on it's own using
Rack. It takes a set of routes and attempts to find the best match for
it. Take a look at the examples directory for how you'd use it in the Rack
context.

## Features

* Ordered route resolution.
* Supports variables, and globbing, both named and unnamed.
* Regex support for variables.
* Request condition support.
* Partial matches.
* Supports interstitial variables (e.g.
/my-:variable-brings.all.the.boys/yard) and unnamed variable /one/:/two
* Very fast and small code base (~1,000 loc).
* Sinatra via https://github.com/joshbuddy/http_router_sinatra


Required to run:
[www/ruby-rack] [www/ruby-url_mount] [lang/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 149ee0854244c8ec403b36b4f52b07066447e26b
RMD160: 0e7b9c3457b861488ec7b356873e9ab78f2fdd79
Filesize: 153 KB

Version history: (Expand)


CVS history: (Expand)


   2017-09-19 18:36:07 by Takahiro Kambe | Files touched by this commit (11)
Log message:
cleanup: remove unnecessary RUBY_VERSIONS_ACCEPTED

Remove unnecessary RUBY_VERSIONS_ACCEPTED since ruby21 removed.
   2017-06-18 15:48:55 by Takahiro Kambe | Files touched by this commit (18)
Log message:
Add 24 to RUBY_VERSIONS_ACCEPTED.
   2017-06-05 05:29:38 by Takahiro Kambe | Files touched by this commit (6)
Log message:
Restrict ruby's version to 22 and 23.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-13 17:32:01 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update http_router to 0.11.2.

* Don't assume a router in Route#name=.
* Update README to match the code.
   2014-03-14 20:02:56 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-http_router to 0.11.1.

Changes are not available, please refer commit log:
<https://github.com/joshbuddy/http_router/commits/master>.
   2013-06-16 11:36:23 by OBATA Akio | Files touched by this commit (3) | Package updated
Log message:
Update ruby-http_router to 0.11.0.

no summary changes.
   2013-02-11 13:43:13 by Takahiro Kambe | Files touched by this commit (4)
Log message:
Add ruby-http_router package version 0.10.2.

# HTTP Router

## What is it?

This is an HTTP router for use in either a web framework, or on it's own using
Rack. It takes a set of routes and attempts to find the best match for
it. Take a look at the examples directory for how you'd use it in the Rack
context.

## Features

* Ordered route resolution.
* Supports variables, and globbing, both named and unnamed.
* Regex support for variables.
* Request condition support.
* Partial matches.
* Supports interstitial variables (e.g.
  /my-:variable-brings.all.the.boys/yard) and unnamed variable /one/:/two
* Very fast and small code base (~1,000 loc).
* Sinatra via https://github.com/joshbuddy/http_router_sinatra