vagrant-box-s3 0.1.4 → 0.1.5

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: 633fa8c2b30bc3482894cf4f2beb0a1b7d39a8b1cf74ec93d45fb24e93de8a13
4
- data.tar.gz: 0aed7b6dc1a38fcf0d4542ef8e38fe42c797b688071340f9e898f59267c5450b
3
+ metadata.gz: 9a2bc5d3cadb3cdcb261f206f5ca46fe0b210ef3514bcc9072176d85222f9e24
4
+ data.tar.gz: 9044ae220e16806ba95a48c94bf147bf5df4b418cd8181bf1a9cab7ac04219ef
5
5
  SHA512:
6
- metadata.gz: 2e064c15560beb870b711bb46dce0b5af18c7c2922cf445ea5e78441e77b15befc20168e7330749f2caf5db32b2ccb527bc26446780ff8a07b3df2c5545208a5
7
- data.tar.gz: cafd52ddd7b9b82fd0393acebaacb94d19c42cadf9fbcf8fec8e7f57c8510ac2a133e8fe775d7255d792818c78200aa869535cafac0abf96ac68912f96606849
6
+ metadata.gz: 24cf532f08f551c08dec67c11b94672bf660d73b985d2d4b35ab35e6413c6d9b6ff709b15088192e7fd006cbd0c76e11dbb0bea8f5f9dafd914e411eeaa9f9e3
7
+ data.tar.gz: a15234a433f1aa2d3f2968ad98c2fc9fb29e11d269361cbd6fc2fbeb10c4fdaaa4dd47d7e4a395fc6fcec5bbb24a4dec184493bc43e4781594a8a8b4e4ca71cf
data/README.md CHANGED
@@ -56,22 +56,22 @@ You can also use your credentials file to create a profile. Select the appropria
56
56
 
57
57
  You can use any valid HTTP(S) URL for your box URL:
58
58
 
59
- #### Path-Style URLs
60
-
61
- Specify the bucket name in the path of the URL. AWS has deprecated path-style URLs, but they might still be seen or used in legacy systems.
59
+ #### Virtual-Hosted-Style URLs
62
60
 
63
- - Format: https://s3.Region.amazonaws.com/bucket-name/key-name
64
- - Example: https://s3.eu-west-1.amazonaws.com/mybucket/mybox.box
61
+ Virtual-hosted-style URLs use the bucket name as a subdomain. This is the recommended and most commonly used format.
65
62
 
63
+ | Format | Example |
64
+ |----------------------------------------------|------------------------------------------------------------|
65
+ | `https://BUCKET.s3.REGION.amazonaws.com/KEY` | `https://mybucket.s3.eu-west-1.amazonaws.com/mybox.box` |
66
66
 
67
- - Format: https://s3-Region.amazonaws.com/bucket-name/keyname
68
- - Example: https://s3-eu-west-1.amazonaws.com/bucket-name/mybox.box
67
+ #### Path-Style URLs
69
68
 
70
- #### Virtual-Hosted-Style URLs
71
- Virtual-hosted-style URLs use the bucket name as a subdomain. This is the recommended and most commonly used format.
69
+ Specify the bucket name in the path of the URL. AWS has deprecated path-style URLs, but they might still be seen or used in legacy systems.
72
70
 
73
- - Format: https://bucket-name.s3.Region.amazonaws.com/key-name
74
- - Example: https://mybucket.s3.eu-west-1.amazonaws.com/mybox.box
71
+ | Format | Example |
72
+ |----------------------------------------------|------------------------------------------------------------|
73
+ | `https://s3.REGION.amazonaws.com/BUCKET/KEY` | `https://s3.eu-west-1.amazonaws.com/mybucket/mybox.box` |
74
+ | `https://s3-REGION.amazonaws.com/BUCKET/KEY` | `https://s3-eu-west-1.amazonaws.com/bucket-name/mybox.box` |
75
75
 
76
76
  ### IAM configuration
77
77
 
@@ -7,7 +7,7 @@ module Vagrant
7
7
  alias_method :original_head, :head
8
8
 
9
9
  def head
10
- if VagrantPlugins::BoxS3::Utils.is_s3_manifest(@source)
10
+ if ::VagrantPlugins::BoxS3::Utils.is_s3_manifest(@source)
11
11
  options, subprocess_options = self.options
12
12
  options.unshift("-i")
13
13
  options << @source
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module BoxS3
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-box-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Whiteley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-21 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3