af 0.3.19.beta.1 → 0.3.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/cli/commands/admin.rb +1 -0
- data/lib/cli/commands/misc.rb +1 -1
- data/lib/cli/commands/user.rb +1 -0
- data/lib/cli/version.rb +1 -1
- metadata +152 -201
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZmMzNGVjZTBiN2M4Mjk0NWRjZTM4NTcxNjFlODA5OTgxYjI3ZTMzMw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZTAwZTFlYzhhNTViODc3YWQ5ODZlNGQ2ZDNmMTNkZjM1MDRlNjE5MA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NWRjYTFlMjEzMjMyMWI2NTdlNDdkMDJhNDU3ZTY2MDFlZmJhZjM4Yjk2Y2M0
|
10
|
+
Y2FkMzlhZTViMDA5ZDdhMjZhNTcyYTE0MWQxNDVmYzUzMzg4NTQ5NDIwMDdj
|
11
|
+
MjI3NjJlMjMwNmE2ZGQzNDZhZTNlMzczYjFmYzJlMzQ4Y2JlNTg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OGRiZWI3NzFkZmRlMjRkM2MyNjMzOTAyNTkwOGFiYzE4YzY5OGRlNmU5OGE4
|
14
|
+
YmM4ZWU5ZmZhMDI0N2JkYWMzNmZjNDMwYTNiNDZmMGVmNzQ0ZWMxNWEwZmY0
|
15
|
+
MGQzNjBmNWZiNjY3MDVmN2EzYzlmY2Y0MWU2MjljYzhjN2UzM2U=
|
data/lib/cli/commands/admin.rb
CHANGED
@@ -32,6 +32,7 @@ module VMC::Cli::Command
|
|
32
32
|
end
|
33
33
|
err "Need a valid email" unless email
|
34
34
|
err "Need a password" unless password
|
35
|
+
err "Passwords may not contain braces" if password =~ /[{}]/
|
35
36
|
display 'Creating New User: ', false
|
36
37
|
client.add_user(email, password)
|
37
38
|
display 'OK'.green
|
data/lib/cli/commands/misc.rb
CHANGED
@@ -57,7 +57,7 @@ module VMC::Cli::Command
|
|
57
57
|
end
|
58
58
|
if usage = info[:usage] and limits = info[:limits]
|
59
59
|
tmem = pretty_size(limits[:memory]*1024*1024)
|
60
|
-
mem = pretty_size(usage[:memory]*1024*1024)
|
60
|
+
mem = pretty_size((usage[:memory] || 0)*1024*1024)
|
61
61
|
tser = limits[:services]
|
62
62
|
ser = usage[:services]
|
63
63
|
tapps = limits[:apps] || 0
|
data/lib/cli/commands/user.rb
CHANGED
@@ -53,6 +53,7 @@ module VMC::Cli::Command
|
|
53
53
|
err "Passwords did not match, try again" if password != password2
|
54
54
|
end
|
55
55
|
err "Password required" unless password
|
56
|
+
err "Passwords may not contain braces" if password =~ /[{}]/
|
56
57
|
client.change_password(password)
|
57
58
|
say "\nSuccessfully changed password".green
|
58
59
|
end
|
data/lib/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,232 +1,202 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: af
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: 7
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 19
|
10
|
-
- beta
|
11
|
-
- 1
|
12
|
-
version: 0.3.19.beta.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.19
|
13
5
|
platform: ruby
|
14
|
-
authors:
|
6
|
+
authors:
|
15
7
|
- AppFog
|
16
8
|
autorequire:
|
17
9
|
bindir: bin
|
18
10
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
dependencies:
|
23
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-04-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
24
14
|
name: json_pure
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
hash: 1
|
32
|
-
segments:
|
33
|
-
- 1
|
34
|
-
- 5
|
35
|
-
- 1
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
36
19
|
version: 1.5.1
|
37
20
|
- - <
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
hash: 11
|
40
|
-
segments:
|
41
|
-
- 1
|
42
|
-
- 7
|
43
|
-
- 0
|
21
|
+
- !ruby/object:Gem::Version
|
44
22
|
version: 1.7.0
|
45
23
|
type: :runtime
|
46
|
-
version_requirements: *id001
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: rubyzip
|
49
24
|
prerelease: false
|
50
|
-
|
51
|
-
|
52
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.5.1
|
30
|
+
- - <
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.7.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rubyzip
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
53
37
|
- - ~>
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
hash: 51
|
56
|
-
segments:
|
57
|
-
- 0
|
58
|
-
- 9
|
59
|
-
- 4
|
38
|
+
- !ruby/object:Gem::Version
|
60
39
|
version: 0.9.4
|
61
40
|
type: :runtime
|
62
|
-
version_requirements: *id002
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: rest-client
|
65
41
|
prerelease: false
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.9.4
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rest-client
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
76
53
|
version: 1.6.1
|
77
54
|
- - <
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
hash: 11
|
80
|
-
segments:
|
81
|
-
- 1
|
82
|
-
- 7
|
83
|
-
- 0
|
55
|
+
- !ruby/object:Gem::Version
|
84
56
|
version: 1.7.0
|
85
57
|
type: :runtime
|
86
|
-
version_requirements: *id003
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: terminal-table
|
89
58
|
prerelease: false
|
90
|
-
|
91
|
-
|
92
|
-
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.6.1
|
64
|
+
- - <
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 1.7.0
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: terminal-table
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
93
71
|
- - ~>
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
hash: 3
|
96
|
-
segments:
|
97
|
-
- 1
|
98
|
-
- 4
|
99
|
-
- 2
|
72
|
+
- !ruby/object:Gem::Version
|
100
73
|
version: 1.4.2
|
101
74
|
type: :runtime
|
102
|
-
version_requirements: *id004
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: interact
|
105
75
|
prerelease: false
|
106
|
-
|
107
|
-
|
108
|
-
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.4.2
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: interact
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
109
85
|
- - ~>
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
hash: 15
|
112
|
-
segments:
|
113
|
-
- 0
|
114
|
-
- 4
|
115
|
-
- 0
|
86
|
+
- !ruby/object:Gem::Version
|
116
87
|
version: 0.4.0
|
117
88
|
type: :runtime
|
118
|
-
version_requirements: *id005
|
119
|
-
- !ruby/object:Gem::Dependency
|
120
|
-
name: addressable
|
121
89
|
prerelease: false
|
122
|
-
|
123
|
-
|
124
|
-
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 0.4.0
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: addressable
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
125
99
|
- - ~>
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
hash: 11
|
128
|
-
segments:
|
129
|
-
- 2
|
130
|
-
- 2
|
131
|
-
- 6
|
100
|
+
- !ruby/object:Gem::Version
|
132
101
|
version: 2.2.6
|
133
102
|
type: :runtime
|
134
|
-
version_requirements: *id006
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: uuidtools
|
137
103
|
prerelease: false
|
138
|
-
|
139
|
-
|
140
|
-
requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
141
106
|
- - ~>
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 2.2.6
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: uuidtools
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ~>
|
114
|
+
- !ruby/object:Gem::Version
|
148
115
|
version: 2.1.0
|
149
116
|
type: :runtime
|
150
|
-
version_requirements: *id007
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: rb-readline
|
153
117
|
prerelease: false
|
154
|
-
|
155
|
-
|
156
|
-
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ~>
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 2.1.0
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: rb-readline
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
157
127
|
- - ~>
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
hash: 11
|
160
|
-
segments:
|
161
|
-
- 0
|
162
|
-
- 4
|
163
|
-
- 2
|
128
|
+
- !ruby/object:Gem::Version
|
164
129
|
version: 0.4.2
|
165
130
|
type: :runtime
|
166
|
-
version_requirements: *id008
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rake
|
169
131
|
prerelease: false
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ~>
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 0.4.2
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: rake
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
179
144
|
type: :development
|
180
|
-
version_requirements: *id009
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rspec
|
183
145
|
prerelease: false
|
184
|
-
|
185
|
-
|
186
|
-
|
146
|
+
version_requirements: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ! '>='
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
name: rspec
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
187
155
|
- - ~>
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
hash: 27
|
190
|
-
segments:
|
191
|
-
- 1
|
192
|
-
- 3
|
193
|
-
- 0
|
156
|
+
- !ruby/object:Gem::Version
|
194
157
|
version: 1.3.0
|
195
158
|
type: :development
|
196
|
-
version_requirements: *id010
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
name: webmock
|
199
159
|
prerelease: false
|
200
|
-
|
201
|
-
|
202
|
-
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ~>
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.3.0
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: webmock
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
203
169
|
- - ~>
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
hash: 3
|
206
|
-
segments:
|
207
|
-
- 1
|
208
|
-
- 5
|
209
|
-
- 0
|
170
|
+
- !ruby/object:Gem::Version
|
210
171
|
version: 1.5.0
|
211
172
|
type: :development
|
212
|
-
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - ~>
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: 1.5.0
|
213
179
|
description: AppFog.com CLI
|
214
180
|
email: support@appfog.com
|
215
|
-
executables:
|
181
|
+
executables:
|
216
182
|
- af
|
217
183
|
extensions: []
|
218
|
-
|
219
|
-
extra_rdoc_files:
|
184
|
+
extra_rdoc_files:
|
220
185
|
- README.md
|
221
186
|
- LICENSE
|
222
|
-
files:
|
187
|
+
files:
|
223
188
|
- LICENSE
|
224
189
|
- README.md
|
225
190
|
- Rakefile
|
191
|
+
- bin/af
|
192
|
+
- caldecott_helper/Gemfile
|
193
|
+
- caldecott_helper/Gemfile.lock
|
194
|
+
- caldecott_helper/server.rb
|
226
195
|
- config/clients.yml
|
227
196
|
- config/micro/offline.conf
|
228
197
|
- config/micro/paths.yml
|
229
198
|
- config/micro/refresh_ip.rb
|
199
|
+
- lib/cli.rb
|
230
200
|
- lib/cli/commands/admin.rb
|
231
201
|
- lib/cli/commands/apps.rb
|
232
202
|
- lib/cli/commands/base.rb
|
@@ -248,56 +218,37 @@ files:
|
|
248
218
|
- lib/cli/usage.rb
|
249
219
|
- lib/cli/version.rb
|
250
220
|
- lib/cli/zip_util.rb
|
251
|
-
- lib/
|
221
|
+
- lib/vmc.rb
|
252
222
|
- lib/vmc/client.rb
|
253
223
|
- lib/vmc/const.rb
|
224
|
+
- lib/vmc/micro.rb
|
254
225
|
- lib/vmc/micro/switcher/base.rb
|
255
226
|
- lib/vmc/micro/switcher/darwin.rb
|
256
227
|
- lib/vmc/micro/switcher/dummy.rb
|
257
228
|
- lib/vmc/micro/switcher/linux.rb
|
258
229
|
- lib/vmc/micro/switcher/windows.rb
|
259
230
|
- lib/vmc/micro/vmrun.rb
|
260
|
-
- lib/vmc/micro.rb
|
261
|
-
- lib/vmc.rb
|
262
|
-
- caldecott_helper/Gemfile
|
263
|
-
- caldecott_helper/Gemfile.lock
|
264
|
-
- caldecott_helper/server.rb
|
265
|
-
- bin/af
|
266
|
-
has_rdoc: true
|
267
231
|
homepage: http://appfog.com
|
268
232
|
licenses: []
|
269
|
-
|
233
|
+
metadata: {}
|
270
234
|
post_install_message:
|
271
235
|
rdoc_options: []
|
272
|
-
|
273
|
-
require_paths:
|
236
|
+
require_paths:
|
274
237
|
- lib
|
275
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
none: false
|
286
|
-
requirements:
|
287
|
-
- - ">"
|
288
|
-
- !ruby/object:Gem::Version
|
289
|
-
hash: 25
|
290
|
-
segments:
|
291
|
-
- 1
|
292
|
-
- 3
|
293
|
-
- 1
|
294
|
-
version: 1.3.1
|
238
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - ! '>='
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
243
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
|
+
requirements:
|
245
|
+
- - ! '>='
|
246
|
+
- !ruby/object:Gem::Version
|
247
|
+
version: '0'
|
295
248
|
requirements: []
|
296
|
-
|
297
249
|
rubyforge_project:
|
298
|
-
rubygems_version:
|
250
|
+
rubygems_version: 2.2.1
|
299
251
|
signing_key:
|
300
|
-
specification_version:
|
252
|
+
specification_version: 4
|
301
253
|
summary: AppFog.com CLI
|
302
254
|
test_files: []
|
303
|
-
|