kumogata 0.3.14 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWY1ZGU1ZTExOTU3MWMyMmYwNGViNGVkNTc0ZGI3OTkxMzI2NTRkNA==
4
+ Njc2ZGUyZjQzOTBmN2Q2NmM1ZjczMjc0MWMyMWM5MWFhZGMwYzE2OQ==
5
5
  data.tar.gz: !binary |-
6
- NjE4MjUwNWQ5ZjQ0Njg5YzUzNDYxZDQwOTIzNTdjZmFlZGViM2RjNQ==
6
+ ODY3ODA4NDcxYTgyYmMwOWUyYzI2ZGI0ZjEzODZkMTdiZGE3N2U1MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjE1YzNkYWJmMTcwZTNiMjdmMjZhMWUwNDc2ZDJkOWQzYjgwOTRlMDY3NTM4
10
- NWQzZTYxM2U5OTY1NjgwMGE3MWI5YjRmYmRmZjI3OGM4MTJlMzdhOTJkZmFm
11
- OGIzNTc3NTliMjYzMjVlNzYxOWE5Y2Y2YTJlMDZlYjNjMDVjMDc=
9
+ NGY5OTBmNjU2NDYxNzkyMTc0NDNmZmI4NGE5ZjIxYTVmMGI1MGVlMTk5OTBl
10
+ NWVhYjVhYWIxZWJkNzllMDg2MmJhZTRlZmY5ODIxNzNmNGEwZDA0YWMxYTA0
11
+ OGU0MTM1MDVkMTBjYzIzZGRkODIyM2U5MTk0MjdmZWQzMDQ0ZjM=
12
12
  data.tar.gz: !binary |-
13
- Y2ZiMzE5MmM3ZDU0MGJlZjJjNGVlYjRhOWI3MGNlZmU2YTFlOTc3NTU5YzM2
14
- N2JiMzk1ZTJmNzllNDM5NzMyOWIzZmQ3NWU2NWQ1Mzk3NDMzMWY3YTQxZjMz
15
- ZGJiNDNmNDE1OWMyNDU2MDU1Yzg5Y2Q4NDUxMTYxZjM4MGNhYzY=
13
+ NWM3MTE3ZjhiYjE2MzEyZTcxZjZiNzIxNDI1YWRiNDU3MzI1NDUwMTJiZWJl
14
+ Zjk4Y2I3MTlkNDU0ZTRiYzJiODBlNWJkOGVhOThlYzkzYjUxMzJjMjdlYjky
15
+ NDkyZGEwZTdjODM4NGUwODExZDk1YTVjZjJkZjk3OTExNjQ2MzA=
data/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
 
6
6
  Kumogata is a tool for [AWS CloudFormation](https://aws.amazon.com/cloudformation/).
7
7
 
8
- [![Gem Version](https://badge.fury.io/rb/kumogata.png?201403121243)](http://badge.fury.io/rb/kumogata)
9
- [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403121243)](https://drone.io/github.com/winebarrel/kumogata/latest)
8
+ [![Gem Version](https://badge.fury.io/rb/kumogata.png?201403121452)](http://badge.fury.io/rb/kumogata)
9
+ [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403121452)](https://drone.io/github.com/winebarrel/kumogata/latest)
10
10
 
11
11
  It can define a template in Ruby DSL, such as:
12
12
 
@@ -451,6 +451,7 @@ class Kumogata::Client
451
451
  def update_deletion_policy(template)
452
452
  if @options.delete_stack? or @options.deletion_policy_retain?
453
453
  template['Resources'].each do |k, v|
454
+ next if /\AAWS::CloudFormation::/ =~ v['Type']
454
455
  v['DeletionPolicy'] ||= 'Retain'
455
456
  end
456
457
  end
@@ -1,3 +1,3 @@
1
1
  module Kumogata
2
- VERSION = '0.3.14'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.14
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara