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 +4 -4
- data/app/models/civo/snapshot.rb +2 -1
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 602b20f6971f0ac48cd6d3aa18dbe424a57c0d90
|
4
|
+
data.tar.gz: '09cbe2c915e9dc372470295773ab484dda62a949'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9faec96d2681c6733efdbeedab0134689bccc343dd546793c6dec7c19c033a1399ab420b029cea8f5b52dcbab8759d8e2be2a97a112ca778d62623c05b927d60
|
7
|
+
data.tar.gz: 322818d4cc2fa8e46c99c1a5aa1112d22a2a19f1424d89f34e04277d14192f666a6c529b920868f80ee8ffac0c2f64630160d0296d7a3b82d6077e79d758d3ee
|
data/app/models/civo/snapshot.rb
CHANGED
@@ -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 :
|
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
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
|
+
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-
|
11
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|