vmc 0.5.0.beta.12 → 0.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmc/cli.rb +62 -24
- data/lib/vmc/cli/app/push.rb +23 -2
- data/lib/vmc/cli/app/push/create.rb +14 -7
- data/lib/vmc/cli/app/push/interactions.rb +10 -3
- data/lib/vmc/cli/app/push/sync.rb +4 -2
- data/lib/vmc/cli/app/stats.rb +1 -1
- data/lib/vmc/cli/route/map.rb +22 -16
- data/lib/vmc/cli/service/create.rb +19 -4
- data/lib/vmc/cli/start/info.rb +4 -0
- data/lib/vmc/cli/start/login.rb +4 -0
- data/lib/vmc/cli/start/logout.rb +4 -0
- data/lib/vmc/cli/user/base.rb +1 -1
- data/lib/vmc/test_support/command_helper.rb +7 -13
- data/lib/vmc/version.rb +1 -1
- data/spec/assets/specker_runner/specker_runner_input.rb +6 -0
- data/spec/assets/specker_runner/specker_runner_pause.rb +5 -0
- data/spec/console_app_specker/console_app_specker_matchers_spec.rb +152 -0
- data/spec/console_app_specker/specker_runner_spec.rb +157 -0
- data/spec/features/new_user_flow_spec.rb +83 -45
- data/spec/spec_helper.rb +16 -0
- data/spec/support/console_app_specker_matchers.rb +75 -0
- data/spec/support/specker_runner.rb +123 -0
- data/spec/vmc/cli/app/push/create_spec.rb +82 -21
- data/spec/vmc/cli/app/push_spec.rb +49 -4
- data/spec/vmc/cli/app/stats_spec.rb +1 -1
- data/spec/vmc/cli/route/map_spec.rb +38 -42
- data/spec/vmc/cli/start/info_spec.rb +21 -1
- data/spec/vmc/cli/start/login_spec.rb +36 -10
- data/spec/vmc/cli/start/logout_spec.rb +63 -0
- data/spec/vmc/cli/user/passwd_spec.rb +1 -1
- data/spec/vmc/cli/user/register_spec.rb +1 -1
- data/spec/vmc/cli_spec.rb +243 -33
- metadata +68 -36
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vmc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: -237385856
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
-
|
12
|
-
version: 0.5.0.
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 0.5.0.rc1
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Cloud Foundry Team
|
@@ -18,9 +18,11 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2013-02-
|
21
|
+
date: 2013-02-21 00:00:00 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
|
+
prerelease: false
|
25
|
+
name: json_pure
|
24
26
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
27
|
none: false
|
26
28
|
requirements:
|
@@ -31,11 +33,11 @@ dependencies:
|
|
31
33
|
- 1
|
32
34
|
- 6
|
33
35
|
version: "1.6"
|
34
|
-
prerelease: false
|
35
36
|
type: :runtime
|
36
|
-
name: json_pure
|
37
37
|
requirement: *id001
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
+
prerelease: false
|
40
|
+
name: multi_json
|
39
41
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
43
|
requirements:
|
@@ -46,11 +48,11 @@ dependencies:
|
|
46
48
|
- 1
|
47
49
|
- 3
|
48
50
|
version: "1.3"
|
49
|
-
prerelease: false
|
50
51
|
type: :runtime
|
51
|
-
name: multi_json
|
52
52
|
requirement: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
+
prerelease: false
|
55
|
+
name: interact
|
54
56
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
57
|
none: false
|
56
58
|
requirements:
|
@@ -61,26 +63,36 @@ dependencies:
|
|
61
63
|
- 0
|
62
64
|
- 5
|
63
65
|
version: "0.5"
|
64
|
-
prerelease: false
|
65
66
|
type: :runtime
|
66
|
-
name: interact
|
67
67
|
requirement: *id003
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
|
+
prerelease: false
|
70
|
+
name: cfoundry
|
69
71
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
72
|
none: false
|
71
73
|
requirements:
|
72
|
-
- -
|
74
|
+
- - ">="
|
73
75
|
- !ruby/object:Gem::Version
|
74
|
-
hash:
|
76
|
+
hash: -237385842
|
75
77
|
segments:
|
76
78
|
- 0
|
77
79
|
- 5
|
78
|
-
|
79
|
-
|
80
|
+
- 1
|
81
|
+
- rc
|
82
|
+
- 2
|
83
|
+
version: 0.5.1.rc2
|
84
|
+
- - <
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 7
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
- 6
|
90
|
+
version: "0.6"
|
80
91
|
type: :runtime
|
81
|
-
name: cfoundry
|
82
92
|
requirement: *id004
|
83
93
|
- !ruby/object:Gem::Dependency
|
94
|
+
prerelease: false
|
95
|
+
name: clouseau
|
84
96
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
85
97
|
none: false
|
86
98
|
requirements:
|
@@ -91,26 +103,34 @@ dependencies:
|
|
91
103
|
- 0
|
92
104
|
- 0
|
93
105
|
version: "0.0"
|
94
|
-
prerelease: false
|
95
106
|
type: :runtime
|
96
|
-
name: clouseau
|
97
107
|
requirement: *id005
|
98
108
|
- !ruby/object:Gem::Dependency
|
109
|
+
prerelease: false
|
110
|
+
name: mothership
|
99
111
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
100
112
|
none: false
|
101
113
|
requirements:
|
102
|
-
- -
|
114
|
+
- - ">="
|
103
115
|
- !ruby/object:Gem::Version
|
104
|
-
hash:
|
116
|
+
hash: 9
|
105
117
|
segments:
|
106
118
|
- 0
|
107
119
|
- 5
|
108
|
-
|
109
|
-
|
120
|
+
- 1
|
121
|
+
version: 0.5.1
|
122
|
+
- - <
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 15
|
125
|
+
segments:
|
126
|
+
- 1
|
127
|
+
- 0
|
128
|
+
version: "1.0"
|
110
129
|
type: :runtime
|
111
|
-
name: mothership
|
112
130
|
requirement: *id006
|
113
131
|
- !ruby/object:Gem::Dependency
|
132
|
+
prerelease: false
|
133
|
+
name: manifests-vmc-plugin
|
114
134
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
115
135
|
none: false
|
116
136
|
requirements:
|
@@ -121,11 +141,11 @@ dependencies:
|
|
121
141
|
- 0
|
122
142
|
- 6
|
123
143
|
version: "0.6"
|
124
|
-
prerelease: false
|
125
144
|
type: :runtime
|
126
|
-
name: manifests-vmc-plugin
|
127
145
|
requirement: *id007
|
128
146
|
- !ruby/object:Gem::Dependency
|
147
|
+
prerelease: false
|
148
|
+
name: tunnel-vmc-plugin
|
129
149
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
130
150
|
none: false
|
131
151
|
requirements:
|
@@ -136,11 +156,11 @@ dependencies:
|
|
136
156
|
- 0
|
137
157
|
- 2
|
138
158
|
version: "0.2"
|
139
|
-
prerelease: false
|
140
159
|
type: :runtime
|
141
|
-
name: tunnel-vmc-plugin
|
142
160
|
requirement: *id008
|
143
161
|
- !ruby/object:Gem::Dependency
|
162
|
+
prerelease: false
|
163
|
+
name: rake
|
144
164
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
145
165
|
none: false
|
146
166
|
requirements:
|
@@ -151,11 +171,11 @@ dependencies:
|
|
151
171
|
- 0
|
152
172
|
- 9
|
153
173
|
version: "0.9"
|
154
|
-
prerelease: false
|
155
174
|
type: :development
|
156
|
-
name: rake
|
157
175
|
requirement: *id009
|
158
176
|
- !ruby/object:Gem::Dependency
|
177
|
+
prerelease: false
|
178
|
+
name: rspec
|
159
179
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
160
180
|
none: false
|
161
181
|
requirements:
|
@@ -166,11 +186,11 @@ dependencies:
|
|
166
186
|
- 2
|
167
187
|
- 11
|
168
188
|
version: "2.11"
|
169
|
-
prerelease: false
|
170
189
|
type: :development
|
171
|
-
name: rspec
|
172
190
|
requirement: *id010
|
173
191
|
- !ruby/object:Gem::Dependency
|
192
|
+
prerelease: false
|
193
|
+
name: webmock
|
174
194
|
version_requirements: &id011 !ruby/object:Gem::Requirement
|
175
195
|
none: false
|
176
196
|
requirements:
|
@@ -181,11 +201,11 @@ dependencies:
|
|
181
201
|
- 1
|
182
202
|
- 9
|
183
203
|
version: "1.9"
|
184
|
-
prerelease: false
|
185
204
|
type: :development
|
186
|
-
name: webmock
|
187
205
|
requirement: *id011
|
188
206
|
- !ruby/object:Gem::Dependency
|
207
|
+
prerelease: false
|
208
|
+
name: rr
|
189
209
|
version_requirements: &id012 !ruby/object:Gem::Requirement
|
190
210
|
none: false
|
191
211
|
requirements:
|
@@ -196,9 +216,7 @@ dependencies:
|
|
196
216
|
- 1
|
197
217
|
- 0
|
198
218
|
version: "1.0"
|
199
|
-
prerelease: false
|
200
219
|
type: :development
|
201
|
-
name: rr
|
202
220
|
requirement: *id012
|
203
221
|
description:
|
204
222
|
email:
|
@@ -294,8 +312,14 @@ files:
|
|
294
312
|
- lib/vmc.rb
|
295
313
|
- spec/assets/hello-sinatra/Gemfile
|
296
314
|
- spec/assets/hello-sinatra/main.rb
|
315
|
+
- spec/assets/specker_runner/specker_runner_input.rb
|
316
|
+
- spec/assets/specker_runner/specker_runner_pause.rb
|
317
|
+
- spec/console_app_specker/console_app_specker_matchers_spec.rb
|
318
|
+
- spec/console_app_specker/specker_runner_spec.rb
|
297
319
|
- spec/features/new_user_flow_spec.rb
|
298
320
|
- spec/spec_helper.rb
|
321
|
+
- spec/support/console_app_specker_matchers.rb
|
322
|
+
- spec/support/specker_runner.rb
|
299
323
|
- spec/vmc/cli/app/base_spec.rb
|
300
324
|
- spec/vmc/cli/app/delete_spec.rb
|
301
325
|
- spec/vmc/cli/app/instances_spec.rb
|
@@ -319,6 +343,7 @@ files:
|
|
319
343
|
- spec/vmc/cli/space/spaces_spec.rb
|
320
344
|
- spec/vmc/cli/start/info_spec.rb
|
321
345
|
- spec/vmc/cli/start/login_spec.rb
|
346
|
+
- spec/vmc/cli/start/logout_spec.rb
|
322
347
|
- spec/vmc/cli/user/create_spec.rb
|
323
348
|
- spec/vmc/cli/user/passwd_spec.rb
|
324
349
|
- spec/vmc/cli/user/register_spec.rb
|
@@ -356,15 +381,21 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
356
381
|
requirements: []
|
357
382
|
|
358
383
|
rubyforge_project: vmc
|
359
|
-
rubygems_version: 1.8.
|
384
|
+
rubygems_version: 1.8.25
|
360
385
|
signing_key:
|
361
386
|
specification_version: 3
|
362
387
|
summary: Friendly command-line interface for Cloud Foundry.
|
363
388
|
test_files:
|
364
389
|
- spec/assets/hello-sinatra/Gemfile
|
365
390
|
- spec/assets/hello-sinatra/main.rb
|
391
|
+
- spec/assets/specker_runner/specker_runner_input.rb
|
392
|
+
- spec/assets/specker_runner/specker_runner_pause.rb
|
393
|
+
- spec/console_app_specker/console_app_specker_matchers_spec.rb
|
394
|
+
- spec/console_app_specker/specker_runner_spec.rb
|
366
395
|
- spec/features/new_user_flow_spec.rb
|
367
396
|
- spec/spec_helper.rb
|
397
|
+
- spec/support/console_app_specker_matchers.rb
|
398
|
+
- spec/support/specker_runner.rb
|
368
399
|
- spec/vmc/cli/app/base_spec.rb
|
369
400
|
- spec/vmc/cli/app/delete_spec.rb
|
370
401
|
- spec/vmc/cli/app/instances_spec.rb
|
@@ -388,6 +419,7 @@ test_files:
|
|
388
419
|
- spec/vmc/cli/space/spaces_spec.rb
|
389
420
|
- spec/vmc/cli/start/info_spec.rb
|
390
421
|
- spec/vmc/cli/start/login_spec.rb
|
422
|
+
- spec/vmc/cli/start/logout_spec.rb
|
391
423
|
- spec/vmc/cli/user/create_spec.rb
|
392
424
|
- spec/vmc/cli/user/passwd_spec.rb
|
393
425
|
- spec/vmc/cli/user/register_spec.rb
|