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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 369e24917e1ecb001148d789fb7813793ce7ea6737eb174e3fecbbeb5799d26d
4
- data.tar.gz: 253872f00d06aa5b41186ec41463253f3b7fef59e31907f351ac682eef94bb13
3
+ metadata.gz: c449b432e6a78051df54bb788e4b6d31ee3a61cebdb452241890c5d9667f17a9
4
+ data.tar.gz: '09861b55dc491a30d8dbee776282e60ec7e0b3e49c46e6b2870a677beb3a6943'
5
5
  SHA512:
6
- metadata.gz: 9f1f41eb400c5ffc4307b9d80994f607b654badb5c67ba024e313171e41714833dea47d819e5858da619726b706917bdabd3703b0812b92ff46601cd5f96be72
7
- data.tar.gz: b4806442616908b28b4445f70ff9af78746090cdbba552e784b81a155feab5f43861d92954c1cc41fa1ba8ae941ae5a99e015a7f30dfa7fa1bbe8bbe5556776b
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"] || "1"}/blueprints"
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"] || "1"}/blueprints", requires: [:name, :dsl_content, :template_id]
6
- put :update, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id", requires: [:id]
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"] || "1"}/blueprints/:id/start", requires: [:id]
9
- put :stop, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/stop", requires: [:id]
10
- delete :destroy, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id", requires: [:id]
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
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.1.16"
2
+ VERSION = "1.1.17"
3
3
  end
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.16
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-04-02 00:00:00.000000000 Z
11
+ date: 2019-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest