sparkle_formation 3.0.26 → 3.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +6 -0
  3. data/lib/sparkle_formation/composition.rb +17 -17
  4. data/lib/sparkle_formation/error.rb +2 -5
  5. data/lib/sparkle_formation/function_struct.rb +27 -31
  6. data/lib/sparkle_formation/provider/aws.rb +32 -31
  7. data/lib/sparkle_formation/provider/azure.rb +18 -19
  8. data/lib/sparkle_formation/provider/google.rb +20 -22
  9. data/lib/sparkle_formation/provider/heat.rb +17 -17
  10. data/lib/sparkle_formation/provider/terraform.rb +14 -15
  11. data/lib/sparkle_formation/provider.rb +0 -2
  12. data/lib/sparkle_formation/resources/aws.rb +129 -149
  13. data/lib/sparkle_formation/resources/aws_resources.json +9208 -5542
  14. data/lib/sparkle_formation/resources/azure.rb +2 -5
  15. data/lib/sparkle_formation/resources/azure_resources.json +12367 -2901
  16. data/lib/sparkle_formation/resources/google.rb +1 -4
  17. data/lib/sparkle_formation/resources/heat.rb +0 -4
  18. data/lib/sparkle_formation/resources/heat_resources.json +2616 -2062
  19. data/lib/sparkle_formation/resources/rackspace.rb +0 -4
  20. data/lib/sparkle_formation/resources/terraform.rb +2 -6
  21. data/lib/sparkle_formation/resources.rb +20 -24
  22. data/lib/sparkle_formation/sparkle.rb +56 -66
  23. data/lib/sparkle_formation/sparkle_attribute/aws.rb +61 -34
  24. data/lib/sparkle_formation/sparkle_attribute/azure.rb +12 -8
  25. data/lib/sparkle_formation/sparkle_attribute/google.rb +18 -15
  26. data/lib/sparkle_formation/sparkle_attribute/heat.rb +22 -7
  27. data/lib/sparkle_formation/sparkle_attribute/rackspace.rb +0 -2
  28. data/lib/sparkle_formation/sparkle_attribute/terraform.rb +11 -5
  29. data/lib/sparkle_formation/sparkle_attribute.rb +13 -7
  30. data/lib/sparkle_formation/sparkle_collection/rainbow.rb +5 -7
  31. data/lib/sparkle_formation/sparkle_collection.rb +13 -15
  32. data/lib/sparkle_formation/sparkle_formation.rb +116 -112
  33. data/lib/sparkle_formation/sparkle_struct.rb +30 -24
  34. data/lib/sparkle_formation/translation/heat.rb +57 -58
  35. data/lib/sparkle_formation/translation/rackspace.rb +48 -49
  36. data/lib/sparkle_formation/translation.rb +34 -37
  37. data/lib/sparkle_formation/utils.rb +6 -13
  38. data/lib/sparkle_formation/version.rb +1 -1
  39. data/sparkle_formation.gemspec +1 -1
  40. 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