From: Edgardo Hames Date: 2005-11-04T23:09:24+09:00 Subject: Re: [SCRIPT] auto rubyforge releasing On 11/4/05, Ara.T.Howard wrote: > > this is one of the ugliest, but most useful, things i've written in a while. > thought someone else might enjoy it too. > > > file: rubyforge > > # config > # > config = { > "username" => "username", # this must be your username > "password" => "password", # this must be your password > > "group_id" => 1024, # this is codeforpeople. it's just a default... > > "package_ids" => { # configure shortcuts for your packages here > "traits" => 1241, > "lockfile" => 1242, > }, > > "uri" => "http://rubyforge.org", > "cookie_jar" => File::join(File::expand_path("~"), ".rubyforge.cookie_jar"), > } How about getting this from a YAML file? I'd love to post the patch but I don't have ruby to test it on this PC. Just thinking, Ed -- Encontr� a "Tu psic�pata favorito" http://tuxmaniac.blogspot.com Thou shalt study thy libraries and strive not to reinvent them without cause, that thy code may be short and readable and thy days pleasant and productive. -- Seventh commandment for C programmers