Project

fanny_pack

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Ruby bindings for the Fantastico API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3.0
~> 0.9.2.2
~> 2.10.0
~> 2.2.0

Runtime

>= 3.0.0
~> 0.8.1
~> 0.0.2
~> 1.1.0
~> 1.1.1
 Project Readme

FannyPack FannyPack Build Status

FannyPack is a Ruby library for working with the Fantastico API.

FannyPack has been tested on MRI 1.9.3, 2.0.0, 2.1.2, and 1.9-compatible JRuby.

Installation

gem install fanny_pack

Usage

Set your Fantastico accountHASH

FannyPack.account_hash = '0mgpwn13s'

Add an IP

FannyPack::IP.add '127.0.0.1'

Add a VPS IP

FannyPack::IP.add '127.0.0.1', :vps

Edit an IP (127.0.0.1 is the current IP, 127.0.0.2 is the new IP)

FannyPack::IP.edit '127.0.0.1', '127.0.0.2'

Deactivate an IP

FannyPack::IP.deactivate '127.0.0.1'

Reactivate an IP

FannyPack::IP.reactivate '127.0.0.1'

Delete an IP

FannyPack::IP.delete '127.0.0.1'

List all IPs

FannyPack::IP.list :all

List only 'normal' IPs

FannyPack::IP.list :normal

List only VPS IPs

FannyPack::IP.list :vps

Include details when listing IPs:

FannyPack::IP.list :all, true

Get an IP's details

FannyPack::IP.details '127.0.0.1'

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (If you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2012-2014 Site5.com. See LICENSE for details.