civo 1.5.24 → 1.5.26

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: c49d0c775ed4986524af257bba9180c644f73c928f5c45abcf45e1cce14d3b4a
4
- data.tar.gz: 973310c4e8624838ea4b15b9707b0ad06a59ce51320d4a91216ddd0a854449da
3
+ metadata.gz: f8ee7ce2b673c9498039c46a0dce08b2d905a81b2a1cbb48d08d418d97fafd5f
4
+ data.tar.gz: 2924ad1864c9fe640d93113314838a81119cb69b626fa3b07219824c835cd18e
5
5
  SHA512:
6
- metadata.gz: de451e2702fa335722b13bd03e174adebfcaa40436a18c30c7011247b4932c1a4a738c282de86122c634a1c4fbf5ab3a245652aa38ae3b3b2df7cbb4a357884a
7
- data.tar.gz: a670ad206e5c748974c487c1cfabf507d2e7c4588a66d3f158923a1e888a2d369ca393153aaf28e0fe153f0d97cd09037caf495eb19d723ed6c10cf68a6e332d
6
+ metadata.gz: 7ae5bca145b500bcf1df645258c55479eb442dd7f1221d4b60014a53307895982705a34982fc8a58ed7cef4d0779a98da5c1405290c8309580d8e339bda730cc
7
+ data.tar.gz: 68f6f1b2a0ba9f7854ddf696bba08e23ccbda44ccb21f7530cb4e4fe2ef0845c78d2bb38f40be074131303735bcb3428d97d26e045d96122c11946c7f861a5a4
@@ -5,6 +5,11 @@ 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
+ delete :remove_backup, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/backups/:backup_id", requires: [:id, :region, :backup_id]
12
+ post :restore, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/restore", requires: [:id, :region]
8
13
  get :versions, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/versions", requires: [:region]
9
14
 
10
15
  def to_partial_path
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.24"
2
+ VERSION = "1.5.26"
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.24
4
+ version: 1.5.26
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-07-24 00:00:00.000000000 Z
11
+ date: 2024-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.3.11
144
+ rubygems_version: 3.0.8
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Civo CLI AND API