Bug 158747 - New port: textproc/rubygem-heredoc_unindent : Removes common margin from indented strings
Summary: New port: textproc/rubygem-heredoc_unindent : Removes common margin from inde...
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: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 23:20 UTC by loic-freebsd
Modified: 2011-07-31 15:11 UTC (History)
0 users

See Also:


Attachments
file.shar (1.92 KB, text/plain)
2011-07-08 23:20 UTC, loic-freebsd
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description loic-freebsd 2011-07-08 23:20:06 UTC
Hello,

Here the shar file for this new port.

Thanks !

This gem removes common margin from indented strings, such as the ones produced 
by indented heredocs.  In other words, it strips out leading whitespace chars 
at the beggining of each line, but only as much as the line with the 
smallest margin. 

http://rubygems.org/gems/heredoc_unindent

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-08 23:20:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Steve Wills freebsd_committer freebsd_triage 2011-07-31 15:11:38 UTC
State Changed
From-To: open->closed

New port added. Thanks!