RubyGems Navigation menu

fast_xs 0.7.2

fast_xs provides C extensions for escaping text. The original String#fast_xs method is based on the xchar code by Sam Ruby: * http://intertwingly.net/stories/2005/09/28/xchar.rb * http://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 """ (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.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.8.0 - January 26, 2011 (21.5 KB)
  2. 0.7.3 - August 05, 2009 (20.0 KB)
  3. 0.7.2 - August 05, 2009 (20.0 KB)
  4. 0.7.1 - August 05, 2009 (20.0 KB)
  5. 0.7 - February 07, 2009* (10.0 KB)
显示所有版本 (共 10 个)

Development 依赖 (1):

hoe >= 2.3.2

业主:

作者:

  • Eric Wong

SHA 256 校验和:

5f6cc2c0fe4243ee40410241fdb64e651a7b265772afe5e760c523df3a76fe8b

下载总量 2,193,457

这个版本 4,095

许可:

需要的 Ruby 版本:

链接: