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 +4 -4
- data/app/models/civo/firewall_rule.rb +1 -1
- data/app/models/civo/object_store_credential.rb +13 -0
- data/lib/civo/version.rb +1 -1
- data/lib/civo.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 580bfedf243afb15239ebb7a2cbf127198540bcee16a0741d61a1c765ab08917
|
4
|
+
data.tar.gz: 83e896949c7a84855260ee342998af338763455df79ab9eec25914cbccfd3c1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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, :
|
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
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.
|
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-
|
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
|