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.

WWW: http://rubygems.org/gems/heredoc_unindent

PR:		ports/158747
Submitted by:	Loic Pefferkorn <loic-freebsd at loicp.eu>
This commit is contained in:
Steve Wills 2011-07-31 14:11:28 +00:00
parent c51a8d4a08
commit d32d08c006
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278633
4 changed files with 32 additions and 0 deletions

View file

@ -1191,6 +1191,7 @@
SUBDIR += rubygem-ezamar
SUBDIR += rubygem-ferret
SUBDIR += rubygem-formosa
SUBDIR += rubygem-heredoc_unindent
SUBDIR += rubygem-htmlentities
SUBDIR += rubygem-htmltools
SUBDIR += rubygem-ini

View file

@ -0,0 +1,23 @@
# New ports collection makefile for: rubygem-heredoc_unindent
# Date created: 2011-07-08
# Whom: Loic Pefferkorn <loic-freebsd@loicp.eu>
#
# $FreeBSD$
PORTNAME= heredoc_unindent
PORTVERSION= 1.1.2
CATEGORIES= textproc rubygems
MASTER_SITES= RG
MAINTAINER= loic-freebsd@loicp.eu
COMMENT= Removes common margin from indented strings
LICENSE= MIT
RUN_DEPENDS= rubygem-hoe>=2.9.6:${PORTSDIR}/devel/rubygem-hoe
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (rubygem/heredoc_unindent-1.1.2.gem) = 698fea6db6d871f34f94498da8bf6e29330792a4f114f87136579fc63586f5ed
SIZE (rubygem/heredoc_unindent-1.1.2.gem) = 11776

View file

@ -0,0 +1,6 @@
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.
WWW: http://rubygems.org/gems/heredoc_unindent