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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cbc1498f158a34afbc92914d5f3ada29c7c580b5ae594d876895131feadb5f8
4
- data.tar.gz: c57ea23c4f18f66d544a60cb9c513e810782b50b185ca26ce9feb5394ebf34da
3
+ metadata.gz: 371706d24242a47e9ff40efb112dc17b63ef31b242548d3064ac1c0d5310301f
4
+ data.tar.gz: 9bb8aaa190b374d050db2fc6fc6cadb1c265aa30f87bbe308885850a86029285
5
5
  SHA512:
6
- metadata.gz: 91dc8e2855cf3f5fb064706e5fe18f2381c6f68de59ee6a80b180742ba02481c148160b80e21a3b4c373d30035db4dc1451647bf083d3d68d00f3486735be4f9
7
- data.tar.gz: 70d19541f5bd3df71e32e2a7da248b563f8b7e95ef20dbe19e12e0deaac6987e75b4385ea47777c911300b90b6eab063da61389bf56267aa5ec5bab3c82e19ff
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, :checksum, :volume_id]
9
- end
10
-
11
- def to_partial_path
12
- "civo/blueprint"
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
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.1.11"
2
+ VERSION = "1.1.12"
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.11
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-08 00:00:00.000000000 Z
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: http://www.civo.com
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
- rubygems_version: 3.0.1
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