hako 1.5.0 → 1.5.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
  SHA1:
3
- metadata.gz: aa7641f4bc5a2a92d28a326367a5a0138b93e21b
4
- data.tar.gz: 01c8ac47831b5e3b2126e426346323de9de79f6e
3
+ metadata.gz: 04d2766afefc3cd5487ac4842a6f8f212ae48485
4
+ data.tar.gz: abc972a188d6c19752a0c683c4497888b732d104
5
5
  SHA512:
6
- metadata.gz: bffcb73040eef086bf53fbed295d1579d7a1b74601547f18377db49a1b4bd3d6b2790557ec7b44ddb1b5c98551e63800458ae408e51d52a915338c1fa32dcc1b
7
- data.tar.gz: 2488c2f9e7893676f9cbb5397789ab2a2887a9dd1cec82e33abb25b188ee95ac4d7211616df598697432c44c1b788affe358d8080202ee6be6280e665f797e66
6
+ metadata.gz: 80a34e0bca148d384d6e96fb64e2158cce50b92fb70fbfe445088e644221075963afb98d6774de009c760cd74b0f8cce6fa514fa6cd3408ef622c1b3ca08b07d
7
+ data.tar.gz: a92f906c25ddd0cf48f8a06339e749e6354f4c34b418ec640638788fe637e541f929036200a7f45f7d484be6ddefd9c85f5f9259a2b34d9f29457ab285598b6a
@@ -1,3 +1,7 @@
1
+ # 1.5.1 (2017-06-06)
2
+ ## Bug fixes
3
+ - Fix error in dry-run mode when ALB isn't created yet
4
+
1
5
  # 1.5.0 (2017-06-05)
2
6
  ## New features
3
7
  - Support `load_balancer_attributes` option in elb_v2
@@ -106,7 +106,11 @@ module Hako
106
106
  load_balancer = describe_load_balancer
107
107
  attributes = @elb_v2_config.fetch('load_balancer_attributes').map { |key, value| { key: key, value: value } }
108
108
  if @dry_run
109
- Hako.logger.info("elb_client.modify_load_balancer_attributes(load_balancer_arn: #{load_balancer.load_balancer_arn}, attributes: #{attributes.inspect}) (dry-run)")
109
+ if load_balancer
110
+ Hako.logger.info("elb_client.modify_load_balancer_attributes(load_balancer_arn: #{load_balancer.load_balancer_arn}, attributes: #{attributes.inspect}) (dry-run)")
111
+ else
112
+ Hako.logger.info("elb_client.modify_load_balancer_attributes(load_balancer_arn: unknown, attributes: #{attributes.inspect}) (dry-run)")
113
+ end
110
114
  else
111
115
  Hako.logger.info("Updating ELBv2 attributes to #{attributes.inspect}")
112
116
  elb_client.modify_load_balancer_attributes(load_balancer_arn: load_balancer.load_balancer_arn, attributes: attributes)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hako
4
- VERSION = '1.5.0'
4
+ VERSION = '1.5.1'
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: 1.5.0
4
+ version: 1.5.1
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-06-05 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk