cfndsl 1.0.1 → 1.0.2

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: fa4ad22d1869638d97ea306341e679d85b3cef63f06959327010d764a025fb03
4
- data.tar.gz: 171d4dd5fa7cb40634442a6c3e12e8bb3a7bc8620b0470dd932c15f3fbf15194
3
+ metadata.gz: 01340b9714e0b3c514e513638b09daf22861f91a154a5cf05e176e3a05ff548b
4
+ data.tar.gz: '091ff14d702df7631af11e60d02e7b60f6ba4ac7344a022a1d3cc9123c80709e'
5
5
  SHA512:
6
- metadata.gz: f441c9be9426bbae17213ae159fd2542951ac01bb5a2843f690ab34e12fe6e7b2c2fdc53ae83571fe965e9ef7355a20c73157d8c8eeeb6d01195399a90798cac
7
- data.tar.gz: 1f3a854d5d184f0463cea92e55109854219b0ece263138036b39fa89d33b37cfb8ce4c237bf76aad1cdba9e91f1198d682d9ef74a3f4a9ba2d8dda54afafe8f8
6
+ metadata.gz: 2bf51eeb441557194cea3c6e42af76677804a22181fc8df147bd26cb4fcd5b77f7d19c44aee486d009fb44cab73ea07272809e140405725c792e05ba517f5d9f
7
+ data.tar.gz: 5c898c1e74cf59470068a2140ff26101059528f9e9bc7f8d4b0105dbf44a0a9f8efc289dcdf2d8c7ae6e45b881d733dac24df434699cea6dbc7b60828153f6e8
data/CHANGELOG.md CHANGED
@@ -1,7 +1,20 @@
1
1
  # Change Log
2
2
 
3
- ## [1.0.1](https://github.com/cfndsl/cfndsl/tree/1.0.1) (2020-01-27)
4
- [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.0.0...1.0.1)
3
+ ## [1.0.2](https://github.com/cfndsl/cfndsl/tree/1.0.2) (2020-02-22)
4
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.0.1...1.0.2)
5
+
6
+ **Closed issues:**
7
+
8
+ - Typo in README examples [\#446](https://github.com/cfndsl/cfndsl/issues/446)
9
+ - Resources \["Foo"\] refer to unknown Reference AWS::Partition [\#444](https://github.com/cfndsl/cfndsl/issues/444)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Fix \#446 [\#447](https://github.com/cfndsl/cfndsl/pull/447) ([gergnz](https://github.com/gergnz))
14
+ - Added support for AWS::Partition pseudo parameter [\#445](https://github.com/cfndsl/cfndsl/pull/445) ([behrangsa](https://github.com/behrangsa))
15
+
16
+ ## [v1.0.1](https://github.com/cfndsl/cfndsl/tree/v1.0.1) (2020-01-26)
17
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.0.0...v1.0.1)
5
18
 
6
19
  **Implemented enhancements:**
7
20
 
data/README.md CHANGED
@@ -113,7 +113,7 @@ CloudFormation do
113
113
 
114
114
  EC2_Instance(:myInstance) do
115
115
  ImageId 'ami-12345678'
116
- Type 't1.micro'
116
+ InstanceType 't1.micro'
117
117
  end
118
118
  end
119
119
  ```
@@ -32,7 +32,8 @@ module CfnDsl
32
32
  'AWS::StackName' => 1,
33
33
  'AWS::AccountId' => 1,
34
34
  'AWS::NoValue' => 1,
35
- 'AWS::URLSuffix' => 1
35
+ 'AWS::URLSuffix' => 1,
36
+ 'AWS::Partition' => 1
36
37
  }.freeze
37
38
 
38
39
  class << self
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CfnDsl
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
data/spec/cfndsl_spec.rb CHANGED
@@ -166,7 +166,8 @@ describe CfnDsl::CloudFormationTemplate do
166
166
  'AWS::Region',
167
167
  'AWS::StackId',
168
168
  'AWS::StackName',
169
- 'AWS::URLSuffix'
169
+ 'AWS::URLSuffix',
170
+ 'AWS::Partition'
170
171
  ].each do |param|
171
172
  ref = subject.Ref param
172
173
  expect(ref.to_json).to eq("{\"Ref\":\"#{param}\"}")
data/spec/cli_spec.rb CHANGED
@@ -71,7 +71,7 @@ Specification ([0-9]+\.){2}[0-9]+ successfully written to #{ENV['HOME']}/.cfndsl
71
71
 
72
72
  context 'cfndsl' do
73
73
  it 'displays the usage' do
74
- run_command'cfndsl'
74
+ run_command 'cfndsl'
75
75
  expect(last_command_started).to have_output(usage)
76
76
  expect(last_command_started).to have_exit_status(1)
77
77
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfndsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2020-01-26 00:00:00.000000000 Z
14
+ date: 2020-02-22 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler