mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[terremark|vcloud] deprecate 0.8
deprecate 0.8 vcloud-ish terremark would revisit with from-scratchish vcloud 1.0
This commit is contained in:
parent
0cc5773bf2
commit
1049171c27
3 changed files with 25 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue