RubyGems Navigation menu

fast_xs 0.7.1

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.

Versions:

  1. 0.8.0 - January 26, 2011 (21.5 KB)
  2. 0.7.3 - July 31, 2009 (20 KB)
  3. 0.7.2 - July 31, 2009 (20 KB)
  4. 0.7.1 - July 30, 2009 (20 KB)
  5. 0.7 - February 7, 2009 (10 KB)
Show all versions (10 total)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Eric Wong

Owners:

C9f60c0cb1d941fa8e93bbfcb907c27e18813f71506ebad74179bf8c5a136696

Total downloads 446,159

For this version 1,666

Show all versions (10 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'fast_xs', '~> 0.7.1' = Copy to clipboard Copied!

install:
gem install fast_xs -v 0.7.1 = Copy to clipboard Copied!

Links: