search for: pluggableparser

Displaying 3 results from an estimated 3 matches for "pluggableparser".

Did you mean: pluggable_parser
2009 Jun 25
2
Bad Form?
...sting a 3rd party system that you can only test the interface to. https://github.com/leehambley/webrat-mechanize-xml-rpc<https://github.com/leehambley/webrat-mechanize-xml-rpc/tree> The problem, or rather question is as such - I have, in my application''s test environment made use of PluggableParser, but overloaded it with the .default, and .html calls to parse everything as myown XMLParser class (copied almost verbatim from the CSVParser example in the RDoc) I have effectively rendered it as not a browser, by forcing it to treat anything that parses as XML as a WWW::Mechanize::File<http:/...
2007 Oct 07
1
How to store a Mechanize object in the database?
...:Mechanize:0xb71295f0 @follow_meta_refresh=false, @key=nil, @user_agent="WWW-Mechanize/0.6.10 (http://rubyforge.org/projects/mechanize/)", @log=nil, @proxy_addr=nil, @keep_alive=true, @user=nil, @pass=nil, @conditional_requests=true, @proxy_port=nil, @pluggable_parser=#<WWW::Mechanize::PluggableParser:0xb712953c @parsers={"text/html"=>WWW::Mechanize::Page}, defaultWWW::Mechanize::File, read_timeoutnil, keep_alive_time300, ca_filenil, watch_for_setnil, proxy_passnil, auth_hash{}, certnil, history[], open_timeoutnil, connection_cache{}, cookie_jar#<WWW::Mechanize::CookieJar:0xb7129...
2007 Feb 26
1
some Mechanize objects never garbage collected?
...1 | delta 1 URI::HTTP 1 | delta 1 Net::HTTP 1 | delta 1 LoadError 1 | delta -1 Hpricot::Doc 1 | delta 1 WWW::Mechanize::PluggableParser 1 | delta 1 StringIO 1 | delta 1 Net::ReadAdapter 1 | delta 1 Net::HTTP::Get 1 | delta 1 WWW::Mechanize 1 | delta 1 WWW::Mechanize::Cook...