lono 7.4.4 → 7.4.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: a076e0eed419b163dc2edb3dede5510660db07bad4fedc9d0b787460961575b1
4
- data.tar.gz: 3c0ecf4cfba07b8503c7907c27ca2cb4738bf2154d39ff3aba666fdb6eca3fc3
3
+ metadata.gz: 79dbe393ede5553a92afd2d77990c0c732dce92b02209f9bc73c69f6fd0bfe33
4
+ data.tar.gz: 7db1000866845fdd0fcada396b2b98dc20d0a4eff362a83981967d58a45abe80
5
5
  SHA512:
6
- metadata.gz: 483b6c6e30eb8111717b1aa3d0b78baa9abd78220d64e3e945e9fa6053c5aca9dd12f5ab97f7a0bf29c7a15e19acd60ff6aca7ea135dcf4c144b8eb270365dd0
7
- data.tar.gz: 986c0e5e28d39fb1adaf9f61744fdb762027555145dc4556914f0cb2b13ef0163b76027ab1b574cee5f7fa1da22aa604e3881ac6d6e410958eb7df87631d8f46
6
+ metadata.gz: 42e372d723ee766ca855bae838799db18350791892e7feeafd3aecf14e438620be8db811c65aa43023e54c2a2072fba076c84af5faea3c3ebb0dd447766fab5c
7
+ data.tar.gz: 8fb483d29241d3f4c0fce27231f2b7d02bb6f2e2261c71a332e8259117a70fbad17c307bbc7c864dc0a4897854e84c98143720def4d72d6522277f3f89097fab
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
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.4.5]
7
+ - add DeletionPolicy to special property mover also
8
+ - improve sets delete messaging
9
+
6
10
  ## [7.4.4]
7
11
  - #62 update gemspec templates
8
12
  - #63 lono sets: default --iam option to true for stack sets
@@ -14,7 +14,12 @@ class Lono::Sets
14
14
  if @options[:noop]
15
15
  puts "NOOP #{message}"
16
16
  else
17
- sure?("Are you sure you want to delete the #{@stack} stack set?", "Be sure that it emptied of stack instances first.")
17
+ desc =<<~EOL
18
+ Be sure that the emptied StackSet instances is emptied first.
19
+ You can empty it with a separate command: lono sets instances delete #{@stack} --all
20
+ This command will only delete the StackSet itself after it's been emptied.
21
+ EOL
22
+ sure?("Are you sure you want to delete the #{@stack} stack set?", desc)
18
23
 
19
24
  if stack_set_exists?(@stack)
20
25
  cfn.delete_stack_set(stack_set_name: @stack) # resp is an Empty structure, so much get operation_id from status
@@ -6,7 +6,7 @@ class Lono::Template::Strategy::Dsl::Builder::Section::Resource
6
6
  end
7
7
 
8
8
  def move!
9
- %w[depends_on condition].each do |attribute_name|
9
+ %w[Condition DeletionPolicy DependsOn].each do |attribute_name|
10
10
  # Account for camelize, underscore, String, and Symbol
11
11
  move(attribute_name.to_sym)
12
12
  move(attribute_name.camelize.to_sym)
data/lib/lono/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "7.4.4"
2
+ VERSION = "7.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.4.4
4
+ version: 7.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen