civo 1.5.0 → 1.5.1
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/role.rb +2 -1
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b5b254cffb9ee4a8357d5bf9f07fa2c05f6a0db4a82e391dd9df9d0ed7a3a0f
|
4
|
+
data.tar.gz: 5d4515d16f051aa888ab3b162a9c53d9fd2b7c9a8c3c70af832288a778fff9b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4ce5b7e14bc497801759497eca684c59c479b283abc0b7f599f6ce4c1aac8430a7ec483f886adf394842b17754c21bd64d4d4cff1874015772be8999c25b8e5
|
7
|
+
data.tar.gz: 38c08c86e5195a9dfaa5824a05d9f5da04d965e1fddfd53981a998aef24737c9e3356536d854793a5a2ef51d450df2144966cd2b95f7726a84d9748660dd6d4a
|
data/app/models/civo/role.rb
CHANGED
@@ -6,6 +6,7 @@ module Civo
|
|
6
6
|
class Role < Base
|
7
7
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/roles"
|
8
8
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/roles", requires: [:name, :permissions]
|
9
|
-
|
9
|
+
put :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/roles/:id", requires: %i{id}
|
10
|
+
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/roles/:id"
|
10
11
|
end
|
11
12
|
end
|
data/lib/civo/version.rb
CHANGED
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|