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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/s3_secure/aws_services.rb +3 -0
- data/lib/s3_secure/summary.rb +1 -1
- data/lib/s3_secure/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f990c19df8d1e76dddcdba7b3b3bde118835f002cad7fa83d88174ce73f5ec94
|
4
|
+
data.tar.gz: e6fe39ed79c6e81962ae003d4b4591d7baa0ab886538a0ee77fa0e7c3a43c2d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a681ba106ada2376c3a9683b6b412eb6c6df5de7f7ce9d550b11b700d248be850fda0e7c71c976feb3040854d33681e8d4c51c7aa32883d9ab5fe73d16ed0afb
|
7
|
+
data.tar.gz: 539bc7cb06025cca7c21fa88fd9a26b68b62aa773723f0eca618d3b24c4e4d3a983c5bbd61f7dab6c242b08ad56074805cb4bcced462195d3d3bf97cc5fee3ec
|
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 *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
|
|
data/lib/s3_secure/summary.rb
CHANGED
@@ -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|
|
data/lib/s3_secure/version.rb
CHANGED