civo 0.6.2 → 0.6.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/user.rb +3 -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: cd38295b226a0b0589b9e0e92181840ee3fa8a40
|
4
|
+
data.tar.gz: 36cc7a793bf07e9158e1209eb040e8a5c75d62a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f33b7d0f326cc88f04a78f8cc8348de061ef716a7d91791305a33dbed3259b9e3f7e2f824eea7d86f6f9263137d3f131aaa4066d449ff13f107be8290f09acf
|
7
|
+
data.tar.gz: 36ad389e1781f62dc362b51fbb96e2ab027ea2e7d795b551ed27628474653fe9689dc6fb61c846499f4cf6264eb7436ff0fc3bc3090ae0193a541cdd48a50d02
|
data/app/models/civo/user.rb
CHANGED
@@ -9,5 +9,8 @@ module Civo
|
|
9
9
|
put :flags, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users/:id/flags"
|
10
10
|
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users"
|
11
11
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/users/:id"
|
12
|
+
if ENV["CIVO_API_VERSION"] == "2"
|
13
|
+
get :all, "/v2/users/"
|
14
|
+
end
|
12
15
|
end
|
13
16
|
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.6.
|
4
|
+
version: 0.6.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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|