diff options
author | taca <taca@pkgsrc.org> | 2010-09-12 04:05:22 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-12 04:05:22 +0000 |
commit | f8d97e5026095848838d31a86de4f5d15b47ed09 (patch) | |
tree | bf35d55e007977631acebe6bfd77327c6b6031d1 /www | |
parent | 1852eb780b8223bdeb0117f8f6110641139ce620 (diff) | |
download | pkgsrc-f8d97e5026095848838d31a86de4f5d15b47ed09.tar.gz |
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.
Diffstat (limited to 'www')
-rw-r--r-- | www/ruby-rack-mount/DESCR | 9 | ||||
-rw-r--r-- | www/ruby-rack-mount/Makefile | 14 | ||||
-rw-r--r-- | www/ruby-rack-mount/PLIST | 39 | ||||
-rw-r--r-- | www/ruby-rack-mount/distinfo | 5 |
4 files changed, 67 insertions, 0 deletions
diff --git a/www/ruby-rack-mount/DESCR b/www/ruby-rack-mount/DESCR new file mode 100644 index 00000000000..e4dc8f21e02 --- /dev/null +++ b/www/ruby-rack-mount/DESCR @@ -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. diff --git a/www/ruby-rack-mount/Makefile b/www/ruby-rack-mount/Makefile new file mode 100644 index 00000000000..34546029dc3 --- /dev/null +++ b/www/ruby-rack-mount/Makefile @@ -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" diff --git a/www/ruby-rack-mount/PLIST b/www/ruby-rack-mount/PLIST new file mode 100644 index 00000000000..e2bb7909131 --- /dev/null +++ b/www/ruby-rack-mount/PLIST @@ -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 diff --git a/www/ruby-rack-mount/distinfo b/www/ruby-rack-mount/distinfo new file mode 100644 index 00000000000..62d015c49e0 --- /dev/null +++ b/www/ruby-rack-mount/distinfo @@ -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 |