Port details on branch 2023Q3 |
- rubygem-emk-sinatra-url-for Construct absolute paths and full URLs for a Sinatra application
- 0.2.1 www
=3 0.2.1Version of this port present on the latest quarterly branch. - Maintainer: ruby@FreeBSD.org
 - Port Added: 2010-08-09 05:36:35
- Last Update: 2023-01-14 23:08:33
- Commit Hash: 18c6e18
- People watching this port, also watch:: newfile, p5-MIME-Tools, py311-Automat, libssh, py311-beautifulsoup
- Also Listed In: rubygems
- License: MIT
- WWW:
- https://github.com/emk/sinatra-url-for
- Description:
- sinatra-url-for constructs absolute paths and full URLs for
handlers in a Sinatra application. Assuming that your application
is running on example.com, and that it has been mapped to /myapp,
you should be able call url_for from within a handler as follows:
url_for "/" # Returns "/myapp/"
url_for "/foo" # Returns "/myapp/foo"
url_for "/foo", :full # Returns "http://example.com/myapp/foo"
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-emk-sinatra-url-for>0:www/rubygem-emk-sinatra-url-for
- To install the port:
- cd /usr/ports/www/rubygem-emk-sinatra-url-for/ && make install clean
- To add the package, run one of these commands:
- pkg install www/rubygem-emk-sinatra-url-for
- pkg install rubygem-emk-sinatra-url-for
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-emk-sinatra-url-for
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (rubygem/emk-sinatra-url-for-0.2.1.gem) = f2c9dfe5f1c8a162efeafc4c8cc1734fe536bee0d5b64f17049b4e956958a565
SIZE (rubygem/emk-sinatra-url-for-0.2.1.gem) = 5632
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-sinatra>=0.9.1.1 : www/rubygem-sinatra
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby30 : lang/ruby30
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- net-mgmt/rubygem-oxidized-web
Configuration Options:
- No options to configure
- Options name:
- www_rubygem-emk-sinatra-url-for
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|