cfndsl 1.3.4 → 1.3.7

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
  SHA256:
3
- metadata.gz: 17679a08d00f3dca0cdb03403c4f7189119cd9005617f028c0cc35bfac4a4046
4
- data.tar.gz: 910aef72b07b641d5b11fe9195ff8e4c1a1cfe6cc3e389a498a2714741523b42
3
+ metadata.gz: e4a4dc3e74e9148bb00af80f778d8fdec6ec7787c8f672650665fded6ed1f844
4
+ data.tar.gz: 774b8ce5a9b6026145be6419676c93163fb0c4dd17aefc3f15dd7f9faf3e9fed
5
5
  SHA512:
6
- metadata.gz: dfc60d2efcd15a7897fe0bab4d221b44c4a6f460f35a57eea0e655d9037649ccadcfb8a182b0714db00c1dbef2eada39868efa3d4b1d86db85aac171202c1bfa
7
- data.tar.gz: 003a5afb81f87d556c16a45412e4fba43c313dd58a0283ce08579a663853f2ca3ebae04883f1a22e07ad9723021871df8e4252b4c7b4c00abc5d82f82aacc4c9
6
+ metadata.gz: a7206da484e758c46c35a6703c23a98c08562323543dcd352ae199eef76659535ebcef19a115e91d202ed2ef9ebcbfc80ee3a73dc5ef9a916403f73279a7e3c5
7
+ data.tar.gz: bdded26b0d6d947c61e29e63189a58c6d21246d05961922e5eddfd44990e8a1d05bcc3894d1a1c1f57ba34421d822d704d8ee5a006aa9123fdb4a429ea5ba732
@@ -0,0 +1,28 @@
1
+ name: Spec
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "**"
7
+ jobs:
8
+ test:
9
+
10
+ runs-on: ubuntu-latest
11
+
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ['2.6', '2.7', '3.0']
15
+
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Ruby ${{ matrix.ruby-version }}
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby-version }}
22
+ bundler-cache: true
23
+ - name: Update system gems
24
+ run: gem update --system
25
+ - name: Install dependencies
26
+ run: bundle install
27
+ - name: Run tests
28
+ run: bundle exec rake
@@ -0,0 +1,36 @@
1
+ name: Spec and publish
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+ jobs:
8
+ test:
9
+
10
+ runs-on: ubuntu-latest
11
+
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ['3.0']
15
+
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Ruby ${{ matrix.ruby-version }}
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby-version }}
22
+ bundler-cache: true
23
+ - name: Update system gems
24
+ run: gem update --system
25
+ - name: Install dependencies
26
+ run: bundle install
27
+ - name: Run tests
28
+ run: bundle exec rake
29
+
30
+ - name: Publish Gem
31
+ if: contains(github.ref, 'refs/tags/v')
32
+ uses: cadwallion/publish-rubygems-action@master
33
+ env:
34
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
35
+ RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
36
+ RELEASE_COMMAND: bundle exec rake release
data/.rubocop.yml CHANGED
@@ -47,3 +47,4 @@ AllCops:
47
47
  TargetRubyVersion: 2.6
48
48
  Exclude:
49
49
  - 'tmp/**/*'
50
+ - 'vendor/**/*'
data/CHANGELOG.md CHANGED
@@ -1,8 +1,37 @@
1
1
  # Changelog
2
2
 
3
- ## [1.3.4](https://github.com/cfndsl/cfndsl/tree/1.3.4) (2022-05-16)
3
+ ## [1.3.7](https://github.com/cfndsl/cfndsl/tree/1.3.7) (2022-06-30)
4
4
 
5
- [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.3...1.3.4)
5
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.6...1.3.7)
6
+
7
+ **Closed issues:**
8
+
9
+ - Missing AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping [\#479](https://github.com/cfndsl/cfndsl/issues/479)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Fix for cfndsl list command, undefined method 'Resources' [\#480](https://github.com/cfndsl/cfndsl/pull/480) ([avasisht](https://github.com/avasisht))
14
+
15
+ ## [v1.3.6](https://github.com/cfndsl/cfndsl/tree/v1.3.6) (2022-06-07)
16
+
17
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.5...v1.3.6)
18
+
19
+ ## [v1.3.5](https://github.com/cfndsl/cfndsl/tree/v1.3.5) (2022-06-07)
20
+
21
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.4...v1.3.5)
22
+
23
+ **Closed issues:**
24
+
25
+ - List ItemType in the specification file breaking template generation with spec version 69.0.0 [\#474](https://github.com/cfndsl/cfndsl/issues/474)
26
+
27
+ **Merged pull requests:**
28
+
29
+ - patch for sagemaker untyped tag [\#478](https://github.com/cfndsl/cfndsl/pull/478) ([gergnz](https://github.com/gergnz))
30
+ - Remove TravisCI [\#477](https://github.com/cfndsl/cfndsl/pull/477) ([elmobp](https://github.com/elmobp))
31
+
32
+ ## [v1.3.4](https://github.com/cfndsl/cfndsl/tree/v1.3.4) (2022-05-16)
33
+
34
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.3...v1.3.4)
6
35
 
7
36
  **Merged pull requests:**
8
37
 
@@ -748,6 +777,9 @@
748
777
  **Merged pull requests:**
749
778
 
750
779
  - Application Autoscaling Types [\#271](https://github.com/cfndsl/cfndsl/pull/271) ([kornypoet](https://github.com/kornypoet))
780
+ - Certificate manager type [\#267](https://github.com/cfndsl/cfndsl/pull/267) ([kornypoet](https://github.com/kornypoet))
781
+ - Add monitoring properties to AWS::RDS::DBInstance [\#266](https://github.com/cfndsl/cfndsl/pull/266) ([mikechau](https://github.com/mikechau))
782
+ - Add support for AWS::KMS::Alias [\#265](https://github.com/cfndsl/cfndsl/pull/265) ([mikechau](https://github.com/mikechau))
751
783
 
752
784
  ## [v0.11.8](https://github.com/cfndsl/cfndsl/tree/v0.11.8) (2016-11-13)
753
785
 
@@ -757,12 +789,6 @@
757
789
 
758
790
  - Support for Export/Import values from stacks [\#260](https://github.com/cfndsl/cfndsl/issues/260)
759
791
 
760
- **Merged pull requests:**
761
-
762
- - Certificate manager type [\#267](https://github.com/cfndsl/cfndsl/pull/267) ([kornypoet](https://github.com/kornypoet))
763
- - Add monitoring properties to AWS::RDS::DBInstance [\#266](https://github.com/cfndsl/cfndsl/pull/266) ([mikechau](https://github.com/mikechau))
764
- - Add support for AWS::KMS::Alias [\#265](https://github.com/cfndsl/cfndsl/pull/265) ([mikechau](https://github.com/mikechau))
765
-
766
792
  ## [v0.11.6](https://github.com/cfndsl/cfndsl/tree/v0.11.6) (2016-10-23)
767
793
 
768
794
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.5...v0.11.6)
@@ -785,6 +811,10 @@
785
811
 
786
812
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.4...v0.11.5)
787
813
 
814
+ **Implemented enhancements:**
815
+
816
+ - Support new function "Sub" [\#241](https://github.com/cfndsl/cfndsl/issues/241)
817
+
788
818
  **Merged pull requests:**
789
819
 
790
820
  - create fnsub branch, resolves \#244 and \#241 [\#258](https://github.com/cfndsl/cfndsl/pull/258) ([gergnz](https://github.com/gergnz))
@@ -828,7 +858,6 @@
828
858
 
829
859
  **Implemented enhancements:**
830
860
 
831
- - Support new function "Sub" [\#241](https://github.com/cfndsl/cfndsl/issues/241)
832
861
  - `FnNot` could be improved to not require array as the argument... [\#235](https://github.com/cfndsl/cfndsl/issues/235)
833
862
  - Provide support for AWS::CloudFormation::CustomResource [\#18](https://github.com/cfndsl/cfndsl/issues/18)
834
863
  - A couple of little things that were annoying me. [\#237](https://github.com/cfndsl/cfndsl/pull/237) ([gergnz](https://github.com/gergnz))
@@ -1010,10 +1039,6 @@
1010
1039
 
1011
1040
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.2...v0.8.3)
1012
1041
 
1013
- **Fixed bugs:**
1014
-
1015
- - Add tag arguments [\#188](https://github.com/cfndsl/cfndsl/pull/188) ([kornypoet](https://github.com/kornypoet))
1016
-
1017
1042
  ## [v0.8.2](https://github.com/cfndsl/cfndsl/tree/v0.8.2) (2016-04-27)
1018
1043
 
1019
1044
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.1...v0.8.2)
@@ -1042,10 +1067,6 @@
1042
1067
 
1043
1068
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.6.2...v0.7.0)
1044
1069
 
1045
- **Implemented enhancements:**
1046
-
1047
- - Fix the issue with plural types [\#153](https://github.com/cfndsl/cfndsl/pull/153) ([johnf](https://github.com/johnf))
1048
-
1049
1070
  ## [v0.6.2](https://github.com/cfndsl/cfndsl/tree/v0.6.2) (2016-04-19)
1050
1071
 
1051
1072
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.6.1...v0.6.2)
data/Gemfile CHANGED
@@ -8,6 +8,7 @@ gem 'json'
8
8
 
9
9
  group :development, :test do
10
10
  gem 'github_changelog_generator', require: false
11
+ gem 'panolint', require: false
11
12
  gem 'rubocop', require: false
12
13
  gem 'yamllint', require: false
13
14
  end
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
1
  cfndsl
2
2
  ======
3
3
 
4
- [![Build Status](https://travis-ci.org/cfndsl/cfndsl.png?branch=master)](https://travis-ci.org/cfndsl/cfndsl)
4
+ [![Spec](https://github.com/cfndsl/cfndsl/actions/workflows/spec.yml/badge.svg)](https://github.com/cfndsl/cfndsl/actions/workflows/spec.yml)
5
5
  [![Gem Version](https://badge.fury.io/rb/cfndsl.png)](http://badge.fury.io/rb/cfndsl)
6
- [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cfndsl/cfndsl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Join the chat at https://gitter.im/cfndsl/cfndsl](https://badges.gitter.im/cfndsl/cfndsl.svg)](https://gitter.im/cfndsl/cfndsl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7
6
 
8
7
  [AWS Cloudformation](http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/GettingStarted.html) templates are an incredibly powerful way to build
9
8
  sets of resources in Amazon's AWS environment.
data/Rakefile CHANGED
@@ -8,8 +8,10 @@ require 'yamllint/rake_task'
8
8
  require 'github_changelog_generator/task'
9
9
  require 'cfndsl/rake_task'
10
10
 
11
- RSpec::Core::RakeTask.new
12
- RuboCop::RakeTask.new
11
+ # RSpec::Core::RakeTask.new
12
+ RuboCop::RakeTask.new do |t|
13
+ t.options = ['--debug', '--cache=false']
14
+ end
13
15
 
14
16
  desc 'Run RSpec with SimpleCov'
15
17
  task :cov do
@@ -20,7 +22,6 @@ end
20
22
  YamlLint::RakeTask.new do |t|
21
23
  t.paths = %w[
22
24
  sample/t1.yaml
23
- .travis.yml
24
25
  .rubocop.yml
25
26
  ]
26
27
  end
@@ -99,5 +100,5 @@ task :bump, :type do |_, args|
99
100
  puts 'Pushing tag'
100
101
  `git push origin v#{version}`
101
102
 
102
- puts 'All done, travis should pick up and release the gem now!'
103
+ puts 'All done, GitHub should pick up and release the gem now!'
103
104
  end
@@ -0,0 +1,23 @@
1
+ {
2
+ "broken": "75.0.0",
3
+ "ResourceTypes": {
4
+ "AWS::SageMaker::ModelPackage": {
5
+ "patch": {
6
+ "operations": [
7
+ {
8
+ "op": "replace",
9
+ "path": "/Properties/Tag",
10
+ "value": {
11
+ "Type": "List",
12
+ "ItemType": "Tag",
13
+ "Required": false,
14
+ "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-tags",
15
+ "UpdateType": "Mutable"
16
+ }
17
+ }
18
+ ],
19
+ "description": "Fix SageMaker Device to be List of Tag"
20
+ }
21
+ }
22
+ }
23
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CfnDsl
4
- VERSION = '1.3.4'
4
+ VERSION = '1.3.7'
5
5
  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.3.4
4
+ version: 1.3.7
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: 2022-05-16 00:00:00.000000000 Z
14
+ date: 2022-06-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -52,9 +52,10 @@ executables:
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - ".github/workflows/spec.yml"
56
+ - ".github/workflows/spec_publish.yml"
55
57
  - ".gitignore"
56
58
  - ".rubocop.yml"
57
- - ".travis.yml"
58
59
  - CHANGELOG.md
59
60
  - Gemfile
60
61
  - LICENSE
@@ -84,6 +85,7 @@ files:
84
85
  - lib/cfndsl/aws/patches/600_RefKinds_patch.json
85
86
  - lib/cfndsl/aws/patches/700_SAM_Serverless_Function_InlineCode_patch.json
86
87
  - lib/cfndsl/aws/patches/900_SageMakerTags_patch.json
88
+ - lib/cfndsl/aws/patches/901_SageMakerTags_patch.json
87
89
  - lib/cfndsl/aws/resource_specification.json
88
90
  - lib/cfndsl/aws/types.rb
89
91
  - lib/cfndsl/aws/types.yaml
@@ -192,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
194
  - !ruby/object:Gem::Version
193
195
  version: '0'
194
196
  requirements: []
195
- rubygems_version: 3.0.8
197
+ rubygems_version: 3.3.7
196
198
  signing_key:
197
199
  specification_version: 4
198
200
  summary: AWS Cloudformation DSL
data/.travis.yml DELETED
@@ -1,24 +0,0 @@
1
- language: ruby
2
- rvm: # all MRI ruby versions that are not EOL
3
- - '2.7'
4
- - '2.6'
5
- - '3.0'
6
- sudo: false
7
- before_install:
8
- - gem update --system
9
- - gem install bundler
10
- deploy:
11
- provider: rubygems
12
- api_key:
13
- secure: cIDF27JCirxxg7SXw6R+xxABMwCrrirJiJzljVxb/MdlRyUVaSW8XdZjOVyNgJkCx+vQOX4U+hp+p0xVI/Loh4EXkgbDvu2oGIAn/g1lfWabwKtdkFEviQn4tWvqDcEkxm5Hm6Gs0pFCaurqynMPNbsLVAEIiSw+la8LxEeeQ6I=
14
- gem: cfndsl
15
- on:
16
- tags: true
17
- repo: cfndsl/cfndsl
18
- ruby: '2.7'
19
- notifications:
20
- email:
21
- recipients:
22
- - gergnz@gmail.com
23
- on_failure: change
24
- on_success: never