From 9de09f200b0c49550c4157aff6d0cceeecd052b7 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Fri, 14 Aug 2020 10:10:07 -0700 Subject: [PATCH 1/5] Disable Ruby warnings --- .travis.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4d237c8ed9..12812bda599 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,14 +14,17 @@ rvm: - 2.3 - 2.4 - 2.5 + - 2.6 + - 2.7 - jruby-9.1 - jruby-9.2 sudo: false +# Disable Ruby warnings (Struct::Tms deprecation for 2.6+) env: - - PURE_RUBY=1 - - KITCHEN_SINK=1 + - RUBY_OPT='-W0' PURE_RUBY=1 + - RUBY_OPT='-W0' KITCHEN_SINK=1 script: bundle exec rake @@ -38,11 +41,3 @@ matrix: env: OLD_OJ=1 - rvm: 2.3 env: OLD_OX=1 - -notifications: - webhooks: - urls: - - "https://webhooks.gitter.im/e/4442efd380ec811746d9" - on_success: change - on_failure: always - on_start: false From 564d66e73d9d46af2e26ff3258a86fc3218c7915 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Fri, 14 Aug 2020 10:23:01 -0700 Subject: [PATCH 2/5] Fix polly spec --- aws-sdk-core/spec/aws/polly/presigner_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-sdk-core/spec/aws/polly/presigner_spec.rb b/aws-sdk-core/spec/aws/polly/presigner_spec.rb index 7917045c7f9..54c4396c9a5 100644 --- a/aws-sdk-core/spec/aws/polly/presigner_spec.rb +++ b/aws-sdk-core/spec/aws/polly/presigner_spec.rb @@ -48,7 +48,7 @@ module Polly "us-west-2%2Fpolly%2Faws4_request&"\ "X-Amz-Date=20160101T112233Z&X-Amz-Expires=900&"\ "X-Amz-SignedHeaders=host&"\ - "X-Amz-Signature=956ef486286b12f43ffc02dd09eae03cfea4cd8dfb30e0fab3f23de4e131195a" + "X-Amz-Signature=acb554087d5e340223b3415c79618adeb5c2b6dba19ba91771fbbe1d50a78f3d" pre = Presigner.new(region: region, credentials: credentials) params = { From 6acf289cfe2bf28d1cfcba489a1deefd4b7806b4 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Fri, 14 Aug 2020 10:35:39 -0700 Subject: [PATCH 3/5] Move ruby opt to bundle exec --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 12812bda599..9007f403f12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,12 +21,12 @@ rvm: sudo: false -# Disable Ruby warnings (Struct::Tms deprecation for 2.6+) env: - - RUBY_OPT='-W0' PURE_RUBY=1 - - RUBY_OPT='-W0' KITCHEN_SINK=1 + - PURE_RUBY=1 + - KITCHEN_SINK=1 -script: bundle exec rake +# Disable Ruby warnings (Struct::Tms deprecation for 2.6+) +script: RUBY_OPT='-W0' bundle exec rake bundler_args: --without docs release repl From 093c55998ffd30018d52863578fa7daa7761b997 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Fri, 14 Aug 2020 11:46:16 -0700 Subject: [PATCH 4/5] Fix RUBYOPT --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9007f403f12..6f1fddc83e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ env: - KITCHEN_SINK=1 # Disable Ruby warnings (Struct::Tms deprecation for 2.6+) -script: RUBY_OPT='-W0' bundle exec rake +script: RUBYOPT='-W0' bundle exec rake bundler_args: --without docs release repl From ab0ea2a8fc0f8321593136f1c74c393bea5b5b16 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Fri, 14 Aug 2020 12:17:42 -0700 Subject: [PATCH 5/5] Fix upgrading file --- UPGRADING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UPGRADING.md b/UPGRADING.md index e7201ffaffa..707666317e1 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -38,12 +38,12 @@ credential provider chain, and for default region selection. Since these changes could technically be a breaking change to default (and commonly used) behavior, there is a feature flag around this functionality. - + To use these new features, you must set the `AWS_SDK_LOAD_CONFIG` environment variable. If not set, the existing default behavior will continue. - + Two other upgrading notes are worth keeping in mind for this release: - + * Private interfaces regarding handling of configuration were changed for this feature. Those interfaces were marked `@api private`, signifying that they should not have been used outside the SDK for development. If you were @@ -424,4 +424,4 @@ changes before 2.0.0 final. # Upgrading from v1? -Please see [MIGRATING.md](https://github.com/aws/aws-sdk-ruby/blob/master/MIGRATING.md) +Please see [MIGRATING.md](https://github.com/aws/aws-sdk-ruby/blob/version-2/MIGRATING.md)