cloudstack_client 0.2.14 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/cloudstack_client.gemspec +1 -1
- data/lib/cloudstack_client/commands/server.rb +6 -6
- data/lib/cloudstack_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0c4c9cb05893c1de7b957fe90cbecbecc0568c8
|
4
|
+
data.tar.gz: 34477110c6f9b11e92669b4ffd5a68726f95ab44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98376eacd0af0b4ee80398eb2b7075b34713decce757ed0bd481a97cc217bc8a7e02ecd84ab27ddc82be83dd707327b5a5430b2672614a712bd72b7d3c885fa4
|
7
|
+
data.tar.gz: e6eb17b645087dfdfa6be368ce363e470572667f939a264a9c90a1f0bc755685fe5ae12324585d6c60674c67d8e9826830663b4c9a099c725475f3fa04b63a70
|
data/README.md
CHANGED
@@ -23,4 +23,4 @@ Install the cloudstack_client gem:
|
|
23
23
|
|
24
24
|
Copyright (c) 2013, Nik Wolfgramm
|
25
25
|
|
26
|
-
Released under the MIT License. See the [LICENSE](https://
|
26
|
+
Released under the MIT License. See the [LICENSE](https://raw.github.com/niwo/cloudstack_client/master/LICENSE.txt) file for further details.
|
data/cloudstack_client.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.email = ["nik.wolfgramm@gmail.com"]
|
11
11
|
gem.description = %q{A ruby CloudStack API client}
|
12
12
|
gem.summary = %q{A ruby CloudStack API client}
|
13
|
-
gem.homepage = "https://
|
13
|
+
gem.homepage = "https://github.com/niwo/cloudstack_client"
|
14
14
|
gem.license = 'MIT'
|
15
15
|
|
16
16
|
gem.required_ruby_version = '>= 1.9.3'
|
@@ -236,8 +236,8 @@ module CloudstackClient
|
|
236
236
|
# Stops the server with the specified name.
|
237
237
|
#
|
238
238
|
|
239
|
-
def stop_server(name, forced=nil)
|
240
|
-
server = get_server(name)
|
239
|
+
def stop_server(name, forced=nil, project_id=nil)
|
240
|
+
server = get_server(name, project_id)
|
241
241
|
if !server || !server['id']
|
242
242
|
puts "Error: Virtual machine '#{name}' does not exist"
|
243
243
|
exit 1
|
@@ -257,8 +257,8 @@ module CloudstackClient
|
|
257
257
|
# Start the server with the specified name.
|
258
258
|
#
|
259
259
|
|
260
|
-
def start_server(name)
|
261
|
-
server = get_server(name)
|
260
|
+
def start_server(name, project_id=nil)
|
261
|
+
server = get_server(name, project_id)
|
262
262
|
if !server || !server['id']
|
263
263
|
puts "Error: Virtual machine '#{name}' does not exist"
|
264
264
|
exit 1
|
@@ -277,8 +277,8 @@ module CloudstackClient
|
|
277
277
|
# Reboot the server with the specified name.
|
278
278
|
#
|
279
279
|
|
280
|
-
def reboot_server(name)
|
281
|
-
server = get_server(name)
|
280
|
+
def reboot_server(name, project_id=nil)
|
281
|
+
server = get_server(name, project_id)
|
282
282
|
if !server || !server['id']
|
283
283
|
puts "Error: Virtual machine '#{name}' does not exist"
|
284
284
|
exit 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudstack_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nik Wolfgramm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|
@@ -77,7 +77,7 @@ files:
|
|
77
77
|
- lib/cloudstack_client/commands/zone.rb
|
78
78
|
- lib/cloudstack_client/version.rb
|
79
79
|
- lib/connection_helper.rb
|
80
|
-
homepage: https://
|
80
|
+
homepage: https://github.com/niwo/cloudstack_client
|
81
81
|
licenses:
|
82
82
|
- MIT
|
83
83
|
metadata: {}
|