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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b44235a1c7c733cc6bd71f2658fb529e2620d58ce81de263f82e5d1b4a642a7
4
- data.tar.gz: 17d88e518d5255a320ad00f43523eeab37f80ae048cb08de6af15c5ae01bb752
3
+ metadata.gz: cb945cb54c32dd74719cb5bdb9aca642bb356dc42579a58b4026b5afe4b901f4
4
+ data.tar.gz: f0f805a3d8e76418f80d532f8c1c8d3be4802f71a6009a2930734ddfd42a5314
5
5
  SHA512:
6
- metadata.gz: a7b025cc1d177f3a4258607b8c702f92cccb2389023c2ffe412f551f7a4fbd49a67c5442cba202ac5458d3152a45b312f0515406c04dffbd398bdece0c91781f
7
- data.tar.gz: d8c49d8425202a4b256ca4fe8314545d91af79f2f682dd005d8fcd59ebe685421ba4ecdcdbf980000fa517d503b5da1a98e75502d71928da35ad4db5d31c43c4
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, :ssh_key_ids]
6
- put :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications/:id", request_body_type: :json
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
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.19"
2
+ VERSION = "1.5.21"
3
3
  end
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.19
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-01-12 00:00:00.000000000 Z
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.1.2
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: []