s3-secure 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ac0f7a2ea49f20a6889427938cbbdfec5c68f33213bf461e9096dda03d18f2f
4
- data.tar.gz: '094ff89059df6581f3bf43a62550faad4291838b9db527b2cbfeb7227d7919f8'
3
+ metadata.gz: f990c19df8d1e76dddcdba7b3b3bde118835f002cad7fa83d88174ce73f5ec94
4
+ data.tar.gz: e6fe39ed79c6e81962ae003d4b4591d7baa0ab886538a0ee77fa0e7c3a43c2d1
5
5
  SHA512:
6
- metadata.gz: efe6747a6ff8a9b413ac1598affa0c6ae7e1c5965953dfc4479e433d455e6676586cd73817f326bb8b29a711ae140514d7f64b1bd246b81f1785a70ca7d33dcf
7
- data.tar.gz: f3114075b52fc612e9c0d7e79ccea0f04ffd72b11fae3bf125328bf46ed1bd915a27ebd28381767ee990966e00e0ceda66fd4eb55908c85caf6f81465f7d69e9
6
+ metadata.gz: a681ba106ada2376c3a9683b6b412eb6c6df5de7f7ce9d550b11b700d248be850fda0e7c71c976feb3040854d33681e8d4c51c7aa32883d9ab5fe73d16ed0afb
7
+ data.tar.gz: 539bc7cb06025cca7c21fa88fd9a26b68b62aa773723f0eca618d3b24c4e4d3a983c5bbd61f7dab6c242b08ad56074805cb4bcced462195d3d3bf97cc5fee3ec
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.4.2]
7
+ - improve error message for Aws::STS::Errors::RegionDisabledException error
8
+
6
9
  ## [0.4.1]
7
10
  - improve cli help
8
11
 
@@ -22,6 +22,9 @@ module S3Secure
22
22
  options[:endpoint] = "https://s3.#{region}.amazonaws.com" if region
23
23
  options[:region] = region if region
24
24
  Aws::S3::Client.new(options)
25
+ rescue Aws::STS::Errors::RegionDisabledException
26
+ puts "ERROR: Fail to establish client connection to region #{region}".color(:red)
27
+ raise
25
28
  end
26
29
  memoize :new_s3_regional_client
27
30
 
@@ -1,7 +1,7 @@
1
1
  module S3Secure
2
2
  class Summary < AbstractBase
3
3
  def run
4
- $stderr.puts("Determining bucket security-related settings...")
4
+ $stderr.puts("Determining bucket security-related settings. Can take a while for lots of buckets...")
5
5
  data = [%w[Bucket SSL? Encrypted?]]
6
6
  items = Items.new(@options, buckets)
7
7
  items.filtered_items.each do |i|
@@ -1,3 +1,3 @@
1
1
  module S3Secure
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3-secure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen