civo 0.5.1 → 0.5.2
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 -1
- 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: b144a430c5dd8988ac5dffab1b098cdd5f599930
|
4
|
+
data.tar.gz: 85a08f346af541351b87a78d5d3066f120d18d1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 336a9d7f25c6d7160dfa72931127f96e0066fafd02a419c4124551ab791d40e512e312da956497e9ac8c095637b1d07e330e65c8dc414a01395b384ec7be3e31
|
7
|
+
data.tar.gz: 3439b20d9f2c6bf6385869b20a122a2d761af668615fd29a3f85317a876f34f7aca8c75353d2e94004721bb595d6e257e34eca8e7840f44675f15a3eceebfd0f
|
data/app/models/civo/instance.rb
CHANGED
@@ -2,7 +2,7 @@ module Civo
|
|
2
2
|
class Instance < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances"
|
4
4
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id", requires: [:id]
|
5
|
-
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances", requires: [:hostname, :size, :region
|
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
7
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id", requires: [:id]
|
8
8
|
post :reboot, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id/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.5.
|
4
|
+
version: 0.5.2
|
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-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|