civo 1.5.23 → 1.5.25

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: c68a92566f7d495f7095cafd52b64005cf2a314b83e0ddfe42f29055c9214546
4
- data.tar.gz: 3c6714d7fea107e973033ce91345ac4e6ba06125fbe5ee584a044c48ca3ae460
3
+ metadata.gz: 77101a81c0952acc0c03919ebbd8e18eb07a56682a95b26ceabbe97a848f9f9c
4
+ data.tar.gz: 49066fd0a0df5173610be8c3062a3db4921b8bef2a2bd4eb47355ed68735365e
5
5
  SHA512:
6
- metadata.gz: 29390f64d57b3b8b145ae3e1c4470a0b177309dfd7cf9ce604d69c8f13dc65d2145b67993278c2ac10e12c241a4a0084973b5c10f2e961399e696835b28ba9c0
7
- data.tar.gz: a903660917153f989e4b4333f21cf62c5d4e81b0d5d7ed9df37bc85f32e99cf70cbcdfd524d634e14c17e3e642bb28169e986b134793beb31e123ad03d643fa6
6
+ metadata.gz: 3b82a83c94887c553df3d2d50c3cbe437a89465f07d64426f764c56ae3d3b2665e5925016c3d53be286b06b4fc593dcae5e8464d6a25936c2b1284b08d5bd16c
7
+ data.tar.gz: 253411aa64a19d8d8b2abf9492ea6350250d9d5749e8b0c4ba8baca8e4b30df13d5b93989bb1e544b7f0039c39fb782e7d9d028ea2fa1b1e813b345b32a16ca2
@@ -5,6 +5,10 @@ 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 :list_backups, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/backups", requires: [:id, :region]
9
+ post :create_backup, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/backups", requires: [:id, :region]
10
+ put :update_backup, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/backups", requires: [:id, :region]
11
+ post :restore, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/restore", requires: [:id, :region]
8
12
  get :versions, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/versions", requires: [:region]
9
13
 
10
14
  def to_partial_path
@@ -2,7 +2,7 @@ module Civo
2
2
  class Kubernetes < Base
3
3
  get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters"
4
4
  get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id", requires: [:id]
5
- post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters", requires: [:name]
5
+ post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters", requires: [:name], request_body_type: :json
6
6
  post :recycle, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id/recycle", requires: [:id, :hostname]
7
7
  put :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id", request_body_type: :json
8
8
  delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kubernetes/clusters/:id", requires: [:id]
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.23"
2
+ VERSION = "1.5.25"
3
3
  end
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.23
4
+ version: 1.5.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-19 00:00:00.000000000 Z
11
+ date: 2023-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest