fog 0.0.74 → 0.0.75
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/fog.gemspec +3 -2
- data/lib/fog.rb +1 -1
- data/lib/fog/terremark.rb +1 -0
- data/lib/fog/terremark/requests/delete_public_ip.rb +28 -0
- metadata +4 -3
data/Rakefile
CHANGED
@@ -95,7 +95,7 @@ task :release => :build do
|
|
95
95
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
96
96
|
sh "git tag v#{version}"
|
97
97
|
sh "git push origin master"
|
98
|
-
sh "git push v#{version}"
|
98
|
+
sh "git push origin v#{version}"
|
99
99
|
sh "gem push pkg/#{name}-#{version}.gem"
|
100
100
|
end
|
101
101
|
|
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.0.
|
11
|
-
s.date = '2010-04-
|
10
|
+
s.version = '0.0.75'
|
11
|
+
s.date = '2010-04-21'
|
12
12
|
s.rubyforge_project = 'fog'
|
13
13
|
|
14
14
|
## Make sure your summary is short. The description may be as long
|
@@ -278,6 +278,7 @@ Gem::Specification.new do |s|
|
|
278
278
|
lib/fog/terremark/requests/create_internet_service.rb
|
279
279
|
lib/fog/terremark/requests/delete_internet_service.rb
|
280
280
|
lib/fog/terremark/requests/delete_node_service.rb
|
281
|
+
lib/fog/terremark/requests/delete_public_ip.rb
|
281
282
|
lib/fog/terremark/requests/delete_vapp.rb
|
282
283
|
lib/fog/terremark/requests/deploy_vapp.rb
|
283
284
|
lib/fog/terremark/requests/get_catalog.rb
|
data/lib/fog.rb
CHANGED
data/lib/fog/terremark.rb
CHANGED
@@ -42,6 +42,7 @@ module Fog
|
|
42
42
|
require 'fog/terremark/requests/create_internet_service'
|
43
43
|
require 'fog/terremark/requests/delete_internet_service'
|
44
44
|
require 'fog/terremark/requests/delete_node_service'
|
45
|
+
require 'fog/terremark/requests/delete_public_ip'
|
45
46
|
require 'fog/terremark/requests/delete_vapp'
|
46
47
|
require 'fog/terremark/requests/deploy_vapp'
|
47
48
|
require 'fog/terremark/requests/get_catalog'
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
class Real
|
4
|
+
|
5
|
+
# Destroy a public ip
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * public_ip_id<~Integer> - Id of public ip to destroy
|
9
|
+
#
|
10
|
+
def delete_public_ip(public_ip_id)
|
11
|
+
request(
|
12
|
+
:expects => 200,
|
13
|
+
:method => 'DELETE',
|
14
|
+
:path => "publicIps/#{public_ip_id}"
|
15
|
+
)
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
class Mock
|
21
|
+
|
22
|
+
def delete_public_ip(public_ip_id)
|
23
|
+
raise MockNotImplemented.new("Contributions welcome!")
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 75
|
9
|
+
version: 0.0.75
|
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-04-
|
17
|
+
date: 2010-04-21 00:00:00 -07:00
|
18
18
|
default_executable: fog
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -356,6 +356,7 @@ files:
|
|
356
356
|
- lib/fog/terremark/requests/create_internet_service.rb
|
357
357
|
- lib/fog/terremark/requests/delete_internet_service.rb
|
358
358
|
- lib/fog/terremark/requests/delete_node_service.rb
|
359
|
+
- lib/fog/terremark/requests/delete_public_ip.rb
|
359
360
|
- lib/fog/terremark/requests/delete_vapp.rb
|
360
361
|
- lib/fog/terremark/requests/deploy_vapp.rb
|
361
362
|
- lib/fog/terremark/requests/get_catalog.rb
|