vagrant-box-s3 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/lib/vagrant-box-s3/downloader.rb +1 -1
- data/lib/vagrant-box-s3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a2bc5d3cadb3cdcb261f206f5ca46fe0b210ef3514bcc9072176d85222f9e24
|
4
|
+
data.tar.gz: 9044ae220e16806ba95a48c94bf147bf5df4b418cd8181bf1a9cab7ac04219ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
####
|
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
|
-
-
|
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
|
-
-
|
68
|
-
- Example: https://s3-eu-west-1.amazonaws.com/bucket-name/mybox.box
|
67
|
+
#### Path-Style URLs
|
69
68
|
|
70
|
-
|
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
|
-
|
74
|
-
|
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
|
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
|
+
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-
|
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
|