civo 1.5.2 → 1.5.3

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: bba1fbf446f00579b2b2edd176173bf5c640aa3faefa99edd5db4a20d6c8db97
4
- data.tar.gz: 6ecefdb03fb3fcfcf58589177ef22f559c5377a0af50bbc4efe3d7632d335427
3
+ metadata.gz: 0fb8656e6a68bc22cfe6f8d62036ef34c1ea9d0669ac9f06cf5d22cae11f1b54
4
+ data.tar.gz: 34cdbe84bc7d540c83962aeb883abe326204591e019d0badcf7e2c4b19134fbf
5
5
  SHA512:
6
- metadata.gz: 1c41a3247159224980cf25aad023c62b1bbdb67fd1cf24e19e54a4e53e3a779e401b10dd138907c1d24a79ae1ff71f15956b0e8dca99da8999c5ac234fc8bd5e
7
- data.tar.gz: ea3c9fe2cd697e6cb88410fb66fbf9a1f5f7f530f58e60846e2f5b60908eccac9349ff7e394f7382bae5d16d6bf38655102cde2fa81fad3ec1fd8e7a594dff4e
6
+ metadata.gz: a083bd4de8b7dede1449d148db98b9d5e479f27f86512723ad48cb6aaf9006225659504e1690d5084351d752df9e39136c97575df4f4b35bfb06a81e365a9196
7
+ data.tar.gz: 22ae869debf50e66f38f51c6c2e82b425105817d4feddb95a90c9a8775b6c946e8c1081b8cd94c1e80bcdbd871f429467a8130be3c2618d51c026776c112d4a9
@@ -9,7 +9,7 @@ module Civo
9
9
  put :flags, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id/flags"
10
10
  put :save, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id"
11
11
  get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id"
12
- get :everything, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id/everything"
12
+ get :everything, "/v#{ENV["CIVO_API_VERSION"] || "2"}/users/:id/everything", has_many: {accounts: Civo::Account, teams: Civo::Team, organisations: Civo::Organisation, roles: Civo::Role}
13
13
  if ENV["CIVO_API_VERSION"] == "2"
14
14
  get :all, "/v2/users"
15
15
  get :find_by_token, "/v2/users/token/:token"
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
3
3
  end
data/lib/civo.rb CHANGED
@@ -26,8 +26,10 @@ require_relative "../app/models/civo/ip"
26
26
  require_relative "../app/models/civo/kpi"
27
27
  require_relative "../app/models/civo/load_balancer"
28
28
  require_relative "../app/models/civo/network"
29
+ require_relative "../app/models/civo/organisation"
29
30
  require_relative "../app/models/civo/quota"
30
31
  require_relative "../app/models/civo/region"
32
+ require_relative "../app/models/civo/role"
31
33
  require_relative "../app/models/civo/size"
32
34
  require_relative "../app/models/civo/snapshot"
33
35
  require_relative "../app/models/civo/ssh_key"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries