manifests-vmc-plugin 0.4.6 → 0.4.7
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.
|
@@ -30,6 +30,15 @@ class Manifests < VMC::CLI
|
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
+
case wrap
|
|
34
|
+
when :file, :files
|
|
35
|
+
# treat 'vmc files app/' as 'vmc files <app> app/'
|
|
36
|
+
if input.given?(:app) && !input.given?(:path)
|
|
37
|
+
path = input.given(:app)
|
|
38
|
+
input = input.without(:app).merge_given(:path => path)
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
33
42
|
num = 0
|
|
34
43
|
rest =
|
|
35
44
|
specific_apps_or_all(input) do |info|
|
data/lib/manifests-vmc-plugin.rb
CHANGED
|
@@ -420,13 +420,13 @@ module VMCManifests
|
|
|
420
420
|
root = input[:path]
|
|
421
421
|
end
|
|
422
422
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
423
|
+
with_progress("Saving to #{c("manifest.yml", :name)}") do
|
|
424
|
+
File.open("manifest.yml", "w") do |io|
|
|
425
|
+
YAML.dump(
|
|
426
|
+
{ "applications" => { root => meta } },
|
|
427
|
+
io)
|
|
428
|
+
end
|
|
427
429
|
end
|
|
428
|
-
|
|
429
|
-
puts "Saved to #{c("manifest.yml", :name)}."
|
|
430
430
|
end
|
|
431
431
|
end
|
|
432
432
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: manifests-vmc-plugin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.4.7
|
|
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-09-
|
|
18
|
+
date: 2012-09-18 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: cfoundry
|