civo 1.1.11 → 1.1.12
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 +7 -5
- data/lib/civo/version.rb +1 -1
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 371706d24242a47e9ff40efb112dc17b63ef31b242548d3064ac1c0d5310301f
|
4
|
+
data.tar.gz: 9bb8aaa190b374d050db2fc6fc6cadb1c265aa30f87bbe308885850a86029285
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff21db0df38e829268d6d57c24710c836ff56444a9d1cb22c7a311aa910e39199b262ac2b880c1cbdc98542b24d44ea456ede35c3078a4e76740a6bcbc64070
|
7
|
+
data.tar.gz: 2aa213dc086213be6333fb1dafa20555a2324d94156e08430e9a8a0d79fabb44a1daa267b195c3ff596d181dd76e34e36a3535c1d54839ed2241ea109f4e42ca
|
@@ -1,14 +1,16 @@
|
|
1
1
|
module Civo
|
2
2
|
class Blueprint < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints"
|
4
|
+
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id", requires: [:id]
|
4
5
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints", requires: [:name, :dsl_content, :template_id]
|
5
6
|
put :update, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id", requires: [:id]
|
7
|
+
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/blueprints/:id", requires: [:id], send_delete_body: true
|
6
8
|
put :start, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/start", requires: [:id]
|
7
9
|
put :stop, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/stop", requires: [:id]
|
8
|
-
put :modify_template, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/template", requires: [:id, :
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
put :modify_template, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/template", requires: [:id, :volume_id]
|
11
|
+
|
12
|
+
def to_partial_path
|
13
|
+
"civo/blueprint"
|
14
|
+
end
|
13
15
|
end
|
14
16
|
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.12
|
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-03-
|
11
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|
@@ -106,10 +106,13 @@ files:
|
|
106
106
|
- lib/civo/engine.rb
|
107
107
|
- lib/civo/version.rb
|
108
108
|
- lib/tasks/civo_tasks.rake
|
109
|
-
homepage:
|
109
|
+
homepage: https://www.civo.com
|
110
110
|
licenses:
|
111
111
|
- MIT
|
112
|
-
metadata:
|
112
|
+
metadata:
|
113
|
+
source_code_uri: https://github.com/absolutedevops/civo-ruby
|
114
|
+
bug_tracker_uri: https://github.com/absolutedevops/civo-ruby/issues
|
115
|
+
documentation_uri: https://github.com/absolutedevops/civo-ruby
|
113
116
|
post_install_message:
|
114
117
|
rdoc_options: []
|
115
118
|
require_paths:
|
@@ -125,7 +128,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
128
|
- !ruby/object:Gem::Version
|
126
129
|
version: '0'
|
127
130
|
requirements: []
|
128
|
-
|
131
|
+
rubyforge_project:
|
132
|
+
rubygems_version: 2.7.6
|
129
133
|
signing_key:
|
130
134
|
specification_version: 4
|
131
135
|
summary: Civo CLI AND API
|