awsome 0.0.22 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/awsome/requirements.rb +2 -2
- metadata +1 -1
data/lib/awsome/requirements.rb
CHANGED
@@ -16,7 +16,7 @@ module Awsome
|
|
16
16
|
def instances
|
17
17
|
@requirements['instances'].collect do |req|
|
18
18
|
instance = req.clone
|
19
|
-
inflate
|
19
|
+
instance = inflate(instance, instance.delete('traits'))
|
20
20
|
Awsome::InstanceRequirement.new(instance, @options)
|
21
21
|
end
|
22
22
|
end
|
@@ -37,7 +37,7 @@ module Awsome
|
|
37
37
|
end
|
38
38
|
|
39
39
|
# implements trait inheritance
|
40
|
-
def inflate
|
40
|
+
def inflate(instance, names)
|
41
41
|
inflated = instance.clone
|
42
42
|
|
43
43
|
# prevents loops
|