civo 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/civo/instance.rb +3 -0
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f2f3efe7d12a09a1f5bf5560b1ef16d92305be2
|
4
|
+
data.tar.gz: 3220e7033a111fd8d110046277ffb7260cb57bcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 110ca63190ade1a4e7ac6f626cd209f6b48c937da11f637a78d3d5ee4d79d2efe64b325a5b82d797faa962d0526928e65c8867a5f94b7b1972c965952eb22f4d
|
7
|
+
data.tar.gz: f109913db65e322b20752eb1ddb1e83dde362d85423b8526354b4651721fc3447d39f233f9fa8b3a234a84a669b32fb868dd4741b006b428288b8101147b14a1
|
data/app/models/civo/instance.rb
CHANGED
@@ -5,6 +5,9 @@ module Civo
|
|
5
5
|
defaults: {public_ip: true, template: "ubuntu-14.04", initial_user: "civo"}
|
6
6
|
delete :remove, "/v1/instances/:id", requires: [:id]
|
7
7
|
post :reboot, "/v1/instances/:id/reboots", requires: [:id]
|
8
|
+
put :stop, "/v1/instances/:id/stop", requires: [:id]
|
9
|
+
put :start, "/v1/instances/:id/start", requires: [:id]
|
10
|
+
post :reboot, "/v1/instances/:id/reboots", requires: [:id]
|
8
11
|
put :upgrade, "/v1/instances/:id", requires: [:size, :id]
|
9
12
|
|
10
13
|
def ip_addresses
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|