civo 1.5.19 → 1.5.21
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/application.rb +2 -2
- data/app/models/civo/kfclusters.rb +13 -0
- data/lib/civo/version.rb +1 -1
- data/lib/civo.rb +1 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb945cb54c32dd74719cb5bdb9aca642bb356dc42579a58b4026b5afe4b901f4
|
4
|
+
data.tar.gz: f0f805a3d8e76418f80d532f8c1c8d3be4802f71a6009a2930734ddfd42a5314
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eab7a3cb41b815ec42a07b5cae1154708616509d77ff97742a500a36967ca4d961c5586df3647e0641f0aaf08fa0f5875770fe457792307e1770f40d36da6214
|
7
|
+
data.tar.gz: c8fbf38c9d73a669ffdd2a0f8549de853172d9eafac1142a989a0e5a37630375795719df243e1af5ac909e41e535cc6f3eb2b42a531d26dc1cb2dac62945e515
|
@@ -2,8 +2,8 @@ module Civo
|
|
2
2
|
class Application < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications"
|
4
4
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications/:id", requires: [:id]
|
5
|
-
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications", requires: [:name, :region, :network_id, :size, :
|
6
|
-
|
5
|
+
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications", requires: [:name, :region, :network_id, :size], request_body_type: :json
|
6
|
+
patch :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications/:id", request_body_type: :json
|
7
7
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications/:id", requires: [:id]
|
8
8
|
|
9
9
|
def to_partial_path
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module Civo
|
2
|
+
class Kfclusters < Base
|
3
|
+
get :all, "/v2/kfclusters", requires: [:region]
|
4
|
+
get :find, "/v2/kfclusters/:id", requires: [:id, :region]
|
5
|
+
post :create, "/v2/kfclusters", requires: [:name, :region]
|
6
|
+
put :update, "/v2/kfclusters/:id", requires: [:id, :region]
|
7
|
+
delete :remove, "/v2/kfclusters/:id", requires: [:id, :region]
|
8
|
+
|
9
|
+
def to_partial_path
|
10
|
+
"civo/kfclusters"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/civo/version.rb
CHANGED
data/lib/civo.rb
CHANGED
@@ -22,6 +22,7 @@ require_relative "../app/models/civo/dns_record"
|
|
22
22
|
require_relative "../app/models/civo/firewall"
|
23
23
|
require_relative "../app/models/civo/firewall_rule"
|
24
24
|
require_relative "../app/models/civo/instance"
|
25
|
+
require_relative "../app/models/civo/kfclusters"
|
25
26
|
require_relative "../app/models/civo/kubernetes"
|
26
27
|
require_relative "../app/models/civo/ip"
|
27
28
|
require_relative "../app/models/civo/kpi"
|
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.5.
|
4
|
+
version: 1.5.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- app/models/civo/firewall_rule.rb
|
91
91
|
- app/models/civo/instance.rb
|
92
92
|
- app/models/civo/ip.rb
|
93
|
+
- app/models/civo/kfclusters.rb
|
93
94
|
- app/models/civo/kpi.rb
|
94
95
|
- app/models/civo/kubernetes.rb
|
95
96
|
- app/models/civo/load_balancer.rb
|
@@ -125,7 +126,7 @@ metadata:
|
|
125
126
|
source_code_uri: https://github.com/absolutedevops/civo-ruby
|
126
127
|
bug_tracker_uri: https://github.com/absolutedevops/civo-ruby/issues
|
127
128
|
documentation_uri: https://github.com/absolutedevops/civo-ruby
|
128
|
-
post_install_message:
|
129
|
+
post_install_message:
|
129
130
|
rdoc_options: []
|
130
131
|
require_paths:
|
131
132
|
- lib
|
@@ -140,8 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
141
|
- !ruby/object:Gem::Version
|
141
142
|
version: '0'
|
142
143
|
requirements: []
|
143
|
-
rubygems_version: 3.
|
144
|
-
signing_key:
|
144
|
+
rubygems_version: 3.3.11
|
145
|
+
signing_key:
|
145
146
|
specification_version: 4
|
146
147
|
summary: Civo CLI AND API
|
147
148
|
test_files: []
|