Importing www/ruby-rack-mount 0.6.13.
A stackable dynamic tree based Rack router. Rack::Mount supports Rack's +X-Cascade+ convention to continue trying routes if the response returns +pass+. This allows multiple routes to be nested or stacked on top of each other. Since the application endpoint can trigger the router to continue matching, middleware can be used to add arbitrary conditions to any route. This allows you to route based on other request attributes, session information, or even data dynamically pulled from a database.
This commit is contained in:
parent
1852eb780b
commit
f8d97e5026
4 changed files with 67 additions and 0 deletions
9
www/ruby-rack-mount/DESCR
Normal file
9
www/ruby-rack-mount/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
A stackable dynamic tree based Rack router.
|
||||
|
||||
Rack::Mount supports Rack's +X-Cascade+ convention to continue trying
|
||||
routes if the response returns +pass+. This allows multiple routes to
|
||||
be nested or stacked on top of each other. Since the application
|
||||
endpoint can trigger the router to continue matching, middleware can
|
||||
be used to add arbitrary conditions to any route. This allows you to
|
||||
route based on other request attributes, session information, or even
|
||||
data dynamically pulled from a database.
|
14
www/ruby-rack-mount/Makefile
Normal file
14
www/ruby-rack-mount/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2010/09/12 04:05:22 taca Exp $
|
||||
|
||||
DISTNAME= rack-mount-0.6.13
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://github.com/josh/rack-mount
|
||||
COMMENT= Stackable dynamic tree based Rack router
|
||||
LICENSE= mit
|
||||
|
||||
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.0.0:../../www/ruby-rack
|
||||
|
||||
.include "../../lang/ruby/gem.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
39
www/ruby-rack-mount/PLIST
Normal file
39
www/ruby-rack-mount/PLIST
Normal file
|
@ -0,0 +1,39 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 04:05:22 taca Exp $
|
||||
${GEM_HOME}/cache/${GEM_NAME}.gem
|
||||
${GEM_LIBDIR}/LICENSE
|
||||
${GEM_LIBDIR}/README.rdoc
|
||||
${GEM_LIBDIR}/lib/rack/mount.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/analysis/frequency.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/analysis/histogram.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/analysis/splitting.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/code_generation.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/generatable_regexp.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/multimap.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/prefix.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/regexp_with_named_groups.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/route.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/route_set.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/strexp.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/strexp/parser.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/strexp/parser.y
|
||||
${GEM_LIBDIR}/lib/rack/mount/strexp/tokenizer.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/strexp/tokenizer.rex
|
||||
${GEM_LIBDIR}/lib/rack/mount/utils.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/multimap/multimap.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/multimap/multiset.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/multimap/nested_multimap.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/alternation.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/anchor.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/atom.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/character.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/character_class.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/collection.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/expression.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/group.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/options.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/parser.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/tokenizer.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/vendor/regin/regin/version.rb
|
||||
${GEM_LIBDIR}/lib/rack/mount/version.rb
|
||||
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|
5
www/ruby-rack-mount/distinfo
Normal file
5
www/ruby-rack-mount/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2010/09/12 04:05:22 taca Exp $
|
||||
|
||||
SHA1 (rack-mount-0.6.13.gem) = ea4ef1f1c796d02f21c65868e8e450ae756299a9
|
||||
RMD160 (rack-mount-0.6.13.gem) = a3fc8956acd13d52ea72d2f930df26a1b346e82f
|
||||
Size (rack-mount-0.6.13.gem) = 30208 bytes
|
Loading…
Reference in a new issue