civo 0.6.5 → 0.6.6
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 +1 -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: 6bf44db783a71b738003b311b24ad60c659cd35d
|
4
|
+
data.tar.gz: 258860af0b10879675f3eb322c0cddfb75100d37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af3297cde14fe7b11e6cd78bcaf10760b7ddc901d2cf41034b7d3258ee875941c432dcf01a670645e2aab311d7547d1d54d5fc6c93e60adc7c9ab0c56c411657
|
7
|
+
data.tar.gz: 978d85987c28e32d057e2a6914fd06a2db36bc6a53390a6ec6aa44c5daa62293e630dab773a330427780103ee18bed217c2076ebd054a2f9acbe840fc562ccba
|
data/app/models/civo/instance.rb
CHANGED
@@ -4,6 +4,7 @@ module Civo
|
|
4
4
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id", requires: [:id]
|
5
5
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances", requires: [:hostname, :size, :region],
|
6
6
|
defaults: {public_ip: true, template: "ubuntu-14.04", initial_user: "civo"}
|
7
|
+
put :tags, "/v2/instances/:id/tags", requires: [:tags]
|
7
8
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id", requires: [:id]
|
8
9
|
post :reboot, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id/reboots", requires: [:id]
|
9
10
|
post :hard_reboot, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id/hard_reboots", requires: [:id]
|
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.6.
|
4
|
+
version: 0.6.6
|
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-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|