cfndsl 0.12.4 → 0.12.5

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: 63fc0f48fe555a60c09f4ae226387137e85a8ec3
4
- data.tar.gz: ddfbb7ebdb356e1fb0a0e69f5119065a7461aa3c
3
+ metadata.gz: b0ce6b80021b802ef73be004a17b23edee006202
4
+ data.tar.gz: c70d0ffcca376c0117550abeb727b12f947b28c9
5
5
  SHA512:
6
- metadata.gz: d47120229e2b887fe184809c86d7be31b708a951d75f63d5cf9a260e5226ea107dd6403f6c4d12a35eb8e4a7bd6638269585ea8eac74095295577369e0330e30
7
- data.tar.gz: 2f305383b1299229e723f998e1e0fb57ce3aa8f7e32f3820c15d1c0ab7461dbd7fdd4601c163ce235db891665f2f0fb61c9171ff2b2c4a4edc3b3214152e8169
6
+ metadata.gz: 4a40a767c04119b65ce655f22a36faae0dc649d4e65234801ab0bf34720c02620f194e9e125911a454c8a20dfeaa926dd46ce21a6fb13dc78c955b145c7d17cb
7
+ data.tar.gz: ab440aeb6989617d44d6c2cf01c623e8aefc8c27014c69ae41f916b2742b883c325776b8fda2d05355dfe4f6fc4ecad9ace5b99ecaba22ad742fd7ec573ad9c1
data/Rakefile CHANGED
@@ -14,22 +14,22 @@ task :cov do
14
14
  end
15
15
 
16
16
  YamlLint::RakeTask.new do |t|
17
- t.paths = %w(
17
+ t.paths = %w[
18
18
  lib/cfndsl/aws/types.yaml
19
19
  lib/cfndsl/os/types.yaml
20
20
  sample/t1.yaml
21
21
  .travis.yml
22
22
  .rubocop.yml
23
- )
23
+ ]
24
24
  end
25
25
 
26
- task default: %i(spec rubocop yamllint)
26
+ task default: %i[spec rubocop yamllint]
27
27
 
28
28
  task :bump, :type do |_, args|
29
29
  type = args[:type].downcase
30
30
  version_path = 'lib/cfndsl/version.rb'
31
31
 
32
- types = %w(major minor patch)
32
+ types = %w[major minor patch]
33
33
 
34
34
  raise unless types.include?(type)
35
35
 
@@ -516,6 +516,16 @@ Resources:
516
516
  Properties:
517
517
  RepositoryName : String
518
518
  RepositoryPolicyText : JSON
519
+ "AWS::EFS::FileSystem" :
520
+ Properties:
521
+ FileSystemTags : [ FileSystemTag ]
522
+ PerformanceMode : String
523
+ "AWS::EFS::MountTarget" :
524
+ Properties:
525
+ FileSystemId : String
526
+ IpAddress : String
527
+ SecurityGroups : [ String ]
528
+ SubnetId: String
519
529
  "AWS::ElastiCache::CacheCluster" :
520
530
  Properties:
521
531
  AutoMinorVersionUpgrade : Boolean
@@ -1622,6 +1632,9 @@ Types:
1622
1632
  FieldToMatch:
1623
1633
  Data: String
1624
1634
  Type: String
1635
+ FileSystemTag:
1636
+ Key: String
1637
+ Value: String
1625
1638
  IPSetDescriptor:
1626
1639
  Type: String
1627
1640
  Value: String
@@ -1,3 +1,3 @@
1
1
  module CfnDsl
2
- VERSION = '0.12.4'.freeze
2
+ VERSION = '0.12.5'.freeze
3
3
  end
data/spec/cfndsl_spec.rb CHANGED
@@ -74,7 +74,7 @@ describe CfnDsl::CloudFormationTemplate do
74
74
  SecurityGroup 'two'
75
75
  groups = @Properties['SecurityGroups'].value
76
76
  spec.expect(id).to spec.eq('aaaaa')
77
- spec.expect(groups).to spec.eq(%w(one two))
77
+ spec.expect(groups).to spec.eq(%w[one two])
78
78
  end
79
79
  end
80
80
  end
@@ -128,7 +128,7 @@ describe CfnDsl::CloudFormationTemplate do
128
128
  end
129
129
 
130
130
  it 'FnJoin' do
131
- func = subject.FnJoin('A', %w(B C))
131
+ func = subject.FnJoin('A', %w[B C])
132
132
  expect(func.to_json).to eq('{"Fn::Join":["A",["B","C"]]}')
133
133
  end
134
134
 
@@ -92,7 +92,7 @@ describe CfnDsl::ExternalParameters do
92
92
  end
93
93
  end
94
94
 
95
- %i(fetch keys values each_pair).each do |meth|
95
+ %i[fetch keys values each_pair].each do |meth|
96
96
  context "##{meth}" do
97
97
  it "delegates the method #{meth} to the underlying parameters" do
98
98
  expect(subject.parameters).to receive(meth)
data/spec/names_spec.rb CHANGED
@@ -3,13 +3,13 @@ require 'spec_helper'
3
3
  describe CfnDsl do
4
4
  context '.method_names' do
5
5
  it 'returns an array of string method names when called without a block' do
6
- expect(described_class.method_names('foo')).to eq(%w(foo Foo))
6
+ expect(described_class.method_names('foo')).to eq(%w[foo Foo])
7
7
  end
8
8
 
9
9
  it 'yields symbol method names when called with a block' do
10
10
  results = []
11
11
  described_class.method_names('foo') { |name| results << name }
12
- expect(results).to eq(%i(foo Foo))
12
+ expect(results).to eq(%i[foo Foo])
13
13
  end
14
14
  end
15
15
  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: 0.12.4
4
+ version: 0.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-29 00:00:00.000000000 Z
12
+ date: 2017-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler