civo 1.5.12 → 1.5.14

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: 26dd006c0211280475f3f52d07e115c2518f621891a66b8caaa753367ded393f
4
- data.tar.gz: f0130f7c8fb25d09f7ccf10f428e736eaabdf82a57a109222029c218dce5c3bf
3
+ metadata.gz: 580bfedf243afb15239ebb7a2cbf127198540bcee16a0741d61a1c765ab08917
4
+ data.tar.gz: 83e896949c7a84855260ee342998af338763455df79ab9eec25914cbccfd3c1f
5
5
  SHA512:
6
- metadata.gz: 60325a80be0279384bd8ca7724e39d12247d34146ce3f7af8bbb443ba801832caeb945bff0c59f2bc74fbd617c7be15466e787eccadf9bb2d08322be6e9f729f
7
- data.tar.gz: 0e373baaf98bb6dd0598930e9a8e037ca187a47c0ca0353b7743aecfc402ba904b61dd4a52f0cff938b74ac4f15cb43b9afb8bef5a71721631982ce969259c31
6
+ metadata.gz: 12227087dc7b57b8952f1317139ffd69c1471614e312e5b3ed2d39f714ee95ab6d1e521c24fc6a8e043a94a7682e238960eb98a75d2bdcfc59396633b696a4da
7
+ data.tar.gz: c1f9e74547a6e5e02f17e6bef62ce5db3fe1b1d4166323bf93370f39cd745b7466a0200fcb66082277126f535785dde135422bd624d17ea11449a31315a68dde
@@ -2,7 +2,7 @@ module Civo
2
2
  class FirewallRule < Base
3
3
  if ENV["CIVO_API_VERSION"] == "2"
4
4
  get :all, "/v2/firewalls/:firewall_id/rules", required: [:firewall_id]
5
- post :create, "/v2/firewalls/:firewall_id/rules", required: [:firewall_id, :protocol, :start_port,
5
+ post :create, "/v2/firewalls/:firewall_id/rules", required: [:firewall_id, :protocol, :ports,
6
6
  :cidr, :direction]
7
7
  delete :remove, "/v2/firewalls/:firewall_id/rules/:id", required: [:firewall_id, :id]
8
8
  else
@@ -0,0 +1,13 @@
1
+ module Civo
2
+ class ObjectStoreCredential < Base
3
+ get :all, "/v2/objectstore/credentials", requires: [:region]
4
+ get :find, "/v2/objectstore/credentials/:id", requires: [:id, :region]
5
+ post :create, "/v2/objectstore/credentials", requires: [:name, :region]
6
+ put :update, "/v2/objectstore/credentials/:id", requires: [:id, :region]
7
+ delete :remove, "/v2/objectstore/credentials/:id", requires: [:id, :region]
8
+
9
+ def to_partial_path
10
+ "civo/object_store_credentials"
11
+ end
12
+ end
13
+ end
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.12"
2
+ VERSION = "1.5.14"
3
3
  end
data/lib/civo.rb CHANGED
@@ -28,6 +28,7 @@ require_relative "../app/models/civo/kpi"
28
28
  require_relative "../app/models/civo/load_balancer"
29
29
  require_relative "../app/models/civo/network"
30
30
  require_relative "../app/models/civo/object_store"
31
+ require_relative "../app/models/civo/object_store_credential"
31
32
  require_relative "../app/models/civo/organisation"
32
33
  require_relative "../app/models/civo/quota"
33
34
  require_relative "../app/models/civo/region"
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.12
4
+ version: 1.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-28 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -95,6 +95,7 @@ files:
95
95
  - app/models/civo/load_balancer.rb
96
96
  - app/models/civo/network.rb
97
97
  - app/models/civo/object_store.rb
98
+ - app/models/civo/object_store_credential.rb
98
99
  - app/models/civo/organisation.rb
99
100
  - app/models/civo/permission.rb
100
101
  - app/models/civo/quota.rb