civo 1.5.25 → 1.5.27

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: 77101a81c0952acc0c03919ebbd8e18eb07a56682a95b26ceabbe97a848f9f9c
4
- data.tar.gz: 49066fd0a0df5173610be8c3062a3db4921b8bef2a2bd4eb47355ed68735365e
3
+ metadata.gz: fe6159b714cd5b6734a48dbf0e8d6ef5d6695f76a7569262ee97208e8ff12ee0
4
+ data.tar.gz: aa01835ae1e2ee6c091c1690dfa769acca1b87ac34cb58b917b202e98c6b3f0c
5
5
  SHA512:
6
- metadata.gz: 3b82a83c94887c553df3d2d50c3cbe437a89465f07d64426f764c56ae3d3b2665e5925016c3d53be286b06b4fc593dcae5e8464d6a25936c2b1284b08d5bd16c
7
- data.tar.gz: 253411aa64a19d8d8b2abf9492ea6350250d9d5749e8b0c4ba8baca8e4b30df13d5b93989bb1e544b7f0039c39fb782e7d9d028ea2fa1b1e813b345b32a16ca2
6
+ metadata.gz: 0c0083af08e79b3f4ae579774dfe50b4485f53a85e279cff053876607b7dbba1974b523ea2c00e656487a046b24d3d24277b191b57f07ead55a4b3c822e218b7
7
+ data.tar.gz: 05332da59be72634f27913d342109dbf3f5d68c9a3bed34a785be2a9e0a664a1dbb725d4b3a4a858bdf50910e1023220f1484c62db852aca42d66a132d1bf3d0
@@ -8,6 +8,7 @@ module Civo
8
8
  get :list_backups, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/backups", requires: [:id, :region]
9
9
  post :create_backup, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/backups", requires: [:id, :region]
10
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]
11
12
  post :restore, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/restore", requires: [:id, :region]
12
13
  get :versions, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/versions", requires: [:region]
13
14
 
@@ -1,6 +1,7 @@
1
1
  module Civo
2
2
  class Region < Base
3
3
  get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/regions"
4
+ get :availability, "/v#{ENV["CIVO_API_VERSION"] || "2"}/regions/availability"
4
5
 
5
6
  def to_partial_path
6
7
  "civo/region"
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.25"
2
+ VERSION = "1.5.27"
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.25
4
+ version: 1.5.27
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-10-10 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest