cloudstack_client 0.2.10 → 0.2.11

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: 43c3f2c6cbd2c9fce29924116038430b9ac604e0
4
- data.tar.gz: 6a1f2a09db25a4e900b789745319198759bf38bd
3
+ metadata.gz: 82695b2c1b8b63fbd16ddb3626ca087ea2cf6b79
4
+ data.tar.gz: 5cf830806c2c7b1a59c6bb052a0edd7ee5312e80
5
5
  SHA512:
6
- metadata.gz: d96c69957ef3a4fd0776edecc5b452b8fb827a67b9f38cac4f8dbc00a5ccaa8519f79aceb4eb367ff6ee48b58d26f126f7031e5cd588bdc96972d9f273d1286d
7
- data.tar.gz: c2aace87c686c8e7b7bb5e7f3bf3aeba2dc326b6f14d30881e66d575f7f2af6eb0c7670615f7438ba1a9f681fdcb4dc045ae09e67779c0ff194774491259fce7
6
+ metadata.gz: 8172c6004b63327fa2b70d440727902e38e32984215edb58d0c058a06c55d3c55dab0d80e3d5a96d5178337b15844d235bc4a0b06d59e59769d6021845a45c3f
7
+ data.tar.gz: c22834630570b1234713905b5e5305f0a6ec77be63c4b59a08a3e91b3c1ada7054f628d9decdc0b4e13ace5e1554d75afdf48eb24fa8d83530b5a7ba406f2259
data/README.md CHANGED
@@ -4,7 +4,7 @@ A ruby CloudStack API client.
4
4
 
5
5
  ## Installation
6
6
 
7
- Install the cloudstack-cli gem:
7
+ Install the cloudstack_client gem:
8
8
 
9
9
  $ gem install cloudstack_client
10
10
 
@@ -23,4 +23,4 @@ Install the cloudstack-cli 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-cli/raw/master/LICENSE.txt) file for further details.
26
+ Released under the MIT License. See the [LICENSE](https://bitbucket.org/swisstxt/cloudstack_client/raw/master/LICENSE.txt) file for further details.
@@ -9,6 +9,8 @@ module CloudstackClient
9
9
  params = {
10
10
  'command' => 'listCapacity',
11
11
  }
12
+ params['zoneid'] = args[:zone_id] if args[:zone_id]
13
+ params['type'] = args[:type] if args[:type]
12
14
 
13
15
  json = send_request(params)
14
16
  json['capacity'] || []
@@ -9,6 +9,7 @@ module CloudstackClient
9
9
  params = {
10
10
  'command' => 'listPods',
11
11
  }
12
+ params['podid'] = args[:pod_id] if args[:pod_id]
12
13
 
13
14
  json = send_request(params)
14
15
  json['pod'] || []
@@ -1,3 +1,3 @@
1
1
  module CloudstackClient
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
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.10
4
+ version: 0.2.11
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-08 00:00:00.000000000 Z
11
+ date: 2013-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc