cloudstack-cli 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f301d07e017172264ceece8dde624f2f8fb380c2
4
- data.tar.gz: ec498ec4f1cfa3629dced834dff1fe56072b0847
3
+ metadata.gz: b40125323297400e446ffdfd031ac259c5f5c428
4
+ data.tar.gz: b0db8bf88f21e74971c31ae2ad144b9be78d7625
5
5
  SHA512:
6
- metadata.gz: 32c0bba3917296754eee2f0f53a421982eaee99d835b3b4308dc7f0da2781ac4d2d6d96eb4120c292a1343bd43d676667cbba78b48bf93136f69588a9b82526c
7
- data.tar.gz: a4b0d1a1c9f78c02b45f2f9d575c0e3530b05cc39c900265daddf0d5f6355de019c44c7e9ac1d6e439fcbcf3143bdbe0dcafddd82bdc24d4b3b680a226ebf698
6
+ metadata.gz: a2a21fadec443296a133fa8516ef4864555f86f6f322c5e0943cdd037ac80c507c00119f8353d7d4f6d06d631c99fdf3ed69011053885cecae9a171c417d2bc7
7
+ data.tar.gz: 6906eb9f5c110208a8cb278ca6833b80c00b7781efa28a1fb2f8ff136283001c667689316257121887f33bb47d79ef7d2679dbd6f3e6c1404d7a221b186436dc
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'cloudstack_client', git: 'git@github.com:niwo/cloudstack_client.git', branch: 'master'
4
- gem 'thor', git: 'git@github.com:erikhuda/thor.git', branch: 'master'
3
+ #gem 'cloudstack_client', git: 'git@github.com:niwo/cloudstack_client.git', branch: 'master'
4
+ #gem 'thor', git: 'git@github.com:erikhuda/thor.git', branch: 'master'
5
5
 
6
6
  # Specify your gem's dependencies in cloudstack-cli.gemspec
7
7
  gemspec
data/Gemfile.lock CHANGED
@@ -1,38 +1,24 @@
1
- GIT
2
- remote: git@github.com:erikhuda/thor.git
3
- revision: e5e77c499b3c408c47da46285f5248c0365b2429
4
- branch: master
5
- specs:
6
- thor (0.19.1)
7
-
8
- GIT
9
- remote: git@github.com:niwo/cloudstack_client.git
10
- revision: 0a9144ea5bad49ef8c0227151caa4e1574589b2a
11
- branch: master
12
- specs:
13
- cloudstack_client (0.7.1)
14
-
15
1
  PATH
16
2
  remote: .
17
3
  specs:
18
- cloudstack-cli (0.11.1)
4
+ cloudstack-cli (0.11.2)
19
5
  cloudstack_client (~> 0.7, >= 0.7.1)
20
6
  thor (~> 0.19.1)
21
7
 
22
8
  GEM
23
9
  remote: https://rubygems.org/
24
10
  specs:
11
+ cloudstack_client (0.7.1)
25
12
  json (1.8.1)
26
- rake (10.3.2)
27
- rdoc (4.1.2)
13
+ rake (10.4.2)
14
+ rdoc (4.2.0)
28
15
  json (~> 1.4)
16
+ thor (0.19.1)
29
17
 
30
18
  PLATFORMS
31
19
  ruby
32
20
 
33
21
  DEPENDENCIES
34
22
  cloudstack-cli!
35
- cloudstack_client!
36
23
  rake (~> 10.3)
37
24
  rdoc (~> 4.1)
38
- thor!
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'cloudstack-cli'
4
+
5
+ CloudstackCli::Cli.start(ARGV)
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
 
17
17
  gem.required_ruby_version = '>= 1.9.3'
18
18
  gem.files = `git ls-files`.split($/)
19
- gem.executables = %w(cs)
19
+ gem.executables = %w(cs cloudstack-cli)
20
20
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
21
21
  gem.require_paths = %w(lib)
22
22
  gem.rdoc_options = %w[--line-numbers --inline-source]
@@ -148,7 +148,7 @@ class Server < CloudstackCli::Base
148
148
  expunge: options[:expunge]
149
149
  }
150
150
  )
151
- puts
151
+ puts
152
152
  end
153
153
  end
154
154
  end
@@ -164,7 +164,7 @@ class Server < CloudstackCli::Base
164
164
  option :account
165
165
  option :force
166
166
  def stop(name)
167
- options[project_id] = find_project['id'] if options[:project]
167
+ options[:project_id] = find_project['id'] if options[:project]
168
168
  exit unless options[:force] || yes?("Stop server #{name}? [y/N]:", :magenta)
169
169
  client.stop_server(name, options)
170
170
  puts
@@ -174,7 +174,7 @@ class Server < CloudstackCli::Base
174
174
  option :project
175
175
  option :account
176
176
  def start(name)
177
- options[project_id] = find_project['id'] if options[:project]
177
+ options[:project_id] = find_project['id'] if options[:project]
178
178
  say("Start server #{name}", :magenta)
179
179
  client.start_server(name, options)
180
180
  puts
@@ -185,7 +185,7 @@ class Server < CloudstackCli::Base
185
185
  option :account
186
186
  option :force
187
187
  def restart(name)
188
- options[project_id] = find_project['id'] if options[:project]
188
+ options[:project_id] = find_project['id'] if options[:project]
189
189
  exit unless options[:force] || yes?("Reboot server #{name}? [y/N]:", :magenta)
190
190
  client.reboot_server(name, options)
191
191
  puts
@@ -1,3 +1,3 @@
1
1
  module CloudstackCli
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstack-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nik Wolfgramm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-05 00:00:00.000000000 Z
11
+ date: 2014-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -77,6 +77,7 @@ email:
77
77
  - nik.wolfgramm@gmail.com
78
78
  executables:
79
79
  - cs
80
+ - cloudstack-cli
80
81
  extensions: []
81
82
  extra_rdoc_files: []
82
83
  files:
@@ -87,6 +88,7 @@ files:
87
88
  - LICENSE.txt
88
89
  - README.md
89
90
  - Rakefile
91
+ - bin/cloudstack-cli
90
92
  - bin/cs
91
93
  - cloudstack-cli.gemspec
92
94
  - completions/cs.bash