[terremark|vcloud] deprecate 0.8

deprecate 0.8 vcloud-ish terremark
would revisit with from-scratchish vcloud 1.0
This commit is contained in:
geemus 2011-01-11 17:08:11 -08:00
parent 0cc5773bf2
commit 1049171c27
3 changed files with 25 additions and 0 deletions

View File

@ -15,6 +15,10 @@ module Fog
extend Fog::Terremark::Shared
def self.new(options={})
location = caller.first
warning = "[yellow][WARN] Fog::Terremark::Ecloud is deprecated, use Fog::Vcloud::Terremark::Ecloud[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
unless @required
shared_requires

View File

@ -15,6 +15,10 @@ module Fog
extend Fog::Terremark::Shared
def self.new(options={})
location = caller.first
warning = "[yellow][WARN] Fog::Terremark::Vcloud is deprecated, to be replaced with Vcloud 1.0 someday/maybe[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
unless @required
shared_requires

View File

@ -7,6 +7,14 @@ module Fog
class Real < Fog::Vcloud::Real
def initialize(options = {})
location = caller.first
warning = "[yellow][WARN] Fog::Vcloud::Terremark::Vcloud is deprecated, to be replaced with Vcloud 1.0 someday/maybe[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
super
end
def supporting_versions
["0.8", "0.8a-ext1.6"]
end
@ -14,6 +22,15 @@ module Fog
end
class Mock < Fog::Vcloud::Mock
def initialize(options = {})
location = caller.first
warning = "[yellow][WARN] Fog::Vcloud::Terremark::Vcloud is deprecated, to be replaced with Vcloud 1.0 someday/maybe[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
super
end
end
end