Bug 149359 - New port: www/rubygem-emk-sinatra-url-for (Sinatra extn for constructing paths)
Summary: New port: www/rubygem-emk-sinatra-url-for (Sinatra extn for constructing paths)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 12:10 UTC by Eric Freeman
Modified: 2010-08-23 06:32 UTC (History)
0 users

See Also:


Attachments
file.shar (2.22 KB, text/plain)
2010-08-06 12:10 UTC, Eric Freeman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Freeman 2010-08-06 12:10:04 UTC
Simple rubygem port of this sinatra extension used to construct absolute paths and full URLs to actions in a Sinatra application

http://github.com/emk/sinatra-url-for/

Sorry about the name - quite a mouthful!
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-08-09 06:35:53 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-08-09 06:36:14 UTC
miwi        2010-08-09 05:36:05 UTC

  FreeBSD ports repository

  Modified files:
    www                  Makefile 
  Added files:
    www/rubygem-emk-sinatra-url-for Makefile distinfo pkg-descr 
  Log:
  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"
  
  WWW: http://github.com/emk/sinatra-url-for
  
  PR:             ports/149359
  Submitted by:   Eric Freeman <freebsdports at chillibear.com>
  
  Revision  Changes    Path
  1.2657    +1 -0      ports/www/Makefile
  1.1       +22 -0     ports/www/rubygem-emk-sinatra-url-for/Makefile (new)
  1.1       +3 -0      ports/www/rubygem-emk-sinatra-url-for/distinfo (new)
  1.1       +10 -0     ports/www/rubygem-emk-sinatra-url-for/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-08-23 06:32:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

to committer