vmc 0.4.0.beta.1 → 0.4.0.beta.2
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 +4 -4
- metadata +3 -3
data/vmc-ng/lib/vmc/cli/app.rb
CHANGED
@@ -92,7 +92,7 @@ module VMC
|
|
92
92
|
flag :name
|
93
93
|
flag :debug_mode
|
94
94
|
def start(*names)
|
95
|
-
if name =
|
95
|
+
if name = passed_value(:name)
|
96
96
|
names = [name]
|
97
97
|
end
|
98
98
|
|
@@ -128,7 +128,7 @@ module VMC
|
|
128
128
|
group :apps, :manage
|
129
129
|
flag :name
|
130
130
|
def stop(*names)
|
131
|
-
if name =
|
131
|
+
if name = passed_value(:name)
|
132
132
|
names = [name]
|
133
133
|
end
|
134
134
|
|
@@ -209,7 +209,7 @@ module VMC
|
|
209
209
|
group :apps, :info, :hidden => true
|
210
210
|
flag :name
|
211
211
|
def instances(*names)
|
212
|
-
if name =
|
212
|
+
if name = passed_value(:name)
|
213
213
|
names = [name]
|
214
214
|
end
|
215
215
|
|
@@ -338,7 +338,7 @@ module VMC
|
|
338
338
|
group :apps, :info, :hidden => true
|
339
339
|
flag :name
|
340
340
|
def health(*names)
|
341
|
-
if name =
|
341
|
+
if name = passed_value(:name)
|
342
342
|
names = [name]
|
343
343
|
end
|
344
344
|
|
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: 62196455
|
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
|
+
- 2
|
12
|
+
version: 0.4.0.beta.2
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- VMware
|