1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/providers/brightbox
Paul Thornthwaite 98cb07f59d [Brightbox] Remove dependency on .fog in test
This isolates the tests from the values in `Fog.credentials` which is
based on the contents of `~/.fog`

Underlying problem is that the code (and many others) rely on the Fog
global making it too tightly coupled to the environment hence having to
stub.

Full issue: https://github.com/fog/fog/issues/1390

This will probably be a repeating pattern we need to work on to DRY up
so every test from every provider doesn't include this setup workaround.
2014-03-13 10:30:35 +00:00
..
lib/fog [Brightbox] Extract to provider module 2014-02-19 21:43:29 +00:00
test/fog/compute [Brightbox] Remove dependency on .fog in test 2014-03-13 10:30:35 +00:00
.gitignore [Brightbox] Round out fog-brightbox gem 2014-03-12 16:11:00 +00:00
fog-brightbox.gemspec [Brightbox] Use minitest in Brightbox module 2014-03-12 16:30:57 +00:00
Gemfile [Brightbox] Round out fog-brightbox gem 2014-03-12 16:11:00 +00:00
LICENSE.txt [Brightbox] Round out fog-brightbox gem 2014-03-12 16:11:00 +00:00
Rakefile [Brightbox] Use minitest in Brightbox module 2014-03-12 16:30:57 +00:00
README.md [Brightbox] Round out fog-brightbox gem 2014-03-12 16:11:00 +00:00

Brightbox Cloud module for fog (The Ruby cloud services library)

This gem is a modular for the fog gem that allows you to manage resources in the Brightbox Cloud.

It is included by the main fog metagem but can used as an independent library in other applications.

This includes support for the following services:

  • Compute
    • Images
    • Load Balancers
    • SQL Cloud instances

Currently all services are grouped within compute but will be moved to their own sections when standardisation of fog progresses.

Installation

Add this line to your application's Gemfile:

gem "fog-brightbox"

And then execute:

$ bundle

Or install it yourself as:

$ gem install fog-brightbox

Usage

Please see the following references for instructions using the main fog gem and its modules:

Contributing

fog modules are kept within the main repo.

  1. Fork it ( http://github.com/fog/fog/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request