civo 1.5.16 → 1.5.17

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: 0e7a9a987eb0de240f316af529552fbb6b038c58f367382f8aeb542274317c61
4
- data.tar.gz: 121aa514d4bcff474d7db16eb460e63b5e813d6d36b54a300893fc1fe7df57b2
3
+ metadata.gz: fb2a882e5dc253db31bb08188a7f87a32eb210ab007b4549061898b71f6fe9e3
4
+ data.tar.gz: 92b5060ccfef28b6792f8b85552fdf92c9cab1c22c389db467c9cdd3f8f643ac
5
5
  SHA512:
6
- metadata.gz: 5284d573abe0b23375e9d92e97dc76b3d47b84bffd2870588c478ad9afe395d14d67374d117e24b3b583ddc9b0e9ad24ffaa955212e347ecb03899441d84aae7
7
- data.tar.gz: 103f84dd0f22f6e733aa8e72c0cc3f35bb9197031e9f824c4ea148e76fa689530c4a448bc236a198707d169a51baf9a4e041b5bf78a6b90e5ba977440dccd178
6
+ metadata.gz: 1c297903d4edc0f6daea6078353331131bdfc9b53e6e6b707faeaaba84dd4a55fe04f6af71825a17d43392c011bc22c106f3f0f4979a5a45901a5b8b8b845992
7
+ data.tar.gz: 55e1287490515b892aaf5c4eb56452e7b7c5fa9c18c586602e4f1d36c2c462730701fbc9b3b16fd2239e0361746bc31d9c3320216e5381f73c2c6b166cd46c3f
@@ -1,11 +1,11 @@
1
1
  module Civo
2
2
  class Database < Base
3
- get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases", requires: [:region], fake: :databases
4
- post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases", requires: [:name, :size, :region, :software, :network_id], fake: :create_database
5
- get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:region], fake: :get_database
6
- patch :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:region], fake: :update_database
7
- delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:id, :region], fake: :delete_database
8
- post :restore, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/restore", requires: [:region, :snapshot_id], fake: :restore_database
3
+ get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases", fake: :databases
4
+ post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases", requires: [:name, :size, :software, :network_id], fake: :create_database
5
+ get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:id], fake: :get_database
6
+ patch :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", fake: :update_database
7
+ delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id", requires: [:id], fake: :delete_database
8
+ post :restore, "/v#{ENV["CIVO_API_VERSION"] || "2"}/databases/:id/restore", requires: [:snapshot_id], fake: :restore_database
9
9
 
10
10
  def to_partial_path
11
11
  "civo/database"
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.16"
2
+ VERSION = "1.5.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.16
4
+ version: 1.5.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries