civo 0.2.2 → 0.2.3
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/ip.rb +3 -8
- 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: 6fdb705d39dfa6436e984982063107727e9f3a16
|
4
|
+
data.tar.gz: d04538cd67b01259e32e720f6a3b7e0e38788bb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b8b4873b6423559c59fad7bf2dba6b678b7a1d7154e3ea76e041cc60394b82f2bff4291024973e5b83c0f4670b952756b7c3267dda3b7a9aa90d945f03aa5fa
|
7
|
+
data.tar.gz: 33a5cc58c528e31399644e5949ca9cdd6610bc14b5817267ee40eec1c2a3640591213cff3da0e30c9b078083f5f31363b003ef6cce7ca7f5bbb7a0b2608eae9c
|
data/app/models/civo/ip.rb
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
module Civo
|
2
2
|
class Ip < Base
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
# fake: { "result": "ok" }
|
7
|
-
# delete :remove, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address],
|
8
|
-
# fake: { "result": "ok" }
|
9
|
-
# put :connect, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address],
|
10
|
-
# fake: { "result": "ok" }
|
3
|
+
post :create, "/v1/instances/:id/ip", requires: [:id], defaults: {public: true}
|
4
|
+
delete :remove, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address]
|
5
|
+
put :connect, "/v1/instances/:id/ip/:ip_address", requires: [:id, :ip_address, :private_ip]
|
11
6
|
end
|
12
7
|
end
|
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: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|