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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e048371f68c4f9bded9d9cd72881f7e490e66e12703ab1a9ad582c0725bf318
4
- data.tar.gz: 7cef0b8f141894eb2cff77c5834829ca928367461e3cf78f014fc1b56ed3ff59
3
+ metadata.gz: 5b5b254cffb9ee4a8357d5bf9f07fa2c05f6a0db4a82e391dd9df9d0ed7a3a0f
4
+ data.tar.gz: 5d4515d16f051aa888ab3b162a9c53d9fd2b7c9a8c3c70af832288a778fff9b1
5
5
  SHA512:
6
- metadata.gz: 71e30e3a6ede3798d9658d1769b996d69548c3cde0684cc743494b4d09561d25236143369496fd9deb188f8aa6ad6f7a5ef13d25a43083bacd9dfdd84039d3ed
7
- data.tar.gz: cf3a7c011c319480206b1fd5cdb8635ca92d658ab1eb9f2533f9df1e6498a840452e413510b73aa96cfddfd4c80090842119f79c8a00a5780a6fe5a4045d44d0
6
+ metadata.gz: f4ce5b7e14bc497801759497eca684c59c479b283abc0b7f599f6ce4c1aac8430a7ec483f886adf394842b17754c21bd64d4d4cff1874015772be8999c25b8e5
7
+ data.tar.gz: 38c08c86e5195a9dfaa5824a05d9f5da04d965e1fddfd53981a998aef24737c9e3356536d854793a5a2ef51d450df2144966cd2b95f7726a84d9748660dd6d4a
@@ -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
- delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/organisation/roles/:id"
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
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
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.0
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-06 00:00:00.000000000 Z
11
+ date: 2021-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest