From: Jamis Buck Date: 2005-01-18T23:32:30+09:00 Subject: Re: [ANN] WWW::Mechanize alike in Ruby On 22:04 Tue 18 Jan , Michael Neumann wrote: > Hi there, > > I just read the Web-testing thread in the latest "Ruby Weekly News" and want > to tell the interested people that I hacked up a little library which I use > in some small projects. Web::Unit didn't work for my purposes, and it was > easier to reinvent the wheel than to hack Web::Unit (of course I first tried > to hack it...). > > It depends on narf-lib (>= 0.6.3) more exactly, it's version of htmltools, and > requires Ruby-current (due to limitations in the net/http library of 1.8.2). Isn't 1.8.2 the current Ruby? Or does "Ruby-current" mean something other than what I'm understanding it to mean? > If you want to try it out with Ruby 1.8.2, just get the net/*.rb files from > Ruby-current and use these instead (or use local overrides: > $LOAD_PATH.unshift './net-overrides' ... ). > > Features: > * Cookies (very preliminary, no expire etc.) > * automatic redirect > * Forms, Links > [snip] > > I've realized that Ruby has client libraries for www/http (cgi.rb, net/http) > and server libraries for http (webrick), but not a common library that puts > those things together... Nice job, Michael. I'm looking forward to trying this one out. - Jamis -- Jamis Buck jamis_buck@byu.edu http://www.jamisbuck.org/jamis ------------------------------ "I am Victor of Borge. You will be assimil-nine-ed."