manifests-vmc-plugin 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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|
@@ -1,3 +1,3 @@
1
1
  module VMCManifests
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
@@ -420,13 +420,13 @@ module VMCManifests
420
420
  root = input[:path]
421
421
  end
422
422
 
423
- File.open("manifest.yml", "w") do |io|
424
- YAML.dump(
425
- { "applications" => { root => meta } },
426
- io)
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 6
10
- version: 0.4.6
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-17 00:00:00 Z
18
+ date: 2012-09-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: cfoundry