civo 1.5.20 → 1.5.22
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/database.rb +1 -0
- 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: 6fde2c135ecbca5d89f3e68811ce03c7c08f0661a625062f6a1f7f5396adda41
|
4
|
+
data.tar.gz: 56b55931d4d7455ac144dbc400d5ef27d950765787e2b3368331da5e6b90b133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 610cc2f4aee86e6a0a7091d1c53b6a46c44e2a6d5a156aed0039d071becab5bae23e1d975c91968edffa1a13af50bb102072403996fbfd6ec73b312baf6a5ae4
|
7
|
+
data.tar.gz: 333285f3c35d3d2596a8aaf4d964a18aba6382584d2cf0cf51f2f3b86b7fb43640fc183eea8be758ce7f3c1dea047c561aee7a93e21fbbc6e9bd9c62ffd2e38d
|
data/app/models/civo/database.rb
CHANGED
@@ -5,6 +5,7 @@ module Civo
|
|
5
5
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:id, :region]
|
6
6
|
patch :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:id, :region]
|
7
7
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:id, :region]
|
8
|
+
get :versions, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/versions", requires: [:region]
|
8
9
|
|
9
10
|
def to_partial_path
|
10
11
|
"civo/database"
|
@@ -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.22
|
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.0.8
|
145
|
+
signing_key:
|
145
146
|
specification_version: 4
|
146
147
|
summary: Civo CLI AND API
|
147
148
|
test_files: []
|