fog 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/fog.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  ## If your rubyforge_project name is different, then edit it and comment out
8
8
  ## the sub! line in the Rakefile
9
9
  s.name = 'fog'
10
- s.version = '0.2.1'
11
- s.date = '2010-06-27'
10
+ s.version = '0.2.2'
11
+ s.date = '2010-06-28'
12
12
  s.rubyforge_project = 'fog'
13
13
 
14
14
  ## Make sure your summary is short. The description may be as long
data/lib/fog.rb CHANGED
@@ -39,7 +39,7 @@ require 'fog/vcloud'
39
39
  module Fog
40
40
 
41
41
  unless const_defined?(:VERSION)
42
- VERSION = '0.2.1'
42
+ VERSION = '0.2.2'
43
43
  end
44
44
 
45
45
  module Mock
@@ -47,7 +47,8 @@ module Fog
47
47
  :expects => 200,
48
48
  :headers => {'Content-Type' => 'application/vnd.tmrk.ecloud.internetService+xml'},
49
49
  :method => 'POST',
50
- :uri => internet_services_uri
50
+ :uri => internet_services_uri,
51
+ :parse => true
51
52
  )
52
53
  end
53
54
 
@@ -12,7 +12,8 @@ module Fog
12
12
  :expects => 200,
13
13
  :headers => {'Content-Type' => 'application/vnd.tmrk.ecloud.nodeService+xml'},
14
14
  :method => 'POST',
15
- :uri => nodes_uri
15
+ :uri => nodes_uri,
16
+ :parse => true
16
17
  )
17
18
  end
18
19
 
@@ -42,7 +42,8 @@ module Fog
42
42
  :expects => 200,
43
43
  :headers => {'Content-Type' => 'application/vnd.tmrk.ecloud.internetService+xml'},
44
44
  :method => 'PUT',
45
- :uri => internet_service_uri
45
+ :uri => internet_service_uri,
46
+ :parse => true
46
47
  )
47
48
  end
48
49
 
@@ -19,7 +19,8 @@ module Fog
19
19
  :expects => 200,
20
20
  :headers => {'Content-Type' => 'application/vnd.tmrk.ecloud.networkService+xml'},
21
21
  :method => 'PUT',
22
- :uri => network_uri
22
+ :uri => network_uri,
23
+ :parse => true
23
24
  )
24
25
  end
25
26
 
@@ -19,7 +19,8 @@ module Fog
19
19
  :expects => 200,
20
20
  :headers => {'Content-Type' => 'application/vnd.tmrk.ecloud.ip+xml' },
21
21
  :method => 'PUT',
22
- :uri => network_ip_uri
22
+ :uri => network_ip_uri,
23
+ :parse => true
23
24
  )
24
25
  end
25
26
 
@@ -12,7 +12,8 @@ module Fog
12
12
  :expects => 200,
13
13
  :headers => {'Content-Type' => 'application/vnd.tmrk.ecloud.nodeService+xml'},
14
14
  :method => 'PUT',
15
- :uri => node_uri
15
+ :uri => node_uri,
16
+ :parse => true
16
17
  )
17
18
  end
18
19
 
@@ -97,7 +97,8 @@ module Fog
97
97
  :expects => 202,
98
98
  :headers => {'Content-Type' => 'application/vnd.vmware.vcloud.vApp+xml' },
99
99
  :method => 'PUT',
100
- :uri => vapp_uri
100
+ :uri => vapp_uri,
101
+ :parse => true
101
102
  )
102
103
  end
103
104
 
@@ -4,12 +4,12 @@ module Fog
4
4
  module Ecloud
5
5
 
6
6
  module Real
7
- basic_request :delete_node, 200, 'DELETE', {}, ""
7
+ basic_request :delete_internet_service, 200, 'DELETE', {}, ""
8
8
  end
9
9
 
10
10
  module Mock
11
11
 
12
- def delete_node(node_uri)
12
+ def delete_internet_service(service_uri)
13
13
  Fog::Mock.not_implemented
14
14
  end
15
15
  end
@@ -0,0 +1,19 @@
1
+ module Fog
2
+ module Vcloud
3
+ module Terremark
4
+ module Ecloud
5
+
6
+ module Real
7
+ basic_request :delete_node, 200, 'DELETE', {}, ""
8
+ end
9
+
10
+ module Mock
11
+
12
+ def delete_node(node_uri)
13
+ Fog::Mock.not_implemented
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-27 00:00:00 -05:00
17
+ date: 2010-06-28 00:00:00 -05:00
18
18
  default_executable: fog
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency