cloudstack-cli 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -34,7 +34,7 @@ See the help screen:
34
34
 
35
35
  Bootsrap a server:
36
36
 
37
- $ cs server create server01 --zone ZUERICH_IX --port-forwarding 193.218.104.10:22 193.218.104.10:80 --template CentOS-6.4-x64-v1.4 --offering 1cpu_1gb --networks M_Demo
37
+ $ cs server create server-01 --template CentOS-6.4-x64-v1.4 --offering 1cpu_1gb --port-rules 193.218.104.10:22 193.218.104.10:80
38
38
 
39
39
  ### Example 2
40
40
 
@@ -1,3 +1,3 @@
1
1
  module CloudstackCli
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -17,7 +17,7 @@ module CloudstackClient
17
17
  Dir.glob(File.dirname(__FILE__) + "/commands/*.rb").each do |file|
18
18
  require file
19
19
  module_name = File.basename(file, '.rb').split('_').map{|f| f.capitalize}.join
20
- include Object.const_get("CloudstackClient::" + module_name)
20
+ include Object.const_get("CloudstackClient").const_get(module_name)
21
21
  end
22
22
 
23
23
  def initialize(api_url, api_key, secret_key)
metadata CHANGED
@@ -1,32 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Nik Wolfgramm
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-08-12 00:00:00.000000000 Z
12
+ date: 2013-08-13 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rdoc
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - '>='
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - '>='
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: thor
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -114,7 +121,6 @@ files:
114
121
  - test/stack_example.json
115
122
  homepage: https://bitbucket.org/swisstxt/cloudstack-cli
116
123
  licenses: []
117
- metadata: {}
118
124
  post_install_message:
119
125
  rdoc_options:
120
126
  - --line-numbers
@@ -122,20 +128,22 @@ rdoc_options:
122
128
  require_paths:
123
129
  - lib
124
130
  required_ruby_version: !ruby/object:Gem::Requirement
131
+ none: false
125
132
  requirements:
126
- - - '>='
133
+ - - ! '>='
127
134
  - !ruby/object:Gem::Version
128
135
  version: 1.9.3
129
136
  required_rubygems_version: !ruby/object:Gem::Requirement
137
+ none: false
130
138
  requirements:
131
- - - '>='
139
+ - - ! '>='
132
140
  - !ruby/object:Gem::Version
133
141
  version: '0'
134
142
  requirements: []
135
143
  rubyforge_project:
136
- rubygems_version: 2.0.2
144
+ rubygems_version: 1.8.23
137
145
  signing_key:
138
- specification_version: 4
146
+ specification_version: 3
139
147
  summary: cloudstack-cli CloudStack API client
140
148
  test_files:
141
149
  - test/stack_example.json
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 8af3fabe042b05ed56a834d27d440330855a9519
4
- data.tar.gz: 0c436d43e029cb1bd32069996f804eef1e38805d
5
- SHA512:
6
- metadata.gz: cb8be056ad1c9c3b323ef8360a4a245a405f73bb3dcf9097f088ea432b6cc6cb2a664ddf8d46527aa5863a4b23f24cd215c3eac1278c210dd498a4429e208415
7
- data.tar.gz: eb40a1ed892960a8ada945d44b5d6491b71ff770d453a4f19a17cb3f517c61ee6d584f3830060a3635c3aa35a354c4ab479abf439ddfc64ddeaa21be15ab6ff9