cfndsl 1.3.2 → 1.3.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
  SHA256:
3
- metadata.gz: 77d29e6380f73852d2781e1df4f023c391f822269d042b5c8d54b971b1a08570
4
- data.tar.gz: 7d76ac16b091d60aa37a9e717c7fbc92e222bb50c3fc1f133ea396f82057b0c5
3
+ metadata.gz: 7799eef3550b148fd5961d700f7c5beea5e04632f474ba83c5a3675d193e8866
4
+ data.tar.gz: 426ed1189abdc6b65c565d9dafcd406d1c58931ac052dd0488132a22e84a7481
5
5
  SHA512:
6
- metadata.gz: 6840361f2b5a725a459e8b27eb465f67eab4e5ddfef2fd6c109548d025cb2b539a01aee9ada092bb6c9e5cdd4e0949d20d444e4391d25affbdec8f319c7ae26c
7
- data.tar.gz: 47f20cb0e583cb2865d9fb9a308db1a6f220c2fd82d1e764bdced6fcee85ed6b7d7e30de74d3b8ce6da5c2389632d2150f32ea2322c9a9c7de4f502e15845928
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,37 @@
1
1
  # Changelog
2
2
 
3
- ## [1.3.2](https://github.com/cfndsl/cfndsl/tree/1.3.2) (2021-06-26)
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.1...1.3.2)
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)
19
+
20
+ **Merged pull requests:**
21
+
22
+ - handle List ItemType in the spec file [\#475](https://github.com/cfndsl/cfndsl/pull/475) ([Guslington](https://github.com/Guslington))
23
+
24
+ ## [v1.3.3](https://github.com/cfndsl/cfndsl/tree/v1.3.3) (2021-07-14)
25
+
26
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.2...v1.3.3)
27
+
28
+ **Merged pull requests:**
29
+
30
+ - Spec 20210714 [\#472](https://github.com/cfndsl/cfndsl/pull/472) ([lwoggardner](https://github.com/lwoggardner))
31
+
32
+ ## [v1.3.2](https://github.com/cfndsl/cfndsl/tree/v1.3.2) (2021-06-25)
33
+
34
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.1...v1.3.2)
6
35
 
7
36
  **Closed issues:**
8
37
 
@@ -219,6 +248,7 @@
219
248
  - 0.x changes to 1.0.0.pre [\#361](https://github.com/cfndsl/cfndsl/pull/361) ([gergnz](https://github.com/gergnz))
220
249
  - merge ruby version fix into 1.0.0.pre branch [\#333](https://github.com/cfndsl/cfndsl/pull/333) ([gergnz](https://github.com/gergnz))
221
250
  - remove 'disable\_binding', merge 0.x changes [\#329](https://github.com/cfndsl/cfndsl/pull/329) ([gergnz](https://github.com/gergnz))
251
+ - Modernize cfndsl executable [\#319](https://github.com/cfndsl/cfndsl/pull/319) ([kornypoet](https://github.com/kornypoet))
222
252
  - Remove support for OpenStack Heat [\#318](https://github.com/cfndsl/cfndsl/pull/318) ([kornypoet](https://github.com/kornypoet))
223
253
 
224
254
  ## [v0.17.4](https://github.com/cfndsl/cfndsl/tree/v0.17.4) (2019-10-06)
@@ -508,7 +538,6 @@
508
538
 
509
539
  - Clean up of README [\#330](https://github.com/cfndsl/cfndsl/pull/330) ([elmobp](https://github.com/elmobp))
510
540
  - enable deep merge as the default for yaml [\#328](https://github.com/cfndsl/cfndsl/pull/328) ([gergnz](https://github.com/gergnz))
511
- - Modernize cfndsl executable [\#319](https://github.com/cfndsl/cfndsl/pull/319) ([kornypoet](https://github.com/kornypoet))
512
541
 
513
542
  ## [v0.14.0](https://github.com/cfndsl/cfndsl/tree/v0.14.0) (2017-06-15)
514
543
 
@@ -732,6 +761,9 @@
732
761
  **Merged pull requests:**
733
762
 
734
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))
735
767
 
736
768
  ## [v0.11.8](https://github.com/cfndsl/cfndsl/tree/v0.11.8) (2016-11-13)
737
769
 
@@ -741,12 +773,6 @@
741
773
 
742
774
  - Support for Export/Import values from stacks [\#260](https://github.com/cfndsl/cfndsl/issues/260)
743
775
 
744
- **Merged pull requests:**
745
-
746
- - Certificate manager type [\#267](https://github.com/cfndsl/cfndsl/pull/267) ([kornypoet](https://github.com/kornypoet))
747
- - Add monitoring properties to AWS::RDS::DBInstance [\#266](https://github.com/cfndsl/cfndsl/pull/266) ([mikechau](https://github.com/mikechau))
748
- - Add support for AWS::KMS::Alias [\#265](https://github.com/cfndsl/cfndsl/pull/265) ([mikechau](https://github.com/mikechau))
749
-
750
776
  ## [v0.11.6](https://github.com/cfndsl/cfndsl/tree/v0.11.6) (2016-10-23)
751
777
 
752
778
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.5...v0.11.6)
@@ -997,10 +1023,6 @@
997
1023
 
998
1024
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.2...v0.8.3)
999
1025
 
1000
- **Fixed bugs:**
1001
-
1002
- - Add tag arguments [\#188](https://github.com/cfndsl/cfndsl/pull/188) ([kornypoet](https://github.com/kornypoet))
1003
-
1004
1026
  ## [v0.8.2](https://github.com/cfndsl/cfndsl/tree/v0.8.2) (2016-04-27)
1005
1027
 
1006
1028
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.1...v0.8.2)
@@ -1029,10 +1051,6 @@
1029
1051
 
1030
1052
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.6.2...v0.7.0)
1031
1053
 
1032
- **Implemented enhancements:**
1033
-
1034
- - Fix the issue with plural types [\#153](https://github.com/cfndsl/cfndsl/pull/153) ([johnf](https://github.com/johnf))
1035
-
1036
1054
  ## [v0.6.2](https://github.com/cfndsl/cfndsl/tree/v0.6.2) (2016-04-19)
1037
1055
 
1038
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/README.md CHANGED
@@ -22,7 +22,7 @@ The cnfdsl gem provides a DSL that allows you to write templates using friendly
22
22
 
23
23
  ## Getting Started
24
24
 
25
- ruby version > 2.7 is required to run cfndsl, you should look at using rbenv example for installing with rbenv
25
+ ruby version > 2.6 is required to run cfndsl, you should look at using rbenv example for installing with rbenv
26
26
 
27
27
  rbenv exec gem install cfndsl
28
28
 
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
+ }