Categories: None [Edit]
fast_xs
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.
Total
Ranking: 4,019 of 190,317
Downloads: 2,553,597
Daily
Ranking: 3,063 of 190,280
Downloads: 3,656
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 7,927 | 512,724 | simple_xlsx_writer |
| 8,853 | 400,543 | xlsx_writer |
| 10,007 | 306,602 | chef-expander |
| 36,101 | 35,219 | mysql2xxxx |
| 41,864 | 28,957 | puppet-rundeck |
| 114,472 | 6,336 | virginity |
| 133,254 | 4,708 | erchef-expander |
| 134,012 | 4,664 | set_simple_xlsx_writer |
| 136,707 | 4,511 | conciergelive-simple_xlsx_writer |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 2,333 | 9,164,204 | hoe |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | normalperson | |
| 2 | brianmario |