lib/s3sync/config.rb in s3sync-2.0.2 vs lib/s3sync/config.rb in s3sync-2.0.4
- old
+ new
@@ -41,10 +41,10 @@
module S3Sync
class Config < Hash
- REQUIRED_VARS = [:AWS_ACCESS_KEY_ID, :AWS_SECRET_ACCESS_KEY]
+ REQUIRED_VARS = [:AWS_ACCESS_KEY_ID, :AWS_SECRET_ACCESS_KEY, :AWS_REGION]
CONFIG_PATHS = ["#{ENV['S3SYNC_PATH']}", "#{ENV['HOME']}/.s3sync.yml", "/etc/s3sync.yml"]
def read_from_file
paths_checked = []