civo 0.5.0 → 0.5.1

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: 0ae1200748a7acec28b552dcde19a42cf1f7db52
4
- data.tar.gz: c718dc9717e12fc1fda54971635eceb3a8be1a18
3
+ metadata.gz: ba387c1f59265de7f87981317c4ba50f488a7fb6
4
+ data.tar.gz: f0d6361f57512ac9e03d1d40112bba0e481de04c
5
5
  SHA512:
6
- metadata.gz: 50da13f911407aa417a627857f9fb303e6edcd0422bf4bc15193003e24b62060b905465329c625c60c6d71d5c2eeac9cbc394ae99426653b9fd090b88d55edc8
7
- data.tar.gz: 426f6b5695941cbef536eeeecf0917656864347b805899a513d4b7f48bfa30a14658719a7e6976a223863c391dd53a99c9524e37d9f5c9197d643a4a92869585
6
+ metadata.gz: c7b9acf3109a2cff419bae48e8d85c000940b5f4a1aca3f67fb5540480859c535096e44ec74d4ca42481a10558cc8ee3a7fa6bd8ac07fe1783656fcee5c90524
7
+ data.tar.gz: a5bcbc32c705b31254bfa506a4d08cb677af0a93369d72bba4d35a926723ec442252e1f903b1b22c2887c2887501657cf320dfe458bae5cbad4be04ce867e8be
@@ -0,0 +1,8 @@
1
+ module Civo
2
+ class Network < Base
3
+ get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/networks"
4
+ post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/networks", required: [:name]
5
+ put :update, "/v#{ENV["CIVO_API_VERSION"] || "1"}/networks/:name", required: [:name]
6
+ delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/networks/:name", required: [:name]
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
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.5.0
4
+ version: 0.5.1
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-05-05 00:00:00.000000000 Z
11
+ date: 2016-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -84,6 +84,7 @@ files:
84
84
  - app/models/civo/firewall_rule.rb
85
85
  - app/models/civo/instance.rb
86
86
  - app/models/civo/ip.rb
87
+ - app/models/civo/network.rb
87
88
  - app/models/civo/quota.rb
88
89
  - app/models/civo/region.rb
89
90
  - app/models/civo/size.rb