civo 1.1.15 → 1.1.16
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/account.rb +1 -0
- data/app/models/civo/blueprint.rb +6 -5
- data/lib/civo/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 369e24917e1ecb001148d789fb7813793ce7ea6737eb174e3fecbbeb5799d26d
|
4
|
+
data.tar.gz: 253872f00d06aa5b41186ec41463253f3b7fef59e31907f351ac682eef94bb13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f1f41eb400c5ffc4307b9d80994f607b654badb5c67ba024e313171e41714833dea47d819e5858da619726b706917bdabd3703b0812b92ff46601cd5f96be72
|
7
|
+
data.tar.gz: b4806442616908b28b4445f70ff9af78746090cdbba552e784b81a155feab5f43861d92954c1cc41fa1ba8ae941ae5a99e015a7f30dfa7fa1bbe8bbe5556776b
|
data/app/models/civo/account.rb
CHANGED
@@ -8,6 +8,7 @@ module Civo
|
|
8
8
|
put :reset, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id", requires: [:id]
|
9
9
|
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id"
|
10
10
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id", requires: [:id], send_delete_body: true
|
11
|
+
get :active_paid_services, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id/active_paid_services", requires: [:id]
|
11
12
|
|
12
13
|
def to_partial_path
|
13
14
|
"civo/account"
|
@@ -1,15 +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
10
|
delete :destroy, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id", requires: [:id]
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
|
12
|
+
def to_partial_path
|
13
|
+
"civo/blueprint"
|
14
|
+
end
|
14
15
|
end
|
15
16
|
end
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
@@ -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:
|