quickmox 0.1.4 → 0.2.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 (3) hide show
  1. data/README.md +6 -3
  2. data/lib/quickmox/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -37,9 +37,12 @@ host = Host.new(hostname: hostname, username: user, password: pass).connect
37
37
  p host.localname
38
38
  p host.uptime
39
39
 
40
- host.guests.each do |guest_id|
41
- p host.guest_params(guest_id)
42
- p host.guest_status(guest_id)
40
+ host.guests.each do |guest|
41
+ guest.scan
42
+ p guest.status
43
+ guest.params.keys.each do |key|
44
+ puts "#{key}: #{guest.params[key]}"
45
+ end
43
46
  end if host.is_proxmox?
44
47
 
45
48
  host.disconnect
@@ -1,3 +1,3 @@
1
1
  module Quickmox
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickmox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: