aws-cfn-dsl 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c40097a8abb684000122cdd14227aec38bcc416b
4
- data.tar.gz: eaf401cf08d69d21f74d40de25f97474aa73d696
3
+ metadata.gz: 4a3fe04c5cf9704bc7d15981e3a6b711e24511e5
4
+ data.tar.gz: 0db31d25dbd543b2a4256d11ac81752c79d927c7
5
5
  SHA512:
6
- metadata.gz: d80906483c8db621505162efbe96531e6c73b73b158b76e1e59a09687b8039a02dd45696006a8887502c07eee5404dc426ba6a96f2d2d90b377484b927219615
7
- data.tar.gz: a413157cbdad632905f84e0f034bef262ebbaafd8cc00a128a4b8897ed65e4b648544c2e40a5006feebe6ef4ba99247ba5891de4f617347f4491f1bef3e1b664
6
+ metadata.gz: d9c7d4f3cd64dad255c1c629de8a3efef649ad18ee5a4702d45453cc182e82330401b0f17c97b5cc60b7a2be92a49b707e379ef5d9566bc4c61e156e0b4939f4
7
+ data.tar.gz: 00380934662ed35d83bfbbdf4ab0ca8e8598b95913ed715572df5959700c112a94d5628ef7df696dee85dad967845f500481b032ce6ab8574484093ca86e7c6e
@@ -8,10 +8,17 @@ module Aws
8
8
  module Cfn
9
9
  module Dsl
10
10
  class Template < ::TemplateDSL
11
+ attr_reader :dict
11
12
 
12
- def initialize(&block)
13
- @path = File.dirname(caller[2].split(%r'\s+').shift.split(':')[0])
14
- super
13
+ def dict
14
+ @dict
15
+ end
16
+
17
+ def initialize(path=nil,&block)
18
+ @path = path || File.dirname(caller[2].split(%r'\s+').shift.split(':')[0])
19
+ super() do
20
+ # We do nothing with the template for now
21
+ end
15
22
  end
16
23
 
17
24
  def file(b)
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Cfn
3
3
  module Dsl
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-cfn-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christo DeLange