broadside 3.3.1 → 3.3.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
  SHA1:
3
- metadata.gz: 62e9e8ccc7a8d1b6b2f7252991f30d1503284207
4
- data.tar.gz: 54bb325ab94802106994f597df69e6cb9812418d
3
+ metadata.gz: b6bdf45d32fa024c772e7dc9aa07a2340ece41e6
4
+ data.tar.gz: ad249716add4ce4c17c251818d4960ca18c46bbf
5
5
  SHA512:
6
- metadata.gz: decb7a9aa12076fc84c48a63360705033a41d6ad6c7fbb8e484a0bf69ee1c8b4e026a8a15d7898c8a096a2a973ddb0044704f33b6bed5927b5bd5f2c8977b2c7
7
- data.tar.gz: b53705e78def5a59f54206090b1de20ad9217517929ed3fceca2f2d92ffc201399979f6d7a960fe3b74bf673d410bbc49eb17acfa11ee80b94749ae1e2f18328
6
+ metadata.gz: 251edcfe94f49e614761b6c52d63874ca8495a14d1e7a833fbe7d96cb559bc79064648e2eaa4ee030874ad485286f6bce7649ee5b84f3277bc99b5fa81083e0f
7
+ data.tar.gz: 0e3bb6aeb69a8f830200d6a71f90c46ce40d2a1c61dbf3acb1e42803aceaa3db520d1b40f6b24648cabe08316d7d649471afc216b16b087ee32a9e44db1cf94f
@@ -875,17 +875,6 @@ Style/EmptyMethod:
875
875
  - compact
876
876
  - expanded
877
877
 
878
- # Checks whether the source file has a utf-8 encoding comment or not
879
- # AutoCorrectEncodingComment must match the regex
880
- # /#.*coding\s?[:=]\s?(?:UTF|utf)-8/
881
- Style/Encoding:
882
- EnforcedStyle: never
883
- SupportedStyles:
884
- - when_needed
885
- - always
886
- - never
887
- AutoCorrectEncodingComment: '# encoding: utf-8'
888
-
889
878
  # Checks use of for or each in multiline loops.
890
879
  Style/For:
891
880
  EnforcedStyle: each
@@ -1,3 +1,8 @@
1
+ # 3.3.2
2
+ - Add debug logging for aws-sdk components
3
+ - Add some other debug logging
4
+ - Fix for aws api changes: ecs task_definition response includes `compatibilities`, but requests want `requires_compatibilities`
5
+
1
6
  # 3.3.1
2
7
  - Use new modularized aws-sdk gems: aws-sdk-ec2 & aws-sdk-ecs
3
8
 
@@ -135,7 +135,9 @@ module Broadside
135
135
  # Deep merge doesn't work well with arrays (e.g. container_definitions), so build the container first.
136
136
  updatable_container_definitions.first.merge!(configured_container_definition)
137
137
  revision.deep_merge!((@target.task_definition_config || {}).except(:container_definitions))
138
+ revision[:requires_compatibilities] = revision.delete(:compatibilities) if revision.key? :compatibilities
138
139
 
140
+ debug "Registering updated task definition for #{revision[:family]}"
139
141
  task_definition = EcsManager.ecs.register_task_definition(revision).task_definition
140
142
  debug "Successfully created #{task_definition.task_definition_arn}"
141
143
  end
@@ -8,7 +8,9 @@ module Broadside
8
8
  def ecs
9
9
  @ecs_client ||= Aws::ECS::Client.new(
10
10
  region: Broadside.config.aws.region,
11
- credentials: Broadside.config.aws.credentials
11
+ credentials: Broadside.config.aws.credentials,
12
+ logger: Broadside.config.logger,
13
+ log_formatter: Aws::Log::Formatter.colored
12
14
  )
13
15
  end
14
16
 
@@ -166,7 +168,9 @@ module Broadside
166
168
  def ec2_client
167
169
  @ec2_client ||= Aws::EC2::Client.new(
168
170
  region: Broadside.config.aws.region,
169
- credentials: Broadside.config.aws.credentials
171
+ credentials: Broadside.config.aws.credentials,
172
+ logger: Broadside.config.logger,
173
+ log_formatter: Aws::Log::Formatter.colored
170
174
  )
171
175
  end
172
176
  end
@@ -1,3 +1,3 @@
1
1
  module Broadside
2
- VERSION = '3.3.1'.freeze
2
+ VERSION = '3.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: broadside
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Leung
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-12-08 00:00:00.000000000 Z
12
+ date: 2017-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport