civo 1.5.28 → 1.5.30

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: 70cc6b256de4aa5daca4dd1fbcdca0d5635b56e42b373171c123fcf557a7d6f9
4
- data.tar.gz: b4a2e2fb9af6fd367f4bd81e1852a0cf6009164e7a7c12558fc2e6ac2fa8aea6
3
+ metadata.gz: cc190edcb0cb62c21ce1226dc4160f23c51452bbf150b2d09cf4b70c01f99b3f
4
+ data.tar.gz: 2c434a79a9443043d99704213af474532aadce7f1c13c8399e516ca8f5e2071c
5
5
  SHA512:
6
- metadata.gz: f1b557e9bccc014f59a6053d788c3fd23b48807e6b8e17f574ffeffd98994a237120a24a7f734036a87892928db0e92f3d11931c2a8cbae6dbcc8d74dfdeca7e
7
- data.tar.gz: a67a2afba3dd9e73986d08e6c57d01e99a3e533b52c99462ab1549bbebf3581323d583f9a0c02f9981c044287c377daf9aa5e7086bfee0badd7ba0836b1c45b7
6
+ metadata.gz: 432d5fc731a3510275239010d933e4a1996cf67a2c13908600cc24612e6a77b8731e6ff0977bc026bc5dbc5ffab5fffc2f14c260f3b1714234fe4752308b0c3c
7
+ data.tar.gz: 4dc25d55c70f81296a5bd993ce5611a721cac5b5f89e156a184f45d36f3c58550a356244605a1a69c991c0af946b5dea36e2107ad824f00e1f76cd920a63d3ed
@@ -3,7 +3,7 @@ module Civo
3
3
  get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances"
4
4
  get :high_cpu, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances/high_cpu"
5
5
  get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances/:id", requires: [:id]
6
- post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances", requires: [:hostname, :size, :region],
6
+ post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances", requires: [:hostname, :size, :region], request_body_type: :json,
7
7
  defaults: {public_ip: true, initial_user: "civo"}
8
8
  put :tags, "/v2/instances/:id/tags"
9
9
  put :update, "/v2/instances/:id"
@@ -20,6 +20,7 @@ module Civo
20
20
  put :move_ip, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances/:id/ip/:ip", requires: [:ip, :id]
21
21
  put :rescue, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances/:id/rescue", requires: [:id]
22
22
  put :unrescue, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances/:id/unrescue", requires: [:id]
23
+ put :vnc, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances/:id/vnc", requires: [:id, :team_id, :region]
23
24
  if ENV["CIVO_API_VERSION"] == "2"
24
25
  put :firewall, "/v#{ENV["CIVO_API_VERSION"] || "2"}/instances/:id/firewall", requires: [:firewall_id, :id]
25
26
  else
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.28"
2
+ VERSION = "1.5.30"
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.28
4
+ version: 1.5.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-17 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest