cfhighlander 0.10.1.alpha.1572136587 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b3df277b4f4cb0db4630d29aab0b4a18c0ffbdd3e1b3958f47e53db8073c188
4
- data.tar.gz: b4587425c4c897c563d857fc978218c6a3f866266bd487542f6d6a254b2c5efb
3
+ metadata.gz: 591f2b964f1d6c84ee414e128385e1f08441447a865795c6742f268c3929727d
4
+ data.tar.gz: 7ed6f4164a5b2f0706717e8d73ad2dc283f11fa9fdaef4ee520ff0e4d8e71f9c
5
5
  SHA512:
6
- metadata.gz: 5f6c307abb46fc955f190cf9a086039bba32a28068d94e1b00cdb358de79d5d1c2785e3c8b8ac52d7c533a7a1db19f496382a13e91ca5bcd1dcd69cffd01530d
7
- data.tar.gz: 6a61e26fa728bdb3ed1d898dfd5db2744443aefbdc87d7db856b166ee3c169f909978e771e2fc210d60cc2c4ff2d52667be3547141a8830ab2de4875aa883097
6
+ metadata.gz: 531c661ec773f1878323086d945d6b25c38c8086f45914e3b465f631b8e0cf298c14b19bafb4ca1ba1ff703569f26b428a425e1f0e39f0b69c2dda9f607f93db
7
+ data.tar.gz: 79a26274eed6f2beee1f9de05a47da6d07a63f2f7db5fd4b681a8ee8861fbbdadf0a15b7594e4a2100c3de5ee3f0acbdadc34ec4db4b5e639edf166392395120
data/README.md CHANGED
@@ -651,19 +651,6 @@ end
651
651
  Will include any cfndsl libraries present and exported in vpc template
652
652
  so extension methods can be consumed within cfndsl template.
653
653
 
654
- ### Component dependson
655
-
656
- If you require dependencies between nest stacks, this can be defined in the component by using the `dependson` attribute with the value of the depend component names. This will take an array of component names or a string with a single component name. This adds the cloudformation `DependsOn` property to the stack resource in the master template.
657
-
658
- ```ruby
659
- CfhighlanderTemplate do
660
- Name 'test'
661
- Component name: 'vpc', template: 'vpc'
662
- Component name: 'bastion', template: 'bastion'
663
- Component name: 'ecs', template: 'ecs', dependson: ['vpc','bastion']
664
- end
665
- ```
666
-
667
654
  ### LambdaFunctions
668
655
 
669
656
 
@@ -34,8 +34,7 @@ module Cfhighlander
34
34
  :name,
35
35
  :template,
36
36
  :template_version,
37
- :inlined,
38
- :dependson
37
+ :inlined
39
38
 
40
39
  def initialize(parent,
41
40
  name,
@@ -46,7 +45,6 @@ module Cfhighlander
46
45
  export_config = {},
47
46
  conditional = false,
48
47
  enabled = true,
49
- dependson = [],
50
48
  inline = false,
51
49
  distribution_format = 'yaml')
52
50
 
@@ -55,9 +53,8 @@ module Cfhighlander
55
53
  @export_config = export_config
56
54
  @component_sources = component_sources
57
55
  @conditional = conditional
58
- @dependson = [*dependson]
59
56
  @inlined = inline
60
-
57
+
61
58
  template_name = template
62
59
  template_version = 'latest'
63
60
  if template.include?('@') and not (template.start_with? 'git')
@@ -118,7 +118,6 @@ module Cfhighlander
118
118
  export_config: {},
119
119
  conditional: false,
120
120
  enabled: true,
121
- dependson: [],
122
121
  render: Cfhighlander::Model::Component::Substack,
123
122
  &block)
124
123
  puts "INFO: Requested subcomponent #{name} with template #{template}"
@@ -130,7 +129,7 @@ module Cfhighlander
130
129
  end
131
130
 
132
131
  name = template if name.nil?
133
-
132
+
134
133
  # load component
135
134
  component = Cfhighlander::Dsl::Subcomponent.new(self,
136
135
  name,
@@ -141,7 +140,6 @@ module Cfhighlander
141
140
  export_config,
142
141
  conditional,
143
142
  enabled,
144
- dependson,
145
143
  render == Cfhighlander::Model::Component::Inline
146
144
  )
147
145
  # component.instance_eval(&block) unless block.nil?
@@ -11,9 +11,6 @@ CloudFormation do
11
11
  <% for @subcomponent in dsl.subcomponents %>
12
12
  CloudFormation_Stack('<%= @subcomponent.cfn_name %>') do
13
13
  TemplateURL '<%= @subcomponent.distribution_url %>'
14
- <%- if !@subcomponent.dependson.empty? %>
15
- DependsOn <%= @subcomponent.dependson %>
16
- <%- end %>
17
14
  Parameters ({
18
15
  <% for @param in @subcomponent.parameters %><%="\t"%>'<%=@param.name %>' => <%= @param.cfndsl_value %>,
19
16
  <% end %>})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfhighlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1.alpha.1572136587
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Tosic
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-10-27 00:00:00.000000000 Z
13
+ date: 2019-08-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline
@@ -56,36 +56,42 @@ dependencies:
56
56
  name: cfndsl
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.17'
62
+ - - "<"
60
63
  - !ruby/object:Gem::Version
61
- version: 0.17.2
64
+ version: '1'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - '='
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '0.17'
72
+ - - "<"
67
73
  - !ruby/object:Gem::Version
68
- version: 0.17.2
74
+ version: '1'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rubyzip
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - ">="
74
80
  - !ruby/object:Gem::Version
75
- version: 2.0.0
81
+ version: 1.2.1
76
82
  - - "<"
77
83
  - !ruby/object:Gem::Version
78
- version: '3'
84
+ version: '2'
79
85
  type: :runtime
80
86
  prerelease: false
81
87
  version_requirements: !ruby/object:Gem::Requirement
82
88
  requirements:
83
89
  - - ">="
84
90
  - !ruby/object:Gem::Version
85
- version: 2.0.0
91
+ version: 1.2.1
86
92
  - - "<"
87
93
  - !ruby/object:Gem::Version
88
- version: '3'
94
+ version: '2'
89
95
  - !ruby/object:Gem::Dependency
90
96
  name: aws-sdk-core
91
97
  requirement: !ruby/object:Gem::Requirement
@@ -186,6 +192,26 @@ dependencies:
186
192
  - - "<"
187
193
  - !ruby/object:Gem::Version
188
194
  version: '2'
195
+ - !ruby/object:Gem::Dependency
196
+ name: netaddr
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '1.5'
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: 1.5.1
205
+ type: :runtime
206
+ prerelease: false
207
+ version_requirements: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - "~>"
210
+ - !ruby/object:Gem::Version
211
+ version: '1.5'
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: 1.5.1
189
215
  - !ruby/object:Gem::Dependency
190
216
  name: duplicate
191
217
  requirement: !ruby/object:Gem::Requirement
@@ -271,9 +297,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
271
297
  version: '0'
272
298
  required_rubygems_version: !ruby/object:Gem::Requirement
273
299
  requirements:
274
- - - ">"
300
+ - - ">="
275
301
  - !ruby/object:Gem::Version
276
- version: 1.3.1
302
+ version: '0'
277
303
  requirements: []
278
304
  rubyforge_project:
279
305
  rubygems_version: 2.7.7