civo 1.0.4 → 1.0.5

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: b125f39b38e60a5e55e7f3fa8253a332e7460224
4
- data.tar.gz: c39104f22ed6560f8f0bf9226a3b955f0b8a9796
3
+ metadata.gz: 602b20f6971f0ac48cd6d3aa18dbe424a57c0d90
4
+ data.tar.gz: '09cbe2c915e9dc372470295773ab484dda62a949'
5
5
  SHA512:
6
- metadata.gz: 0b15ed418708b01e6f98c13d4c42dedecccaba23841955beb56c478d7328f2bae6f39027497f9bbeab504c91d62420a14299da26b44c155341d4dfa90a7618c5
7
- data.tar.gz: c095c7e933ae376ab253757a100f81dcf4e0d880469fad435453b4c7ffef5873a16997c053e5f770aa4d24e1558d89b3b58f94a9a60ab9f047f1882a6684472f
6
+ metadata.gz: 9faec96d2681c6733efdbeedab0134689bccc343dd546793c6dec7c19c033a1399ab420b029cea8f5b52dcbab8759d8e2be2a97a112ca778d62623c05b927d60
7
+ data.tar.gz: 322818d4cc2fa8e46c99c1a5aa1112d22a2a19f1424d89f34e04277d14192f666a6c529b920868f80ee8ffac0c2f64630160d0296d7a3b82d6077e79d758d3ee
@@ -3,7 +3,8 @@ module Civo
3
3
  get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/snapshots"
4
4
  get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/snapshots/:name", required: [:name]
5
5
  put :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/snapshots/:name", required: [:name, :instance_id]
6
- delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/snapshots/:name", required: [:name], send_delete_body: true
6
+ delete :remove_old, "/v#{ENV["CIVO_API_VERSION"] || "1"}/snapshots/:name", required: [:name], send_delete_body: true
7
+ delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/snapshots/:id", required: [:id], send_delete_body: true
7
8
 
8
9
  def to_partial_path
9
10
  "civo/snapshot"
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
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.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-05 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest