admin-vmc-plugin 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ module VMCAdmin
|
|
4
4
|
class ServiceAuthToken < VMC::CLI
|
5
5
|
desc "List service auth tokens"
|
6
6
|
group :admin
|
7
|
-
def service_auth_tokens
|
7
|
+
def service_auth_tokens
|
8
8
|
spaced(client.service_auth_tokens) do |t|
|
9
9
|
line "#{c(t.label, :name)}:"
|
10
10
|
|
@@ -26,7 +26,7 @@ module VMCAdmin
|
|
26
26
|
input(:token, :desc => "Auth token value") {
|
27
27
|
ask("Token")
|
28
28
|
}
|
29
|
-
def create_service_auth_token
|
29
|
+
def create_service_auth_token
|
30
30
|
sat = client.service_auth_token
|
31
31
|
sat.label = input[:label]
|
32
32
|
sat.provider = input[:provider]
|
@@ -51,7 +51,7 @@ module VMCAdmin
|
|
51
51
|
input(:token, :desc => "Auth token value") {
|
52
52
|
ask("Token")
|
53
53
|
}
|
54
|
-
def update_service_auth_token
|
54
|
+
def update_service_auth_token
|
55
55
|
sat = input[:service_auth_token]
|
56
56
|
sat.token = input[:token]
|
57
57
|
|
@@ -71,7 +71,7 @@ module VMCAdmin
|
|
71
71
|
|
72
72
|
ask("Which token?", :choices => tokens, :display => proc(&:label))
|
73
73
|
}
|
74
|
-
def delete_service_auth_token
|
74
|
+
def delete_service_auth_token
|
75
75
|
sat = input[:service_auth_token]
|
76
76
|
|
77
77
|
with_progress("Deleting token #{c(sat.label, :name)}") do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: admin-vmc-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Suraci
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-09-08 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: cfoundry
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements: []
|
77
77
|
|
78
78
|
rubyforge_project: admin-vmc-plugin
|
79
|
-
rubygems_version: 1.8.
|
79
|
+
rubygems_version: 1.8.24
|
80
80
|
signing_key:
|
81
81
|
specification_version: 3
|
82
82
|
summary: Cloud Foundry administration commands.
|