civo 0.4.1 → 0.4.2

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: bd233aceb4a70706d97cc4122afa64548d1f6b50
4
- data.tar.gz: 16f621c3e186e9e71f7832e221f79bb2c2d030e7
3
+ metadata.gz: 64d4d01a1bb092aa978343330637f7d008ecacce
4
+ data.tar.gz: 53126fa5647a5874cc568f16f103b5ad188452e5
5
5
  SHA512:
6
- metadata.gz: 317b97842e7dd51912a96dccc88f1f6847a1631b5c886483c747a2c1c4cb9dc5b107f170892dfa41cb049f70046e2a3ae71bdad6317435732641a16a69690615
7
- data.tar.gz: e2aa596e644bc8060976369c3223cbb9f69122ba6b239915e975979f5d694e7790e3c7a925e14878aa7b0d52da532b463d2ac41b9e5c5bbdc8a77a934724cede
6
+ metadata.gz: 0ba135d7fac6e76e6896e6321fbfcd5c49812413d8bdd550e436edef3e75cae53fc5fe8f2c7ca7af37f477f052147819c92cc3e3d896d4bbe3816db3f6b02911
7
+ data.tar.gz: cde5bcbb2428677b43025c87f5cad3f23da1f7ce7fdeca9cf1e4e7d98a6be8c93dd5d368eb472bb519bdd5b1a7cc4f3220dfe92e1a8547761e5885c56a56bdca
@@ -0,0 +1,5 @@
1
+ module Civo
2
+ class Charge < Base
3
+ get :for, "/v1/charges"
4
+ end
5
+ end
@@ -0,0 +1,14 @@
1
+ module Civo
2
+ class Team < Base
3
+ get :all, "/v1/teams"
4
+ post :create, "/v1/teams"
5
+ put :update, "/v1/teams/:id", requires: %i{id}
6
+ delete :remove, "/v1/teams/:id", requires: %i{id}
7
+
8
+ get :my_memberships, "/v1/team_memberships"
9
+ post :member_invite, "/v1/teams/:id/memberships/:user_id", requires: %i{id user_id email_address}
10
+ put :member_status, "/v1/teams/:id/memberships/:user_id", requires: %i{id user_id status}
11
+ get :members, "/v1/teams/:id/memberships", requires: %i{id}
12
+ delete :member_remove, "/v1/teams/:id/memberships/:user_id", requires: %i{id user_id}
13
+ end
14
+ end
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
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.4.1
4
+ version: 0.4.2
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-04-28 00:00:00.000000000 Z
11
+ date: 2016-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -78,6 +78,7 @@ files:
78
78
  - app/models/civo/account.rb
79
79
  - app/models/civo/audit_log.rb
80
80
  - app/models/civo/base.rb
81
+ - app/models/civo/charge.rb
81
82
  - app/models/civo/firewall.rb
82
83
  - app/models/civo/firewall_rule.rb
83
84
  - app/models/civo/instance.rb
@@ -88,6 +89,7 @@ files:
88
89
  - app/models/civo/snapshot.rb
89
90
  - app/models/civo/ssh_key.rb
90
91
  - app/models/civo/system.rb
92
+ - app/models/civo/team.rb
91
93
  - app/models/civo/template.rb
92
94
  - app/models/civo/user.rb
93
95
  - config/routes.rb