civo 0.7.0 → 0.7.1
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/account.rb +4 -0
- data/app/models/civo/action.rb +4 -0
- data/app/models/civo/audit_log.rb +4 -0
- data/app/models/civo/charge.rb +4 -0
- data/app/models/civo/firewall.rb +4 -0
- data/app/models/civo/firewall_rule.rb +4 -0
- data/app/models/civo/instance.rb +4 -0
- data/app/models/civo/ip.rb +4 -0
- data/app/models/civo/network.rb +4 -0
- data/app/models/civo/quota.rb +4 -0
- data/app/models/civo/region.rb +4 -0
- data/app/models/civo/size.rb +4 -0
- data/app/models/civo/snapshot.rb +4 -0
- data/app/models/civo/ssh_key.rb +4 -0
- data/app/models/civo/team.rb +4 -0
- data/app/models/civo/template.rb +4 -0
- data/app/models/civo/user.rb +4 -0
- 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: 6d1369aa88c5b5e77914f8fc41b9a0a004cc4ccd
|
4
|
+
data.tar.gz: 6ecf4433a151359bfadedc2919ef136b9e9b1ba3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac5184eee808e2b1b3205db72c232933ef37eff93db21b4f99ca0c8ed5ec880f8f38e81ca4115de4b403b6edb8cf8aa26d96dec3e9a18e556b1ea59b6911f402
|
7
|
+
data.tar.gz: a3aab6d2a4bb21debedb3e6b010b36022a4f90acfce2b574e593aa9df38086b038c05712343ae0c93cc59fad8cf013d87a19353cf1edb7abcbbaecc2fd1fb033
|
data/app/models/civo/account.rb
CHANGED
@@ -6,5 +6,9 @@ module Civo
|
|
6
6
|
put :reset, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:name", requires: [:name]
|
7
7
|
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
8
8
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:name", requires: [:name]
|
9
|
+
|
10
|
+
def to_partial_path
|
11
|
+
"civo/account"
|
12
|
+
end
|
9
13
|
end
|
10
14
|
end
|
data/app/models/civo/action.rb
CHANGED
data/app/models/civo/charge.rb
CHANGED
data/app/models/civo/firewall.rb
CHANGED
data/app/models/civo/instance.rb
CHANGED
data/app/models/civo/ip.rb
CHANGED
@@ -3,5 +3,9 @@ module Civo
|
|
3
3
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id/ip", requires: [:id], defaults: {public: true}
|
4
4
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id/ip/:ip_address", requires: [:id, :ip_address]
|
5
5
|
put :connect, "/v#{ENV["CIVO_API_VERSION"] || "1"}/instances/:id/ip/:ip_address", requires: [:id, :ip_address, :private_ip]
|
6
|
+
|
7
|
+
def to_partial_path
|
8
|
+
"civo/ip"
|
9
|
+
end
|
6
10
|
end
|
7
11
|
end
|
data/app/models/civo/network.rb
CHANGED
data/app/models/civo/quota.rb
CHANGED
data/app/models/civo/region.rb
CHANGED
data/app/models/civo/size.rb
CHANGED
data/app/models/civo/snapshot.rb
CHANGED
@@ -4,5 +4,9 @@ module Civo
|
|
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
6
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/snapshots/:name", required: [:name]
|
7
|
+
|
8
|
+
def to_partial_path
|
9
|
+
"civo/snapshot"
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
data/app/models/civo/ssh_key.rb
CHANGED
@@ -3,5 +3,9 @@ module Civo
|
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys"
|
4
4
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys", requires: [:name, :public_key]
|
5
5
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/sshkeys/:name", requires: [:name]
|
6
|
+
|
7
|
+
def to_partial_path
|
8
|
+
"civo/ssh_key"
|
9
|
+
end
|
6
10
|
end
|
7
11
|
end
|
data/app/models/civo/team.rb
CHANGED
@@ -11,5 +11,9 @@ module Civo
|
|
11
11
|
get :members, "/v#{ENV["CIVO_API_VERSION"] || "1"}/teams/:id/memberships", requires: %i{id}
|
12
12
|
post :permissions, "/v#{ENV["CIVO_API_VERSION"] || "1"}/teams/:id/memberships", requires: %i{email_address permissions}
|
13
13
|
delete :member_remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/teams/:id/memberships/:user_id", requires: %i{id user_id}
|
14
|
+
|
15
|
+
def to_partial_path
|
16
|
+
"civo/team"
|
17
|
+
end
|
14
18
|
end
|
15
19
|
end
|
data/app/models/civo/template.rb
CHANGED
data/app/models/civo/user.rb
CHANGED
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.7.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2016-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|