Import ruby-rack-mount, one of the dependencies for Rails 3.
Rack::Mount is 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. ok landry
This commit is contained in:
parent
6ee6ed0336
commit
8ddc1124e8
23
www/ruby-rack-mount/Makefile
Normal file
23
www/ruby-rack-mount/Makefile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/08 21:27:56 jeremy Exp $
|
||||||
|
|
||||||
|
COMMENT= stackable dynamic tree based Rack router
|
||||||
|
|
||||||
|
DISTNAME= rack-mount-0.6.13
|
||||||
|
CATEGORIES= www
|
||||||
|
|
||||||
|
HOMEPAGE= https://github.com/josh/rack-mount
|
||||||
|
|
||||||
|
# MIT
|
||||||
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
|
MODULES= lang/ruby
|
||||||
|
|
||||||
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
||||||
|
RUN_DEPENDS = www/ruby-rack,${MODRUBY_FLAVOR}>=1.0.0
|
||||||
|
|
||||||
|
CONFIGURE_STYLE= ruby gem
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
5
www/ruby-rack-mount/distinfo
Normal file
5
www/ruby-rack-mount/distinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
MD5 (rack-mount-0.6.13.gem) = KDHamLZ3mJ82SVQ5noczDw==
|
||||||
|
RMD160 (rack-mount-0.6.13.gem) = o/yJVqzRPVLqctL5MN8mobNG6C8=
|
||||||
|
SHA1 (rack-mount-0.6.13.gem) = 6k7x8ceW0C8hxlho6ORQrnVimak=
|
||||||
|
SHA256 (rack-mount-0.6.13.gem) = xgOfv8LTtHHg3ZTULUDUdMPSjKjsKApqOcpgaBTlbYw=
|
||||||
|
SIZE (rack-mount-0.6.13.gem) = 30208
|
8
www/ruby-rack-mount/pkg/DESCR
Normal file
8
www/ruby-rack-mount/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Rack::Mount is 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.
|
49
www/ruby-rack-mount/pkg/PLIST
Normal file
49
www/ruby-rack-mount/pkg/PLIST
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/08 21:27:56 jeremy Exp $
|
||||||
|
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/LICENSE
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/README.rdoc
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/analysis/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/analysis/frequency.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/analysis/histogram.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/analysis/splitting.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/code_generation.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/generatable_regexp.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/multimap.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/prefix.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/regexp_with_named_groups.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/route.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/route_set.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/strexp/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/strexp.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/strexp/parser.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/strexp/parser.y
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/strexp/tokenizer.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/strexp/tokenizer.rex
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/utils.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/multimap/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/multimap/multimap.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/multimap/multiset.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/multimap/nested_multimap.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/alternation.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/anchor.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/atom.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/character.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/character_class.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/collection.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/expression.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/group.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/options.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/parser.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/tokenizer.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/vendor/regin/regin/version.rb
|
||||||
|
${GEM_LIB}/gems/${DISTNAME}/lib/rack/mount/version.rb
|
||||||
|
${GEM_LIB}/specifications/${DISTNAME}.gemspec
|
Loading…
Reference in New Issue
Block a user