simple_stack 0.0.2 → 0.0.3

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.
data/README.markdown CHANGED
@@ -4,7 +4,7 @@ A simple gem to deal with Simple Stack project.
4
4
 
5
5
  Get a simplestack class:
6
6
 
7
- stack = SimpleStack.new :url => url, :username => username, :password => password
7
+ stack = SimpleStack::Connection.new :url => url, :username => username, :password => password
8
8
 
9
9
  Connecting to hypervisor:
10
10
 
@@ -4,8 +4,8 @@ module SimpleStack
4
4
  SimpleStack::Collection.new hypervisor, "#{url}/snapshots", SimpleStack::Snapshot
5
5
  end
6
6
 
7
- def reboot
8
- hypervisor.put "#{url}/reboot"
7
+ def reboot(force = false)
8
+ hypervisor.put "#{url}/reboot", :force => force
9
9
  end
10
10
 
11
11
  def power_state=(state)
@@ -1,3 +1,3 @@
1
1
  module SimpleStack
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_stack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: