civo 0.2.9 → 0.3.0

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: 4e5463b0e08e0ffa00d0a7d17d0153db4791ed02
4
- data.tar.gz: e141feef471c2348018b62066e5f7eeef4a831e9
3
+ metadata.gz: ea2509d6c02d31cebecc5fc3cae2d86401045dcf
4
+ data.tar.gz: 6816b5db23b7ca3ae4ace89f2e527bf4683c4bea
5
5
  SHA512:
6
- metadata.gz: 7939ece1ad6da2f88e869d9c1f91d4f092f935f3bbf9d8974834f96b09a8f2ee6f129fee11b32cdfc45839abe2e6c314f01ae08364608cebf75d918047f4c1d1
7
- data.tar.gz: 0984687cc67607a16c83f3eeaff9f5fbc95ff96e57b91c9a945f566faf5bad7ef6955f0bf88652677cd057f3558e32890282e53603406794fec6aa9c30862b68
6
+ metadata.gz: a509cd939ee66d00d4a1ba3987633e0aa24f0cff234a855b69646c1c5740fbaa9432f4afcccb01b58edd4b1b52030bace8caf92c6ed7829bc777e354a271bef9
7
+ data.tar.gz: 4bf17cf814ca53d4d0c9f134e2f6f54935466fd675c4964adbd49d7a56c33f41cb9b26f2db3b4b32fc017c7fe2f76f67c28628ae7d58632262769a5d9eedc512
data/Rakefile CHANGED
@@ -32,3 +32,4 @@ task :console do
32
32
  ARGV.clear
33
33
  IRB.start
34
34
  end
35
+ task :c => :console
@@ -1,6 +1,7 @@
1
1
  module Civo
2
2
  class Instance < Base
3
3
  get :all, "/v1/instances"
4
+ get :find, "/v1/instances/:id", requires: [:id]
4
5
  post :create, "/v1/instances", requires: [:hostname, :size, :region, :ssh_key],
5
6
  defaults: {public_ip: true, template: "ubuntu-14.04", initial_user: "civo"}
6
7
  delete :remove, "/v1/instances/:id", requires: [:id]
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
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.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries