wiki-lib
A simple library for easing interaction with wikis (currently just PMWiki) in ruby, in essence, a wrapper around the mechanize gem.
require 'rubygems'
require 'wiki_lib'
@pm_wiki = WikiLib::PMWiki.new('http://www.pmwiki.org/wiki', 'auser', 'apassword')
# get the page
@page = @pm_wiki.get_page('PmWiki/FAQ')
# get the current sandbox text
@sandbox = @pm_wiki.get_edit_text('Main/WikiSandbox')
# upload the reversed sandbox text back to the sandbox
@pm_wiki.upload_page('Main/WikiSandbox', @sandbox.reverse, "You're in backwards land, today".reverse)