civo 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/civo/account.rb +0 -1
- data/app/models/civo/blueprint.rb +6 -7
- data/lib/civo/version.rb +1 -1
- metadata +5 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6366b9f4155ad1763a57361304a351be24cde0677fa70f2b7cc51b23b08aa52c
|
|
4
|
+
data.tar.gz: 8735ee98647b16b3aa10b22c1dc3dc03ef1e939f46669464dcb0b5154d06afef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b66622ae7952ace58094c9325cf36cd3ba17de6b0219a83c273ddc40024f790de2c3bdedd96b5f6b1885ae6c7ea5708793d3cbb8de8dc2e136d4d5c7abdb9317
|
|
7
|
+
data.tar.gz: 1d4c89f3820653db9a76030ffecfca95a94469c5e7ab67a88c7cba10dfe8b937737653ac0913ab98d6558856e75292d44e34b3adbcf106f8e7dac32a56ac4d05
|
data/app/models/civo/account.rb
CHANGED
|
@@ -8,7 +8,6 @@ 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]
|
|
12
11
|
|
|
13
12
|
def to_partial_path
|
|
14
13
|
"civo/account"
|
|
@@ -1,16 +1,15 @@
|
|
|
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]
|
|
5
4
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints", requires: [:name, :dsl_content, :template_id]
|
|
6
5
|
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
|
|
8
6
|
put :start, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/start", requires: [:id]
|
|
9
7
|
put :stop, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/stop", requires: [:id]
|
|
10
|
-
put :modify_template, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/template", requires: [:id, :volume_id]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
put :modify_template, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/template", requires: [:id, :checksum, :volume_id]
|
|
9
|
+
delete :destroy, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id", requires: [:id]
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def to_partial_path
|
|
13
|
+
"civo/blueprint"
|
|
15
14
|
end
|
|
16
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.14
|
|
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-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: flexirest
|
|
@@ -106,13 +106,10 @@ files:
|
|
|
106
106
|
- lib/civo/engine.rb
|
|
107
107
|
- lib/civo/version.rb
|
|
108
108
|
- lib/tasks/civo_tasks.rake
|
|
109
|
-
homepage:
|
|
109
|
+
homepage: http://www.civo.com
|
|
110
110
|
licenses:
|
|
111
111
|
- MIT
|
|
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
|
|
112
|
+
metadata: {}
|
|
116
113
|
post_install_message:
|
|
117
114
|
rdoc_options: []
|
|
118
115
|
require_paths:
|
|
@@ -128,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
128
125
|
- !ruby/object:Gem::Version
|
|
129
126
|
version: '0'
|
|
130
127
|
requirements: []
|
|
131
|
-
|
|
132
|
-
rubygems_version: 2.7.6
|
|
128
|
+
rubygems_version: 3.0.1
|
|
133
129
|
signing_key:
|
|
134
130
|
specification_version: 4
|
|
135
131
|
summary: Civo CLI AND API
|