solusvm 0.6.1 → 0.7.0

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.
Files changed (4) hide show
  1. data/VERSION.yml +2 -2
  2. data/bin/solusvm +6 -0
  3. data/solusvm.gemspec +2 -2
  4. metadata +5 -5
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :build:
4
- :minor: 6
5
- :patch: 1
4
+ :minor: 7
5
+ :patch: 0
@@ -21,6 +21,7 @@ $shell_methods['server-changeplan'] = "<vserverid> <newplan>"
21
21
  $shell_methods['server-check-exists'] = "<vserverid>"
22
22
  $shell_methods['server-terminate'] = "<vserverid>"
23
23
 
24
+ $shell_methods['node-stats'] = "<nodeid>"
24
25
  $shell_methods['node-available-ips'] = "<nodeid>"
25
26
 
26
27
  def list_commands
@@ -131,6 +132,11 @@ else
131
132
  else
132
133
  puts ips
133
134
  end
135
+ when 'node-stats'
136
+ stats = general.node_statistics(ARGV[0])
137
+ stats.each do |k,v|
138
+ puts "#{k} => #{v}"
139
+ end
134
140
  end
135
141
  rescue Exception => e
136
142
  puts "Error: #{e}\n\n"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{solusvm}
8
- s.version = "0.6.1"
8
+ s.version = "0.7.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Mazzi"]
12
- s.date = %q{2010-08-04}
12
+ s.date = %q{2010-08-31}
13
13
  s.default_executable = %q{solusvm}
14
14
  s.description = %q{Solusvm allows for easy interaction with the SolusVM Admin::API.}
15
15
  s.email = %q{jmazzi@gmail.com}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solusvm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 6
9
- - 1
10
- version: 0.6.1
8
+ - 7
9
+ - 0
10
+ version: 0.7.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Mazzi
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-04 00:00:00 -04:00
18
+ date: 2010-08-31 00:00:00 -04:00
19
19
  default_executable: solusvm
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency