sonic-screwdriver 2.2.6 → 2.2.7

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: 29aac04bb7f8d0a6b49d6a30813edbcb2aeaab5616fc33e641f80343a0e6e821
4
- data.tar.gz: 00d10d65f3e2ba80fb946ea67ef4c8ece025bfcd1f4283979e25634c0b0a0599
3
+ metadata.gz: 2090155cf49be41cd1fb602d13b4f569fb251d9a69be4459fb2e101b19bc1229
4
+ data.tar.gz: 4d59f16423169fe0866c67645644a6e7a6362edb2c8375137376653eb743f3b7
5
5
  SHA512:
6
- metadata.gz: 5623fd72b4faa65edcb42e63b7210a5254752e6c909a2c3343cd23e68adfb954d623ddc4d4bd9915e5d578a492ec8d2772e7f96a69b351d1d2e61ab69adc9c5a
7
- data.tar.gz: ff9854b28d81f8f094fbe1d087624797fd00c9d6cba4fe59acbaf86fa70f7483f41d0c7edb48e704c80c8aff97e03ceb619a6e371b226f507970f59e3225745c
6
+ metadata.gz: 8b3ad10084e43b02d44a4ef98e9f2b33966fa78f61a1baf82374890dfe4246ac32d2baf2ee20e6ad4ecfb672a7dfaa9bcc6aac68d98a59d2ec5b4f1b1aa6dad0
7
+ data.tar.gz: 357b1c2b01c2848980fd5307a00fdda27fffe56762b455e5a071067ebcedfccf233562cd098794e8b8fc17484bf47acb6902e7402117cf425923d8dbc7c4f7b5
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely* adheres to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [2.2.7] - 2021-04-30
7
+ - aws ssm send_command sdk requires string for timeout values
8
+
6
9
  ## [2.2.6] - 2021-04-30
7
10
  - [#15](https://github.com/boltops-tools/sonic/pull/15) execution-timeout and delivery-timeout options and timeout sets both …
8
11
 
data/lib/sonic/execute.rb CHANGED
@@ -202,7 +202,7 @@ module Sonic
202
202
 
203
203
  parameters = { "commands" => command }
204
204
  t = @options[:execution_timeout] || @options[:timeout]
205
- parameters[:executionTimeout] = [t] if t # weird but executionTimeout expects an Array
205
+ parameters[:executionTimeout] = [t.to_s] if t # weird but executionTimeout expects an Array with String element
206
206
 
207
207
  options = criteria.merge(
208
208
  document_name: "AWS-RunShellScript", # default
@@ -217,7 +217,7 @@ module Sonic
217
217
  )
218
218
 
219
219
  t = @options[:execution_timeout] || @options[:timeout]
220
- options[:timeout_seconds] = t if t
220
+ options[:timeout_seconds] = t.to_s if t
221
221
 
222
222
  settings_options = settings["send_command"] || {}
223
223
  options.merge(settings_options.deep_symbolize_keys)
data/lib/sonic/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sonic
2
- VERSION = "2.2.6"
2
+ VERSION = "2.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sonic-screwdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.6
4
+ version: 2.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen