vagrant-box-s3 0.1.0 → 0.1.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: d81dbf3d8b32768cfc022e376cfc5426bf6f84048e51788244ec03bf092cc827
4
- data.tar.gz: 7d4edce6804ea7df82cbc6dd4faf781b486e8eec61979e595b45a321a000bf27
3
+ metadata.gz: 1643e17f9a726431fd44b34c7a87fe44e73070328d4c7bb261c2f12935c74834
4
+ data.tar.gz: 2f1e60867c1016ab3e349873b293b69d30142db898301b912e16bfdf8cbd95ed
5
5
  SHA512:
6
- metadata.gz: 22d63d9785c64664cdd552f4486870711caa7f6141a11756505d92c44ff7a140922fe7158708a2992e03cbfaade073a9782de46296b4462eedcf977d193439bb
7
- data.tar.gz: bac015704c14167f29339d1390cd4458c732d945d02075201024f50ad5e72d0a2196a115ae8f1975b0c0ef6df0e13b8348f30a372754804089aff0f4e2e433b5
6
+ metadata.gz: 8d2c9963853012e0091c2c8fe8678c77d171c56d5662e28d670d728ee9d97e0123a25056bcb6d5cf9398983e0ad3541d3486cf635a00e4fb8af8ebeecfb9fe2c
7
+ data.tar.gz: dff68c70631396e84fd058e488583fce8c56e70fbc735981575f018ad91e0b710222e7cf7de721ad0c69f16a1e56da94444429c1d13e5764adb2f53e6fd85a36
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Vagrant Box S3
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/vagrant-box-s3.svg)](https://badge.fury.io/rb/vagrant-box-s3)
4
+
3
5
  Use Vagrant boxes stored in Amazon S3 private buckets.
4
6
 
5
7
  ### Requirements
@@ -14,11 +16,20 @@ override the `execute_curl` method to replace S3 box URLs with pre-signed S3 URL
14
16
 
15
17
  ## Installation
16
18
 
17
- vagrant plugin install ../vagrant-box-s3/pkg/vagrant-box-s3-0.1.2.gem
19
+ Via Vagrantfile, using [config.vagrant.plugins](https://developer.hashicorp.com/vagrant/docs/vagrantfile/vagrant_settings#config-vagrant-plugins):
20
+
21
+ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
22
+ config.vagrant.plugins = ['vagrant-box-s3', 'other-plugin']
23
+ ...
24
+ end
25
+
26
+ Or via plugin install command:
27
+
28
+ vagrant plugin install vagrant-box-s3
18
29
 
19
30
  ## Usage
20
31
 
21
- The plugin with automatically sign requests to AWS S3 URLs with your AWS credentials, allowing you to store private
32
+ The plugin will automatically sign requests to AWS S3 URLs with your AWS credentials, allowing storage of private
22
33
  boxes on S3 with your own bucket policies in place.
23
34
 
24
35
  ## Configuration
@@ -100,23 +111,44 @@ A specific version of ruby can be installed on macOS via rbenv:
100
111
 
101
112
  ruby -v
102
113
 
114
+
115
+ ### Builds
116
+
103
117
  If bundled packages / dependencies have changed, run bundle install:
104
118
 
105
119
  bundle install --path vendor/bundle
106
120
 
107
- To build the plugin, use `rake build`, this will create a file with the current version number, e.g. `pkg/vagrant-box-s3-0.1.2.gem`.
108
-
109
121
  Update the current version in `lib/vagrant-box-s3/version.rb`.
110
122
 
123
+ ### Dev build and test
124
+
125
+ To build the plugin, use `rake build`, this will create a file with the current version number, e.g. `pkg/vagrant-box-s3-0.1.2.gem`.
126
+
111
127
  Testing the plugin requires installing into vagrant from the build:
112
128
 
113
129
  vagrant plugin install ../vagrant-box-s3/pkg/vagrant-box-s3-0.1.2.gem
114
130
 
115
131
  Then running a command that will trigger box URL related actions, such as `vagrant up`, `vagrant box update` etc. with the `--debug` flag.
116
132
 
133
+ ### Releases
134
+
135
+ To release a new version to [RubyGems.org](https://rubygems.org/gems/vagrant-box-s3), you must be authenticated.
136
+
137
+ If you have not previously authenticated, sign in:
138
+
139
+ gem signin
140
+
141
+ This will store and use credentials in `~/.gem/credentials`.
142
+
143
+ Ensure the new version number is correctly set in `lib/vagrant-box-s3/version.rb`.
144
+
145
+ Then you can build and push the release:
146
+
147
+ rake release
148
+
117
149
  ## Contributing
118
150
 
119
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/vagrant-box-s3.
151
+ Bug reports and pull requests are welcome on GitHub at https://github.com/memiah/vagrant-box-s3.
120
152
  This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
121
153
 
122
154
  ## License
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module BoxS3
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-box-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Whiteley
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2024-02-13 00:00:00.000000000 Z
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '10.0'
55
55
  description: Private, versioned Vagrant boxes hosted on Amazon S3.
56
56
  email:
57
- - steve@memiah.co.uk
57
+ - opensource@memiah.co.uk
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
@@ -69,7 +69,7 @@ homepage: https://github.com/memiah/vagrant-box-s3
69
69
  licenses:
70
70
  - MIT
71
71
  metadata: {}
72
- post_install_message:
72
+ post_install_message:
73
73
  rdoc_options: []
74
74
  require_paths:
75
75
  - lib
@@ -82,10 +82,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: '0'
85
+ version: 3.0.0
86
86
  requirements: []
87
- rubygems_version: 3.0.3.1
88
- signing_key:
87
+ rubygems_version: 3.4.10
88
+ signing_key:
89
89
  specification_version: 4
90
90
  summary: Amazon AWS S3 Auth.
91
91
  test_files: []