stem 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/stem/instance.rb +4 -0
  2. metadata +4 -4
data/lib/stem/instance.rb CHANGED
@@ -63,6 +63,10 @@ module Stem
63
63
  swirl.call "StopInstances", "InstanceId" => instance_id
64
64
  end
65
65
 
66
+ def start instance_id
67
+ swirl.call "StartInstances", "InstanceId" => instance_id
68
+ end
69
+
66
70
  def describe instance
67
71
  throw "You must provide an instance ID to describe" unless instance
68
72
  swirl.call("DescribeInstances", "InstanceId" => instance)["reservationSet"][0]["instancesSet"][0]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Peter van Hardenberg
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-10-08 00:00:00 -07:00
19
+ date: 2010-10-09 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency