civo 1.5.6 → 1.5.9

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: b2fa0b7f96a69c9f894b72d57311784aebe4a39454f53559e83938136c8a8446
4
- data.tar.gz: ec9c804f8ebfaa8a01544297b5d94b3a219d84b4a1d95dc16ad41ff59bbcf1d9
3
+ metadata.gz: 02ec8bbb65c2883c3e080f9877a260a966de13eac15f75efe227c3267a5cc844
4
+ data.tar.gz: f7f6f3be7579b4cab4b3c83e06d5ddef9184b5968af9f7db3df751199955a5c4
5
5
  SHA512:
6
- metadata.gz: af5814fc7c2493d0eeed660f42c723184ad4ee92bfe966e22745cd9864a550d955f96ee57e54ef9cedf7bcd4ef02b0785b2c9ce2cb330ec08b95b3dd60f7e017
7
- data.tar.gz: 3a2bef74d8a074302fb047bd1dab7d4f0e57625196cb3611eed1247020c5d0b2d6039a6bcc983dbf7f083c795bfea7ecb9d3605b7b4ae28b2eb942aa0b5e7e07
6
+ metadata.gz: 58077c5dd0755ba0588a0d8ef9afc3cb6da7bcd6a7da3c4093782789b4625a8fc0702a3c2cfa8bd91dc0bc33a41b64816f56e6e7fb7e839482a6db2715b40374
7
+ data.tar.gz: 12d2373031f4a8ed05b4d23ccbb3e141844b84d532f847b8e4e4b0cd39b978971dcc07d59986ed1b37c251c4cc8b5e528e635f63ffa7ff45f8d6c2d7524db11c
@@ -9,6 +9,7 @@ module Civo
9
9
  put :save, "/v#{ENV["CIVO_API_VERSION"] || "2"}/accounts/:id"
10
10
  delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/accounts/:id", requires: [:id]
11
11
  get :active_paid_services, "/v#{ENV["CIVO_API_VERSION"] || "2"}/accounts/:id/active_paid_services", requires: [:id]
12
+ get :ids, "/v#{ENV["CIVO_API_VERSION"] || "2"}/accounts/ids"
12
13
 
13
14
  def to_partial_path
14
15
  "civo/account"
@@ -1,5 +1,5 @@
1
1
  module Civo
2
- class KPI < Base
2
+ class Kpi < Base
3
3
  get :stats, "/v#{ENV["CIVO_API_VERSION"] || "2"}/kpi"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  module Civo
2
2
  class LoadBalancer < Base
3
- get :all, "/v2/loadbalancers", fake: :loadbalancers
4
- get :find, "/v2/loadbalancers/:id", fake: :get_loadbalancer
3
+ get :all, "/v2/loadbalancers"
4
+ get :find, "/v2/loadbalancers/:id"
5
5
  post :create, "/v2/loadbalancers", required: [:hostname], fake: :get_loadbalancer
6
6
  put :update, "/v2/loadbalancers/:id", fake: :get_loadbalancer
7
7
  delete :remove, "/v2/loadbalancers/:id", required: [:id], fake: :delete_loadbalancer
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.6"
2
+ VERSION = "1.5.9"
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.6
4
+ version: 1.5.9
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-12-06 00:00:00.000000000 Z
11
+ date: 2022-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest