vagrant-s3-multidownloader 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4319db5427dee9a2ddaeb79f3494e2847bf9cdb261985a82a74fe86c462abc8
4
- data.tar.gz: f33293ee80907e491d1d8c3c61c60984e0e7df3d9cea370d01a916e42d78da14
3
+ metadata.gz: 84e3764dfe34f8839f70c791ed10d58ae86defcff3abad8d3fb6c01f79214594
4
+ data.tar.gz: 8be76c43cf0982c38073c31bbbf45341ab2b26ae13bce88b7e63f521fa1a70f0
5
5
  SHA512:
6
- metadata.gz: ef026874b3e549060199c63ff83f88e3dbe8af4d348b6084f95c626500145ebecf71eb7070a610b24b9f9965a2cd0f17879edfa24fa7b268fe09797d0f8ffaba
7
- data.tar.gz: c400a6303e0d084b984c0ac4f14617bf22aa639a0282fedd9246e4af4e665e2e27aafa4f08a874a7cb7ca0303f57e3509a6df01e7cfeab35b2679eedda1dad94
6
+ metadata.gz: 3a3ac78767acbcf0c6517f873628fc4a13b2f0da156bf9687c48b6a49974e6c79d2d8452b5cd6bc2ffa954a83f6fda0cbbc3e5bd07e277dbd4fe3e5682ca53bf
7
+ data.tar.gz: 6b1fd98371c77f404df90eee82085dcdc38feb6f58049083e2db15dd69c2bd5ec8c08ec3321c61b7a3c630a9c0b1ec38a45c798ea9c97da10f4a1f792623463c
@@ -122,7 +122,7 @@ module VagrantPlugins
122
122
  aws_config = load_aws_config
123
123
  profile = aws_config[:profile]
124
124
  log_message(:detail, "AWS config loaded with region: #{aws_config[:region]}")
125
- log_message(:detail, "Credentials available: #{!aws_config[:access_key_id].nil?}")
125
+ log_message(:detail, "AWS credentials " + (aws_config[:access_key_id].nil? ? "not found" : "available"))
126
126
 
127
127
  # Make sure the destination directory exists
128
128
  FileUtils.mkdir_p(File.dirname(@destination))
@@ -178,7 +178,11 @@ module VagrantPlugins
178
178
  # Ensure we have a region set (required by AWS SDK)
179
179
  client_options[:region] = aws_config[:region] || 'us-east-1'
180
180
 
181
- log_message(:detail, "Creating S3 client with profile credentials and options: #{client_options.inspect}")
181
+ # Create a sanitized version of client options for logging (without credentials)
182
+ safe_options = client_options.dup
183
+ safe_options.delete(:credentials) # Remove any credentials to prevent logging secrets
184
+
185
+ log_message(:detail, "Creating S3 client with options: #{safe_options.inspect}")
182
186
  Aws::S3::Client.new(client_options)
183
187
  end
184
188
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'vagrant-s3-multidownloader'
3
- spec.version = '0.3.0'
3
+ spec.version = '0.3.1'
4
4
  spec.summary = 'Download Vagrant boxes from S3-compatible storage using AWS SDK.'
5
5
  spec.description = 'Registers a custom downloader for the s3:// protocol to fetch boxes from any S3 API endpoint.'
6
6
  spec.authors = ['Maksim Razumov']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-s3-multidownloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maksim Razumov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-14 00:00:00.000000000 Z
11
+ date: 2025-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vagrant