cfndsl 1.0.2 → 1.0.3

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: 01340b9714e0b3c514e513638b09daf22861f91a154a5cf05e176e3a05ff548b
4
- data.tar.gz: '091ff14d702df7631af11e60d02e7b60f6ba4ac7344a022a1d3cc9123c80709e'
3
+ metadata.gz: a1299601a6e4627232bb492141b7db98d30b7ac85a2a13b05b43c7327b8c3cbb
4
+ data.tar.gz: b26db235b9e3b866176d0b74141556de2c2c8eaab2a7c1f1cc485029e458c987
5
5
  SHA512:
6
- metadata.gz: 2bf51eeb441557194cea3c6e42af76677804a22181fc8df147bd26cb4fcd5b77f7d19c44aee486d009fb44cab73ea07272809e140405725c792e05ba517f5d9f
7
- data.tar.gz: 5c898c1e74cf59470068a2140ff26101059528f9e9bc7f8d4b0105dbf44a0a9f8efc289dcdf2d8c7ae6e45b881d733dac24df434699cea6dbc7b60828153f6e8
6
+ metadata.gz: 2a3cc977b01884e48c1fc7744726c6f45428945855d4e785c7f7d9a6bb369d149a755f05800613f492a9b06b5bc2df902a5cdce1cf3dcce8d0ed1d4a7c823528
7
+ data.tar.gz: 86eedf7d12b3714212c56f8b6cacf2544e325cd04c1ba2da2f1872f0d8dc523b3d5d74ea36fcd3baa83af503c2a0eedc05fefaaee069e915fb1aaee2499140de
@@ -1,7 +1,18 @@
1
1
  # Change Log
2
2
 
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)
3
+ ## [1.0.3](https://github.com/cfndsl/cfndsl/tree/1.0.3) (2020-03-13)
4
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.0.2...1.0.3)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - Issue with DSL generation from cli arguments [\#449](https://github.com/cfndsl/cfndsl/issues/449)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - fixes \#449 [\#450](https://github.com/cfndsl/cfndsl/pull/450) ([gergnz](https://github.com/gergnz))
13
+
14
+ ## [v1.0.2](https://github.com/cfndsl/cfndsl/tree/v1.0.2) (2020-02-22)
15
+ [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.0.1...v1.0.2)
5
16
 
6
17
  **Closed issues:**
7
18
 
@@ -832,14 +843,6 @@
832
843
  ## [v0.8.0](https://github.com/cfndsl/cfndsl/tree/v0.8.0) (2016-04-27)
833
844
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.7.0...v0.8.0)
834
845
 
835
- **Implemented enhancements:**
836
-
837
- - Use as\_json instead of to\_json [\#157](https://github.com/cfndsl/cfndsl/pull/157) ([johnf](https://github.com/johnf))
838
-
839
- **Fixed bugs:**
840
-
841
- - Use as\\_json instead of to\\_json [\#157](https://github.com/cfndsl/cfndsl/pull/157) ([johnf](https://github.com/johnf))
842
-
843
846
  ## [v0.7.0](https://github.com/cfndsl/cfndsl/tree/v0.7.0) (2016-04-27)
844
847
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.6.2...v0.7.0)
845
848
 
@@ -917,6 +920,11 @@
917
920
  - The Juno release of Openstack Heat has a whole new floatilla of resources [\#67](https://github.com/cfndsl/cfndsl/issues/67)
918
921
  - CLI Tests [\#169](https://github.com/cfndsl/cfndsl/pull/169) ([kornypoet](https://github.com/kornypoet))
919
922
  - Rubocop fixes [\#161](https://github.com/cfndsl/cfndsl/pull/161) ([stevenjack](https://github.com/stevenjack))
923
+ - Use as\_json instead of to\_json [\#157](https://github.com/cfndsl/cfndsl/pull/157) ([johnf](https://github.com/johnf))
924
+
925
+ **Fixed bugs:**
926
+
927
+ - Use as\\_json instead of to\\_json [\#157](https://github.com/cfndsl/cfndsl/pull/157) ([johnf](https://github.com/johnf))
920
928
 
921
929
  ## [v0.4.4](https://github.com/cfndsl/cfndsl/tree/v0.4.4) (2016-04-01)
922
930
  [Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.4.2...v0.4.4)
@@ -7,6 +7,7 @@ require_relative 'globals'
7
7
 
8
8
  module CfnDsl
9
9
  # Runner class to handle commandline invocation
10
+ # rubocop:disable Metrics/ClassLength
10
11
  class Runner
11
12
  # rubocop:disable Metrics/MethodLength, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
12
13
  def self.invoke!
@@ -66,6 +67,7 @@ module CfnDsl
66
67
 
67
68
  opts.on('-g', '--generate RESOURCE_TYPE,RESOURCE_LOGICAL_NAME', 'Add resource type and logical name') do |r|
68
69
  options[:lego] = true
70
+ options[:resources] = []
69
71
  options[:resources] << r
70
72
  end
71
73
 
@@ -101,7 +103,7 @@ module CfnDsl
101
103
  end
102
104
 
103
105
  if options[:lego]
104
- require 'cfnlego'
106
+ require_relative 'cfnlego'
105
107
  puts Cfnlego.run(options)
106
108
  exit
107
109
  end
@@ -139,5 +141,6 @@ module CfnDsl
139
141
  end
140
142
  end
141
143
  end
144
+ # rubocop:enable Metrics/MethodLength, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
142
145
  end
143
- # rubocop:enable Metrics/MethodLength, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/CyclomaticComplexity
146
+ # rubocop:enable Metrics/ClassLength
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CfnDsl
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
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.0.2
4
+ version: 1.0.3
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-02-22 00:00:00.000000000 Z
14
+ date: 2020-03-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler