Class: RubyForge

Class | RubyForge
In: | lib/rubyforge.rb lib/rubyforge/client.rb lib/rubyforge/cookie_manager.rb
Parent: | Object

### Methods

add_file add_release client configure cookie_store create_package delete_package login logout new post_news save_autoconfig scrape_config scrape_project setup uri

### Classes and Modules

Class RubyForge::Client
Class RubyForge::CookieManager

### Attributes

autoconfig | [R] | TODO: add an autoconfig method that is self-repairing, removing key checks
userconfig | [R] | TODO: add an autoconfig method that is self-repairing, removing key checks

### Public Class methods

new(userconfig=nil, autoconfig=nil, opts=nil)

### Public Instance methods

add_file(group_name, package_name, release_name, userfile)

add a file to an existing release under the specified group_id, package_id, and release_id

example :

      add_file("codeforpeople.com", "traits", "0.8.0", "traits-0.8.0.gem")
      add_file("codeforpeople.com", "traits", "0.8.0", "traits-0.8.0.tgz")
      add_file(1024, 1242, "0.8.0", "traits-0.8.0.gem")

add_release(group_id, package_id, release_name, *files)
client()
configure(opts = {})
cookie_store()
create_package(group_id, package_name)
delete_package(group_id, package_id)
login()
logout()
post_news(group_id, subject, body)

Posts news item to `group_id` (can be name) with `subject` and `body`

save_autoconfig()
scrape_config()
scrape_project(project)
setup()
uri()

[Validate]