hako 2.0.1 → 2.0.2

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: b1f36ce62c2bec8de3106ea4c8cda86ca908403a1463afa50da98fd753514cb7
4
- data.tar.gz: 22d21c3a01bc721b35dfb2d6956bd0f68c9e6599a534b9e3ad2c0b875145b604
3
+ metadata.gz: 3cb7d7b9b575613ebbbf620caa3aba0bfd8507f90e3e5eb4eff8696c07ca0192
4
+ data.tar.gz: 5914949493aba24b67a5f69380cec9135462df8914e9e100eed9f668e12eee9b
5
5
  SHA512:
6
- metadata.gz: 5710cce2fdbf9f31e371889027dc6d0152e076d011935f084402e7b5077aed83917ca97c56cd14e57427bdcbe152e104ffeb1a0bb9ea51d6beae9fabded554a2
7
- data.tar.gz: 27e189dd2d0fa39b1180bff7a0ad77b044d85912d09508069f51cc9c6795bebf3e44d0f5206409599dabda801146a567a47f43d61345f3939548ffa433df4858
6
+ metadata.gz: 54a69f412bfb21646eb27677c561a42371fa41dad1236fbc96cbefdcbaaa6e34a20287213c22738bba1c6266be9596b4a45522e7534d0a3f37952ef115687c3e
7
+ data.tar.gz: 616a7c0eadfc8d03149d06431a089688b5fc270fa54700b37c8aa7e7feef861a9b961804acc14203e2ff66fad15f5364b73487b8b562e505e3ba5e47535731da
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.0.2 (2017-12-19)
2
+ ## Bug fixes
3
+ - Skip expanding variables in `remove` and `stop`
4
+
1
5
  # 2.0.1 (2017-12-14)
2
6
  ## Bug fixes
3
7
  - Fix compatibility between Jsonnet and YAML when --dry-run is given
data/lib/hako/cli.rb CHANGED
@@ -258,13 +258,7 @@ module Hako
258
258
  require 'hako/application'
259
259
  require 'hako/commander'
260
260
 
261
- options =
262
- if @dry_run
263
- { expand_variables: false, ask_keys: true }
264
- else
265
- {}
266
- end
267
- Commander.new(Application.new(@yaml_path, options)).remove(dry_run: @dry_run)
261
+ Commander.new(Application.new(@yaml_path, expand_variables: false)).remove(dry_run: @dry_run)
268
262
  end
269
263
 
270
264
  def parse!(argv)
@@ -293,13 +287,7 @@ module Hako
293
287
  require 'hako/application'
294
288
  require 'hako/commander'
295
289
 
296
- options =
297
- if @dry_run
298
- { expand_variables: false, ask_keys: true }
299
- else
300
- {}
301
- end
302
- Commander.new(Application.new(@yaml_path, options)).stop(dry_run: @dry_run)
290
+ Commander.new(Application.new(@yaml_path, expand_variables: false)).stop(dry_run: @dry_run)
303
291
  end
304
292
 
305
293
  def parse!(argv)
data/lib/hako/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hako
4
- VERSION = '2.0.1'
4
+ VERSION = '2.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hako
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kohei Suzuki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-applicationautoscaling