cloudstack_client 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e44fc99142b981278ff7bc7536fbd3367b572c8c
4
- data.tar.gz: 6cfbdfaf0772109b003045e485e71ec8d958956c
3
+ metadata.gz: c0c4c9cb05893c1de7b957fe90cbecbecc0568c8
4
+ data.tar.gz: 34477110c6f9b11e92669b4ffd5a68726f95ab44
5
5
  SHA512:
6
- metadata.gz: d5260fde17a790de97c3c9b615ca0cf86dfdc239e59b409529f084cbbf6f5d615b37fd39f111c86832be1ced65ba134a3f6b06802d645ec11eae586b26e9686b
7
- data.tar.gz: 8f813c144856a8cae51dbe6bf6a5bfd92ce02c453126f03c4b8280cc8d57267946c7fcdaafb8f25adf176bee2ba3387c81ccfbe357e83eb0d6731ac8c10b5ccb
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://bitbucket.org/swisstxt/cloudstack_client/raw/master/LICENSE.txt) file for further details.
26
+ Released under the MIT License. See the [LICENSE](https://raw.github.com/niwo/cloudstack_client/master/LICENSE.txt) file for further details.
@@ -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://bitbucket.org/swisstxt/cloudstack_client"
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
@@ -1,3 +1,3 @@
1
1
  module CloudstackClient
2
- VERSION = "0.2.14"
2
+ VERSION = "0.2.15"
3
3
  end
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.14
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-28 00:00:00.000000000 Z
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://bitbucket.org/swisstxt/cloudstack_client
80
+ homepage: https://github.com/niwo/cloudstack_client
81
81
  licenses:
82
82
  - MIT
83
83
  metadata: {}