civo 0.7.2 → 0.7.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
  SHA1:
3
- metadata.gz: 22bbe4248e3e3ac2ac013cb69b9f7be5c8364b24
4
- data.tar.gz: a49c4c760571692fcafc9223f7550c7f3c4a9eea
3
+ metadata.gz: bc79536f3d2d8b4a133363111b9edd016fd5a441
4
+ data.tar.gz: d44504d3d7ee4c81fc44e8575d0569928d036779
5
5
  SHA512:
6
- metadata.gz: 0d86845c99020903eee02276e214627a066e60716633ca47d2c355cb0b69d3818ff27cf5f891935e85b0d2858f850a04f0f56dae7b983fc90c75580b1f9d3c33
7
- data.tar.gz: 7fa704bb411b887577f3105f058700a6b7ef52e524fab848ae9ddee4c799c652a3bf1201b01c97c983db8b0e997fbcfaaf679b5d6f12170792bb8645a8787383
6
+ metadata.gz: a4108b784f0725cba6befc780c7ce27aca20baa5bf0c43b0a19bc70fbfb4789742a2ccac8ce07fba55ef796e36ce589c6154da4023a5d8e14e0f708a5f1662f1
7
+ data.tar.gz: cad8915af696a4b66ee44774211738c706449a9cfb82519fb39d93ff19797b37773d6bb5ab53e9cb90b577af4bfd7dd945f756490b6caeec1b20efa32706a3f1
@@ -2,7 +2,8 @@ module Civo
2
2
  class SshKey < Base
3
3
  get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys"
4
4
  post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys", requires: [:name, :public_key]
5
- delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys/:name", requires: [:name]
5
+ delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys/:id", requires: [:id]
6
+ put :update, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys/:id", requires: [:id, :name]
6
7
 
7
8
  def to_partial_path
8
9
  "civo/ssh_key"
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
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: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries