civo 0.1.8 → 0.1.9

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: 9b9396f4d7e27b9f72e0888c45a71d5bccd243b9
4
- data.tar.gz: 42a82ab43291563c8cb29e11fa3f37a8e45ee6ae
3
+ metadata.gz: f9a6634d24bda2a5d8b56b1071558e6fd378d3b1
4
+ data.tar.gz: 9641d3cea1f8e69cc2806d3003597dad0d1758d0
5
5
  SHA512:
6
- metadata.gz: f4a57142ba1e19cfe1861e57f8e3e6e5f6a98e94cfbc0da68726cc7e22d7415ce871b2b2b9b44d5b2da1476bb490096e92903fce247d4a4346fd25ed2e32c3e1
7
- data.tar.gz: c9576d95517c31b8f1876ae20bcfdb6959e727875e682c9c5ef1b717e3546492ac742115fce67503c1b8bb7057279be468706eeae19c4bb69b64b5a71e4e8efc
6
+ metadata.gz: fda150096d6a5edc8c9265e376a3acafc45e5fc6841614698fe8fa4f9f75eb641aa359fff8c329608112d7cd78a619d6ede5b3673da11413f03efefda5b87e32
7
+ data.tar.gz: 32f5d6cfefdb0044044c3c44de10d4f639daa58952fcf7232ceaf32e610fcf657f32eabb1bffc0a8946b31b06db080ece7ad2a9a9e66a2e7ed505cec188d2e25
@@ -0,0 +1,12 @@
1
+ module Civo
2
+ class Ip < Base
3
+ get :for_instance, "/v1/instances/:id/ip", requires: [:id],
4
+ fake: [ { "private_ip": "10.0.0.1" }, { "private_ip": "10.0.0.1", "public_ip": "31.28.96.101" }]
5
+ post :create, "/v1/instances/:id/ip", requires: [:id],
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" }
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
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: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2015-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -65,6 +65,7 @@ files:
65
65
  - app/models/civo/account.rb
66
66
  - app/models/civo/base.rb
67
67
  - app/models/civo/instance.rb
68
+ - app/models/civo/ip.rb
68
69
  - app/models/civo/quota.rb
69
70
  - app/models/civo/region.rb
70
71
  - app/models/civo/size.rb