cfndsl 1.3.4 → 1.3.5

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: 17679a08d00f3dca0cdb03403c4f7189119cd9005617f028c0cc35bfac4a4046
4
- data.tar.gz: 910aef72b07b641d5b11fe9195ff8e4c1a1cfe6cc3e389a498a2714741523b42
3
+ metadata.gz: 7799eef3550b148fd5961d700f7c5beea5e04632f474ba83c5a3675d193e8866
4
+ data.tar.gz: 426ed1189abdc6b65c565d9dafcd406d1c58931ac052dd0488132a22e84a7481
5
5
  SHA512:
6
- metadata.gz: dfc60d2efcd15a7897fe0bab4d221b44c4a6f460f35a57eea0e655d9037649ccadcfb8a182b0714db00c1dbef2eada39868efa3d4b1d86db85aac171202c1bfa
7
- data.tar.gz: 003a5afb81f87d556c16a45412e4fba43c313dd58a0283ce08579a663853f2ca3ebae04883f1a22e07ad9723021871df8e4252b4c7b4c00abc5d82f82aacc4c9
6
+ metadata.gz: 6e2d29590aa9696c5e0f80da32ed0d6669186e92036976addecae4c38648235b5b5d3df3f4cdaa91351d4a7bdb578bac127b7ed1932355246b17c82f3f30a0b2
7
+ data.tar.gz: 64a53ddd2ddc727685648b2e7f123c13270882999e504814d78ad3f2fc825f4291af6d8d35d5f33af48ffe8c8367e7c69c3a935dc4ab1583356631dc0e1532fa
@@ -0,0 +1,38 @@
1
+ name: Spec and publish
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "**"
7
+ tags:
8
+ - 'v*'
9
+ jobs:
10
+ test:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ ruby-version: ['2.6', '2.7', '3.0']
17
+
18
+ steps:
19
+ - uses: actions/checkout@v3
20
+ - name: Set up Ruby ${{ matrix.ruby-version }}
21
+ uses: ruby/setup-ruby@v1
22
+ with:
23
+ ruby-version: ${{ matrix.ruby-version }}
24
+ bundler-cache: true
25
+ - name: Update system gems
26
+ run: gem update --system
27
+ - name: Install dependencies
28
+ run: bundle install
29
+ - name: Run tests
30
+ run: bundle exec rake
31
+
32
+ - name: Publish Gem
33
+ if: contains(github.ref, 'refs/tags/v')
34
+ uses: cadwallion/publish-rubygems-action@master
35
+ env:
36
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
37
+ RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
38
+ 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,21 @@
1
1
  # Changelog
2
2
 
3
- ## [1.3.4](https://github.com/cfndsl/cfndsl/tree/1.3.4) (2022-05-16)
3
+ ## [1.3.5](https://github.com/cfndsl/cfndsl/tree/1.3.5) (2022-06-07)
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.4...1.3.5)
6
+
7
+ **Closed issues:**
8
+
9
+ - List ItemType in the specification file breaking template generation with spec version 69.0.0 [\#474](https://github.com/cfndsl/cfndsl/issues/474)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - patch for sagemaker untyped tag [\#478](https://github.com/cfndsl/cfndsl/pull/478) ([gergnz](https://github.com/gergnz))
14
+ - Remove TravisCI [\#477](https://github.com/cfndsl/cfndsl/pull/477) ([elmobp](https://github.com/elmobp))
15
+
16
+ ## [v1.3.4](https://github.com/cfndsl/cfndsl/tree/v1.3.4) (2022-05-16)
17
+
18
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.3...v1.3.4)
6
19
 
7
20
  **Merged pull requests:**
8
21
 
@@ -748,6 +761,9 @@
748
761
  **Merged pull requests:**
749
762
 
750
763
  - Application Autoscaling Types [\#271](https://github.com/cfndsl/cfndsl/pull/271) ([kornypoet](https://github.com/kornypoet))
764
+ - Certificate manager type [\#267](https://github.com/cfndsl/cfndsl/pull/267) ([kornypoet](https://github.com/kornypoet))
765
+ - Add monitoring properties to AWS::RDS::DBInstance [\#266](https://github.com/cfndsl/cfndsl/pull/266) ([mikechau](https://github.com/mikechau))
766
+ - Add support for AWS::KMS::Alias [\#265](https://github.com/cfndsl/cfndsl/pull/265) ([mikechau](https://github.com/mikechau))
751
767
 
752
768
  ## [v0.11.8](https://github.com/cfndsl/cfndsl/tree/v0.11.8) (2016-11-13)
753
769
 
@@ -757,12 +773,6 @@
757
773
 
758
774
  - Support for Export/Import values from stacks [\#260](https://github.com/cfndsl/cfndsl/issues/260)
759
775
 
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
776
  ## [v0.11.6](https://github.com/cfndsl/cfndsl/tree/v0.11.6) (2016-10-23)
767
777
 
768
778
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.5...v0.11.6)
@@ -785,6 +795,10 @@
785
795
 
786
796
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.4...v0.11.5)
787
797
 
798
+ **Implemented enhancements:**
799
+
800
+ - Support new function "Sub" [\#241](https://github.com/cfndsl/cfndsl/issues/241)
801
+
788
802
  **Merged pull requests:**
789
803
 
790
804
  - create fnsub branch, resolves \#244 and \#241 [\#258](https://github.com/cfndsl/cfndsl/pull/258) ([gergnz](https://github.com/gergnz))
@@ -828,7 +842,6 @@
828
842
 
829
843
  **Implemented enhancements:**
830
844
 
831
- - Support new function "Sub" [\#241](https://github.com/cfndsl/cfndsl/issues/241)
832
845
  - `FnNot` could be improved to not require array as the argument... [\#235](https://github.com/cfndsl/cfndsl/issues/235)
833
846
  - Provide support for AWS::CloudFormation::CustomResource [\#18](https://github.com/cfndsl/cfndsl/issues/18)
834
847
  - A couple of little things that were annoying me. [\#237](https://github.com/cfndsl/cfndsl/pull/237) ([gergnz](https://github.com/gergnz))
@@ -1010,10 +1023,6 @@
1010
1023
 
1011
1024
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.2...v0.8.3)
1012
1025
 
1013
- **Fixed bugs:**
1014
-
1015
- - Add tag arguments [\#188](https://github.com/cfndsl/cfndsl/pull/188) ([kornypoet](https://github.com/kornypoet))
1016
-
1017
1026
  ## [v0.8.2](https://github.com/cfndsl/cfndsl/tree/v0.8.2) (2016-04-27)
1018
1027
 
1019
1028
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.1...v0.8.2)
@@ -1042,10 +1051,6 @@
1042
1051
 
1043
1052
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.6.2...v0.7.0)
1044
1053
 
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
1054
  ## [v0.6.2](https://github.com/cfndsl/cfndsl/tree/v0.6.2) (2016-04-19)
1050
1055
 
1051
1056
  [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/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.5'
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.5
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-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -52,9 +52,9 @@ executables:
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - ".github/workflows/spec.yml"
55
56
  - ".gitignore"
56
57
  - ".rubocop.yml"
57
- - ".travis.yml"
58
58
  - CHANGELOG.md
59
59
  - Gemfile
60
60
  - LICENSE
@@ -84,6 +84,7 @@ files:
84
84
  - lib/cfndsl/aws/patches/600_RefKinds_patch.json
85
85
  - lib/cfndsl/aws/patches/700_SAM_Serverless_Function_InlineCode_patch.json
86
86
  - lib/cfndsl/aws/patches/900_SageMakerTags_patch.json
87
+ - lib/cfndsl/aws/patches/901_SageMakerTags_patch.json
87
88
  - lib/cfndsl/aws/resource_specification.json
88
89
  - lib/cfndsl/aws/types.rb
89
90
  - lib/cfndsl/aws/types.yaml
@@ -192,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
193
  - !ruby/object:Gem::Version
193
194
  version: '0'
194
195
  requirements: []
195
- rubygems_version: 3.0.8
196
+ rubygems_version: 3.3.7
196
197
  signing_key:
197
198
  specification_version: 4
198
199
  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