[Brightbox] Update Brightbox gem to add storage

This commit is contained in:
Paul Thornthwaite 2014-04-22 13:50:58 +01:00
parent aa878f9e18
commit dde9042ae0
2 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,7 @@ Gem::Specification.new do |s|
s.add_dependency('ipaddress', '~>0.5')
# Modular providers
s.add_dependency("fog-brightbox")
s.add_dependency("fog-brightbox", "~> 0.4")
s.add_dependency("fog-softlayer")
s.add_dependency("fog-sakuracloud", ">= 0.0.4")
s.add_dependency("fog-radosgw", ">=0.0.2")

View File

@ -4,8 +4,10 @@ class Brightbox < Fog::Bin
case key
when :compute
Fog::Compute::Brightbox
when :storage
Fog::Storage::Brightbox
else
raise ArgumentError, "Unrecognized service: #{key}"
raise ArgumentError, "Unsupported #{self} service: #{key}"
end
end