Merge pull request #3226 from fog/enable_brightbox_storage
[Brightbox] Update Brightbox gem to add storage
This commit is contained in:
commit
c2978a2365
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue