civo 0.5.2 → 0.5.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/account.rb +1 -0
- data/app/models/civo/user.rb +1 -1
- 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: 0752ead5a2891e474f45143698d9432994bf086b
|
4
|
+
data.tar.gz: 845400b6df69036e2b280bf85deeb3b18b2b10ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44a008704ccc56627d3bc8ce883a575f828924c94173d33b7488e780f0d4ad072f7de0fba442d363426bf9688c0c1aa93c3e95f896a15ba6e23329fe4cdd4822
|
7
|
+
data.tar.gz: 04d4fe75a7c12762b432d7544899c3f83011ed9aaa33c70ea6b75150c268dabb22efe0c2c70fcf7033642e996ab47fd61624c7c8b573a5cf518cede87ebdd43d
|
data/app/models/civo/account.rb
CHANGED
@@ -3,6 +3,7 @@ module Civo
|
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
4
4
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts", requires: [:name]
|
5
5
|
put :reset, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:name", requires: [:name]
|
6
|
+
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
6
7
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:name", requires: [:name]
|
7
8
|
end
|
8
9
|
end
|
data/app/models/civo/user.rb
CHANGED
@@ -7,7 +7,7 @@ module Civo
|
|
7
7
|
post :token, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users/token"
|
8
8
|
post :login, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users/login"
|
9
9
|
put :flags, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users/:id/flags"
|
10
|
-
put :
|
10
|
+
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users"
|
11
11
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users/:id"
|
12
12
|
end
|
13
13
|
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.5.
|
4
|
+
version: 0.5.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-06-
|
11
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|