# Pyre: Because there isn't a real API for Campfire. module Pyre # :stopdoc: VERSION = '0.3.1' LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR # :startdoc: # Returns the version string for the library. # def self.version VERSION end # :stopdoc: class LoginError < StandardError; end class CommunicationError < StandardError; end class UploadError < StandardError; end class NavigationError < StandardError; end # :startdoc: end require 'uri' begin require 'mechanize' rescue LoadError require 'rubygems' require 'mechanize' end require 'pyre/campfire' require 'pyre/room'