From owner-cvs-all@FreeBSD.ORG Fri Dec 16 22:23:35 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25EDC106567A; Fri, 16 Dec 2011 22:23:35 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EF5C68FC23; Fri, 16 Dec 2011 22:23:34 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id pBGMNYlc044273; Fri, 16 Dec 2011 22:23:34 GMT (envelope-from pgollucci@repoman.freebsd.org) Received: (from pgollucci@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id pBGMNYqE044272; Fri, 16 Dec 2011 22:23:34 GMT (envelope-from pgollucci) Message-Id: <201112162223.pBGMNYqE044272@repoman.freebsd.org> From: "Philip M. Gollucci" Date: Fri, 16 Dec 2011 22:23:34 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/textproc Makefile ports/textproc/rubygem-fast_xs Makefile distinfo pkg-descr X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 22:23:35 -0000 pgollucci 2011-12-16 22:23:34 UTC FreeBSD ports repository Modified files: textproc Makefile Added files: textproc/rubygem-fast_xs Makefile distinfo pkg-descr Log: fast_xs provides C extensions for escaping text. The original String#fast_xs method is based on the xchar code by Sam Ruby: o intertwingly.net/stories/2005/09/28/xchar.rb o intertwingly.net/blog/2005/09/28/XML-Cleansing _why also packages an older version with Hpricot (patches submitted). The version here should be compatible with the latest version of Hpricot code. Ruby on Rails will automatically use String#fast_xs from either Hpricot or this gem version with the bundled Builder package. String#fast_xs is an almost exact translation of Sam Ruby's original implementation (String#to_xs), but it does escape a " (which is an optional, but all parsers are able ot handle it. XML::Builder as packaged in Rails 2.0 will be automatically use String#fast_xs instead of String#to_xs available. WWW: http://fast-xs.rubyforge.org/ PR: ports/163362 Submitted by: Scott Sanders Sponsored by: RideCharge Inc. / Taxi Magic Revision Changes Path 1.1687 +1 -0 ports/textproc/Makefile 1.1 +22 -0 ports/textproc/rubygem-fast_xs/Makefile (new) 1.1 +2 -0 ports/textproc/rubygem-fast_xs/distinfo (new) 1.1 +20 -0 ports/textproc/rubygem-fast_xs/pkg-descr (new)