vmc 0.4.0.beta.88 → 0.4.0.beta.89
Sign up to get free protection for your applications and to get access to all the features.
- data/vmc-ng/lib/vmc/cli/app.rb +3 -4
- data/vmc-ng/lib/vmc/cli/route.rb +2 -2
- data/vmc-ng/lib/vmc/cli/service.rb +1 -0
- data/vmc-ng/lib/vmc/version.rb +1 -1
- metadata +6 -6
data/vmc-ng/lib/vmc/cli/app.rb
CHANGED
@@ -18,7 +18,7 @@ module VMC
|
|
18
18
|
:desc => "Verbose output format"
|
19
19
|
def apps
|
20
20
|
if space = input[:space]
|
21
|
-
space.summarize!
|
21
|
+
space.summarize! rescue CFoundry::APIError
|
22
22
|
|
23
23
|
apps =
|
24
24
|
with_progress("Getting applications in #{c(space.name, :name)}") do
|
@@ -31,14 +31,13 @@ module VMC
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
line unless quiet?
|
35
|
+
|
34
36
|
if apps.empty? and !quiet?
|
35
|
-
line
|
36
37
|
line "No applications."
|
37
38
|
return
|
38
39
|
end
|
39
40
|
|
40
|
-
line unless quiet?
|
41
|
-
|
42
41
|
apps.reject! do |a|
|
43
42
|
!app_matches(a, input)
|
44
43
|
end
|
data/vmc-ng/lib/vmc/cli/route.rb
CHANGED
@@ -96,10 +96,10 @@ module VMC
|
|
96
96
|
with_progress("Creating route #{c("#{host}.#{domain.name}", :name)}") do
|
97
97
|
route.create!
|
98
98
|
end
|
99
|
-
rescue CFoundry::
|
99
|
+
rescue CFoundry::RouteHostTaken => e
|
100
100
|
line c(e.description, :error)
|
101
101
|
line
|
102
|
-
|
102
|
+
input.forget(:host)
|
103
103
|
retry
|
104
104
|
end
|
105
105
|
end
|
data/vmc-ng/lib/vmc/version.rb
CHANGED
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: -871383130
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
9
|
- 0
|
10
10
|
- beta
|
11
|
-
-
|
12
|
-
version: 0.4.0.beta.
|
11
|
+
- 89
|
12
|
+
version: 0.4.0.beta.89
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- VMware
|
@@ -266,12 +266,12 @@ dependencies:
|
|
266
266
|
requirements:
|
267
267
|
- - ~>
|
268
268
|
- !ruby/object:Gem::Version
|
269
|
-
hash:
|
269
|
+
hash: 101
|
270
270
|
segments:
|
271
271
|
- 0
|
272
272
|
- 3
|
273
|
-
-
|
274
|
-
version: 0.3.
|
273
|
+
- 59
|
274
|
+
version: 0.3.59
|
275
275
|
type: :runtime
|
276
276
|
version_requirements: *id015
|
277
277
|
- !ruby/object:Gem::Dependency
|