civo 1.1.16 → 1.1.17
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/blueprint.rb +8 -7
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c449b432e6a78051df54bb788e4b6d31ee3a61cebdb452241890c5d9667f17a9
|
4
|
+
data.tar.gz: '09861b55dc491a30d8dbee776282e60ec7e0b3e49c46e6b2870a677beb3a6943'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0884ca67ca5d241398df25188431838f40eda9bd1e0524e786ac5c147b1de849bc8feb6de3636aa518a7a4bb8305ba70772259a3e115940ea16763ac8eb0778d'
|
7
|
+
data.tar.gz: 5b770f4cbf62f89751dc98e4ac2512c8dc057f6a5f1f7b8830013dd0b506d6d0c7b3f607909c7f6c5e353b32ecd6fdbf9ef52eaf514c3d97c6cd865945b54a19
|
@@ -1,14 +1,15 @@
|
|
1
1
|
module Civo
|
2
2
|
class Blueprint < Base
|
3
|
-
get :all, "/v#{ENV["CIVO_API_VERSION"] || "
|
3
|
+
get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints"
|
4
4
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id", requires: [:id]
|
5
|
-
post :create, "/v#{ENV["CIVO_API_VERSION"] || "
|
6
|
-
put :update, "/v#{ENV["CIVO_API_VERSION"] || "
|
5
|
+
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints", requires: [:name, :dsl_content, :template_id]
|
6
|
+
put :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id", requires: [:id]
|
7
7
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id", requires: [:id], send_delete_body: true
|
8
|
-
put :start, "/v#{ENV["CIVO_API_VERSION"] || "
|
9
|
-
put :
|
10
|
-
|
11
|
-
|
8
|
+
put :start, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id/start", requires: [:id]
|
9
|
+
put :stage, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id/stage", requires: [:id, :volume_id]
|
10
|
+
put :complete, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id/complete", requires: [:id, :openstack_volume_id]
|
11
|
+
put :fail, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id/fail", requires: [:id, :openstack_volume_id]
|
12
|
+
|
12
13
|
def to_partial_path
|
13
14
|
"civo/blueprint"
|
14
15
|
end
|
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: 1.1.
|
4
|
+
version: 1.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|