From fb112e99b4e9d4228ffc1d83c02ee0f3c79ffe20 Mon Sep 17 00:00:00 2001 From: Nikhil Benesch Date: Tue, 17 Jan 2017 10:58:47 -0500 Subject: [PATCH] Update style for latest rubocop --- Rakefile | 2 +- lib/vagrant-s3auth/util.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 678a884..038cc76 100644 --- a/Rakefile +++ b/Rakefile @@ -12,4 +12,4 @@ task :test do sh 'bats test/run.bats' end -task default: %w(lint test) +task default: %w[lint test] diff --git a/lib/vagrant-s3auth/util.rb b/lib/vagrant-s3auth/util.rb index 23c2f4f..e68944e 100644 --- a/lib/vagrant-s3auth/util.rb +++ b/lib/vagrant-s3auth/util.rb @@ -14,7 +14,7 @@ module Util # logic ourself. # # See: https://github.com/aws/aws-sdk-ruby/blob/ab0eb18d0ce0a515254e207dae772864c34b048d/aws-sdk-core/lib/aws-sdk-core/credential_provider_chain.rb#L42 - AWS_ACCESS_KEY_ENV_VARS = %w(AWS_ACCESS_KEY_ID AMAZON_ACCESS_KEY_ID AWS_ACCESS_KEY).freeze + AWS_ACCESS_KEY_ENV_VARS = %w[AWS_ACCESS_KEY_ID AMAZON_ACCESS_KEY_ID AWS_ACCESS_KEY].freeze DEFAULT_REGION = 'us-east-1'.freeze