Merge pull request #3226 from fog/enable_brightbox_storage

[Brightbox] Update Brightbox gem to add storage
This commit is contained in:
Paul Thornthwaite 2014-10-30 11:42:28 +00:00
commit c2978a2365
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