civo 0.3.7 → 0.3.8

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: 838dbd1e628097f69a0cbdc6265bba120703d7d2
4
- data.tar.gz: 13f4864786203a56ffed8574c3aed8c423ad13b0
3
+ metadata.gz: 42967a702bce16ef01c670c6f6b132f6fab026bf
4
+ data.tar.gz: 49237e53e0733db431d9105c60941df9edbf7501
5
5
  SHA512:
6
- metadata.gz: c472e5c3a867ebd3c48b9e56a829a41506f65c4ae1cc52d8a8725bb5a3b1966829ec252f5dc3d2844dcf56dba9fb95adb409c33d623c542482a97778b5f4be93
7
- data.tar.gz: 13f9808b7277c304c4ef59dcdb68b6bed7ed6f142809f743da37d1068abecc53ce3fdc6e6fb99788c0c1ecd5fac6bfb35a311dbdfbfee1e28530c802279e4f0d
6
+ metadata.gz: 9b55117ee2558c0163ad2f80b31af38cb1c33450b013c4c38a8ba6d91cdd128e0a0c9079898b35502f2641670e4fe54cc2b4999b3b65d8f082480be0091d5e17
7
+ data.tar.gz: 85616c4995caa2657275964e9a9dbc0df1609cd59bc766eed29f1ae586933a88df46876a4f04b37898381989d76ddeea6690eb19c2a444e14e2a11b515460136
@@ -1,7 +1,7 @@
1
1
  module Civo
2
2
  class SshKey < Base
3
3
  get :all, "/v1/sshkeys"
4
- post :create, "/v1/sshkeys", requires: [:name, :public_key]
4
+ post :create, "/v1/sshkeys", requires: [:name, :public_key, :id]
5
5
  delete :remove, "/v1/sshkeys/:name", requires: [:name]
6
6
  end
7
7
  end
@@ -1,8 +1,9 @@
1
1
  module Civo
2
2
  class Template < Base
3
3
  get :all, "/v1/templates"
4
+ get :details, "/v1/templates/:id"
4
5
  put :save, "/v1/templates/:id"
5
- post :create, "/v1/templates"
6
+ post :create, "/v1/templates", required: [:name, :image_id]
6
7
  delete :remove, "/v1/templates/:id"
7
8
  end
8
9
  end
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
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.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries