lono 7.0.0 → 7.0.1

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: 385523caa0cc8ae16b14546c6a46f4b8210ea43c21d83807754a75357f92cef2
4
- data.tar.gz: 9db612e67d8d23db5be53394f71ea2edc03b7e526e72951dfe9c7821d731d00f
3
+ metadata.gz: 803899cde08425b118361567375d1dac116df56d8ed20266e7a28ffe1ce1bfdd
4
+ data.tar.gz: ca65b7ea9900e8485a27ef2be2a9918266f59240a7c47f294f38420c7c40b92c
5
5
  SHA512:
6
- metadata.gz: caece4d3ea56da6d7159ba95cceacfb205f9af85827a20eb2f555db385703a344c81dc32eb390cc65870b34c0bb04a85791c7dc918e18b9ca2bed316f2b826d0
7
- data.tar.gz: 44e8056a90c0f6346d31a55deeb80e0f80d7aa0f063b55ecf09b312cea9a240f0ec908f5b227731c67b706163c38771f43b8cfd9ee80f0ac0d0c0850e1bd255c
6
+ metadata.gz: '0999c97be50ec998e3ee6f68dd42de2e0b5f09dc7d249aaae1b616699eee02bf999ed0032b0cfe836a391f0c26faa703e53a6e0f0358c2ec0205b617f0e0fc23'
7
+ data.tar.gz: d7649c565fba4be8974fdaac90055083fee8a102691b58a7fefdfe827bc6675ee481e6d5724bc1581e7e8d3c016c1bbdae80d6d809d8a2edc0925f2862a9a682
@@ -3,20 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [7.0.1]
7
+ - #37 allow Conditional to work with no camelized keys
8
+ - #38 prevent YAML.dump from emitting aliases
9
+
6
10
  ## [7.0.0]
7
- * Breaking: project `blueprints` moved to `app/blueprints`. Use `lono upgrade` to update.
8
- * Introduce configsets concept.
9
- * Introduce lono sets concept: `lono sets`, `lono sets deploy`, `lono sets instances sync`
10
- * Merge lono-pro into lono. Deprecate lono-pro gem.
11
- * Add lono registration.
12
- * Major refactoring:
13
- * Remove stack name suffix option
14
- * Remove current concept
15
- * Introduce Lono::AbstractBase class
16
- * Pass CLI options consistently straight through.
17
- * Use Lono::Conventions.
18
- * Introduce Lono::Cfn::Opts to remove duplication
19
- * Internally use `@stack` instead of `@stack_name`. `@stack` can be either a stack or stack_set
11
+ - #36 lono v7
12
+ - Breaking: project `blueprints` moved to `app/blueprints`. Use `lono upgrade` to update.
13
+ - Introduce configsets concept.
14
+ - Introduce lono sets concept: `lono sets`, `lono sets deploy`, `lono sets instances sync`
15
+ - Merge lono-pro into lono. Deprecate lono-pro gem.
16
+ - Add lono registration.
17
+ - Major refactoring:
18
+ - Remove stack name suffix option
19
+ - Remove current concept
20
+ - Introduce Lono::AbstractBase class
21
+ - Pass CLI options consistently straight through.
22
+ - Use Lono::Conventions.
23
+ - Introduce Lono::Cfn::Opts to remove duplication
24
+ - Internally use `@stack` instead of `@stack_name`. `@stack` can be either a stack or stack_set
20
25
 
21
26
  ## [6.1.11]
22
27
  - #35 fix app files variables erb lookup scope
@@ -24,7 +24,7 @@ module Lono::Inspector
24
24
  shown = []
25
25
  puts "# Parameters Total (#{parameters.size})"
26
26
  parameter_groups.each do |label, parameters|
27
- puts "# Parameter Group (#{parameters.size}): #{label}"
27
+ puts "# Parameter Group (#{parameters.size}): #{label}".color(:sienna)
28
28
  parameters.each do |name|
29
29
  puts parameter_line(name)
30
30
  shown << name
@@ -28,6 +28,9 @@ class Lono::Template::Strategy::Dsl
28
28
  end
29
29
 
30
30
  def to_yaml
31
+ # https://stackoverflow.com/questions/24508364/how-to-emit-yaml-in-ruby-expanding-aliases
32
+ # Trick to prevent YAML from emitting aliases
33
+ @cfn = YAML.load(@cfn.to_json)
31
34
  @results = YAML.dump(@cfn)
32
35
  end
33
36
 
@@ -68,7 +68,7 @@ class Lono::Template::Strategy::Dsl::Builder
68
68
 
69
69
  # special cases
70
70
  def ref(name, options={})
71
- name = name.to_s.camelize
71
+ name = name.to_s
72
72
  conditional = options.delete(:Conditional) || options.delete(:conditional)
73
73
  if conditional
74
74
  conditional_ref(name, options)
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "7.0.0"
2
+ VERSION = "7.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-12 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport