sparkle_formation 3.0.26 → 3.0.28
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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +6 -0
- data/lib/sparkle_formation/composition.rb +17 -17
- data/lib/sparkle_formation/error.rb +2 -5
- data/lib/sparkle_formation/function_struct.rb +27 -31
- data/lib/sparkle_formation/provider/aws.rb +32 -31
- data/lib/sparkle_formation/provider/azure.rb +18 -19
- data/lib/sparkle_formation/provider/google.rb +20 -22
- data/lib/sparkle_formation/provider/heat.rb +17 -17
- data/lib/sparkle_formation/provider/terraform.rb +14 -15
- data/lib/sparkle_formation/provider.rb +0 -2
- data/lib/sparkle_formation/resources/aws.rb +129 -149
- data/lib/sparkle_formation/resources/aws_resources.json +9208 -5542
- data/lib/sparkle_formation/resources/azure.rb +2 -5
- data/lib/sparkle_formation/resources/azure_resources.json +12367 -2901
- data/lib/sparkle_formation/resources/google.rb +1 -4
- data/lib/sparkle_formation/resources/heat.rb +0 -4
- data/lib/sparkle_formation/resources/heat_resources.json +2616 -2062
- data/lib/sparkle_formation/resources/rackspace.rb +0 -4
- data/lib/sparkle_formation/resources/terraform.rb +2 -6
- data/lib/sparkle_formation/resources.rb +20 -24
- data/lib/sparkle_formation/sparkle.rb +56 -66
- data/lib/sparkle_formation/sparkle_attribute/aws.rb +61 -34
- data/lib/sparkle_formation/sparkle_attribute/azure.rb +12 -8
- data/lib/sparkle_formation/sparkle_attribute/google.rb +18 -15
- data/lib/sparkle_formation/sparkle_attribute/heat.rb +22 -7
- data/lib/sparkle_formation/sparkle_attribute/rackspace.rb +0 -2
- data/lib/sparkle_formation/sparkle_attribute/terraform.rb +11 -5
- data/lib/sparkle_formation/sparkle_attribute.rb +13 -7
- data/lib/sparkle_formation/sparkle_collection/rainbow.rb +5 -7
- data/lib/sparkle_formation/sparkle_collection.rb +13 -15
- data/lib/sparkle_formation/sparkle_formation.rb +116 -112
- data/lib/sparkle_formation/sparkle_struct.rb +30 -24
- data/lib/sparkle_formation/translation/heat.rb +57 -58
- data/lib/sparkle_formation/translation/rackspace.rb +48 -49
- data/lib/sparkle_formation/translation.rb +34 -37
- data/lib/sparkle_formation/utils.rb +6 -13
- data/lib/sparkle_formation/version.rb +1 -1
- data/sparkle_formation.gemspec +1 -1
- metadata +9 -9
@@ -14,7 +14,6 @@ class SparkleFormation
|
|
14
14
|
RESOURCE_TYPE_NAMESPACE_SPLITTER = ['.']
|
15
15
|
|
16
16
|
class << self
|
17
|
-
|
18
17
|
include Bogo::Memoization
|
19
18
|
|
20
19
|
# Load the builtin AWS resources
|
@@ -31,7 +30,7 @@ class SparkleFormation
|
|
31
30
|
# NOTE: Internal resource type used for nesting
|
32
31
|
registry['sparkleformation.stack'] = {
|
33
32
|
'properties' => [],
|
34
|
-
'full_properties' => {}
|
33
|
+
'full_properties' => {},
|
35
34
|
}
|
36
35
|
true
|
37
36
|
end
|
@@ -41,9 +40,7 @@ class SparkleFormation
|
|
41
40
|
def included(_klass)
|
42
41
|
load!
|
43
42
|
end
|
44
|
-
|
45
43
|
end
|
46
|
-
|
47
44
|
end
|
48
45
|
end
|
49
46
|
end
|
@@ -7,9 +7,7 @@ class SparkleFormation
|
|
7
7
|
|
8
8
|
# Heat specific resources collection
|
9
9
|
class Heat < Resources
|
10
|
-
|
11
10
|
class << self
|
12
|
-
|
13
11
|
include Bogo::Memoization
|
14
12
|
|
15
13
|
# Load the builtin AWS resources
|
@@ -31,9 +29,7 @@ class SparkleFormation
|
|
31
29
|
def included(_klass)
|
32
30
|
load!
|
33
31
|
end
|
34
|
-
|
35
32
|
end
|
36
|
-
|
37
33
|
end
|
38
34
|
end
|
39
35
|
end
|