github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

nrk / hpricot-pure

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Simply Hpricot, just made "pure". — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updated the README 
nrk (author)
Tue Feb 24 13:30:24 -0800 2009
commit  263b2b4abdda573d574b695418ac0e9bd3ee0334
tree    4a4e1808c46bd6b2cc8bd301bcc68dc7f24b0378
parent  f37c371e46e2fe990fdb1ee22034e265453fce86
hpricot-pure /
name age
history
message
file README Loading commit data...
directory lib/
directory test/
README
hpricot-pure - simply Hpricot, just made "pure".
===============================================================================

PREMISE: THIS IS JUST AN EXPERIMENT

Ok I was just bored, but as an unexpected result of my boredom, hpricot-pure 
turned out to be actually functioning after a couple of hours of laid-back 
hacking so I thought "why not releasing the source code?".

hpricot-pure is a version of Hpricot that doesn't rely on a native extension, 
instead it is written entirely in pure Ruby. It is currently based on Hpricot 
0.6.164 and I have no plans to support later versions of Hpricot, but I might 
reconsider this after pushing out the new features of Hpricot into 
ironruby-hpricot.

Ok so now what is the point of hpricot-pure? Well, as I have said I was bored, 
there is really nothing much to say. But I can't exclude that someone may find 
it useful :)

NOTE: there is a known bug! Actually, when the source string/io does not fit 
in the buffer, hpricot-pure skips a character when reading the next chunk of 
data. I'm still not sure if this is a bug introduced by the ragel-generated 
code or if I'm missing something, but it is indeed worth of an in-depth 
examination.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server