manifests-vmc-plugin 0.4.1 → 0.4.2
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.
- data/lib/manifests-vmc-plugin.rb +7 -5
- data/lib/manifests-vmc-plugin/version.rb +1 -1
- metadata +4 -4
data/lib/manifests-vmc-plugin.rb
CHANGED
@@ -556,13 +556,15 @@ module VMCManifests
|
|
556
556
|
(s.provider == (svc["provider"] || "core"))
|
557
557
|
}
|
558
558
|
|
559
|
-
fail "Unknown service." unless service
|
559
|
+
fail "Unknown service: #{svc.inspect}." unless service
|
560
560
|
|
561
|
-
|
562
|
-
|
563
|
-
|
561
|
+
if v2?
|
562
|
+
plan = service.service_plans.find { |p|
|
563
|
+
p.name == svc["plan"] || "D100"
|
564
|
+
}
|
564
565
|
|
565
|
-
|
566
|
+
fail "Unknown service plan: #{svc["plan"]}." unless plan
|
567
|
+
end
|
566
568
|
|
567
569
|
invoke :create_service,
|
568
570
|
:name => name,
|
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: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 2
|
10
|
+
version: 0.4.2
|
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-07-
|
18
|
+
date: 2012-07-25 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: cfoundry
|