civo 0.5.6 → 0.5.7

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: b3ceb0e3c1c9c0299784794b48970167b69cb1d5
4
- data.tar.gz: 70cb32bdbc5072d4a59eb5ff95427910a1e9b14d
3
+ metadata.gz: 57fb2b192d5d84d7191345e7cdf7852b5b4f4265
4
+ data.tar.gz: d49303008f0207f56bd0fee99b8896925c127f22
5
5
  SHA512:
6
- metadata.gz: 27f4fbf11870bbd1af3b57db3542ccd821279693807682aca1eae885862c12f7ceacbfcc1c08a72463cb38bc5fd3515b9873460f0ed8e37c324c8f616ef615a9
7
- data.tar.gz: 186a1ad733036f000345c30751db7a56b6038c7687f178075ad418f9253786393142b88946d07e306aab2f77da5f50105ccecd6b2c91f4d48a91ee4c600da26b
6
+ metadata.gz: d014508f7975d82393676135f16a6eb09c3eff05d4d9431211abf10dae5bf71941c9c4c57bc9bc74b38d6d6bcbfabef0dce6040e36ec6d57006b0e166d52f56e
7
+ data.tar.gz: bae6e002d56fe96d2c64035feea0647117bde061013cef49c298679629b96a9ccd6d1474992c2ad2c6b390662b17e22cb656da3554e02f531807063f24a8f0f8
@@ -3,5 +3,8 @@ module Civo
3
3
  get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/firewalls"
4
4
  post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/firewalls", required: [:name]
5
5
  delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/firewalls/:name", required: [:name]
6
+ if ENV["CIVO_API_VERSION"] == "2"
7
+ put :update, "/v2/firewalls/:id"
8
+ end
6
9
  end
7
10
  end
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
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.6
4
+ version: 0.5.7
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-06-17 00:00:00.000000000 Z
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest