vbuilder 0.2.2 → 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 +4 -4
- data/README.md +37 -14
- data/lib/vbuilder/version.rb +2 -2
- data/vbuilder.gemspec +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdf83c3d95ea5fdf1d3b6a4d27ea64826b3cf4b0
|
4
|
+
data.tar.gz: 0bbaeff379559943218b343e9af573f3cbee5837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e9ddb92ec1397d1666ec021affff65b99ad8538ab88aac9af18135f3fa0a8b6af2f49e5ccdfb9bad5e9f7d0b558a6bb169ae626eacb53138bfd8e577de5bd64
|
7
|
+
data.tar.gz: 141a4d0919d7ead0221f4c77e46b8f47f8dc35c5b35df80b574c362b3dcb89ad63af4bebeb92a37f52ee53fc4d43740d9c1f6ec5fa345387e9ca8235143e7afe
|
data/README.md
CHANGED
@@ -1,28 +1,51 @@
|
|
1
1
|
# Vbuilder
|
2
2
|
|
3
|
-
|
3
|
+
Vbuilder is a project I started to dynamically create Vagrantfile configurations or simple skeleton Vagrantfiles, based on the given provider (virtualbox, vmware, aws, etc). Right now, since each vagrant provider can be configured in different ways, with different attributes, I'm stashing those attributes in a YAML file that gets loaded in when a valid provider is given. I also have custom templates for those providers that get injected into the 'master' Vagrantfile template. If there are defaults in the configurations, these will be the values in the generated template, unless the user chooses to interactively fill out the Vagrantfile in the CLI with interactive mode.
|
4
4
|
|
5
|
-
TODO
|
5
|
+
## TODO
|
6
|
+
- [x] Interactive vagrantfile building
|
7
|
+
- [x] aws provider
|
8
|
+
- [x] virtualbox provider
|
9
|
+
- [ ] vmware provider
|
10
|
+
- [ ] docker provider
|
11
|
+
- [ ] ability to load custom providers attributes via cli
|
12
|
+
- [ ] ability to load custom provider templates via cli
|
6
13
|
|
7
|
-
## Installation
|
8
14
|
|
9
|
-
|
15
|
+
## Installation
|
10
16
|
|
11
|
-
|
12
|
-
gem 'vbuilder'
|
13
|
-
```
|
17
|
+
install it yourself as:
|
14
18
|
|
15
|
-
|
19
|
+
$ gem install vbuilder
|
16
20
|
|
17
|
-
|
21
|
+
## Usage
|
18
22
|
|
19
|
-
|
23
|
+
To list all currently available vagrant providers, run this:
|
24
|
+
```bash
|
25
|
+
$ vbuilder -P
|
26
|
+
or
|
27
|
+
$ vbuilder --providers
|
28
|
+
```
|
29
|
+
** currently only 'aws' and 'virtualbox' are supported for Vagrantfile generation. More to come soon.
|
20
30
|
|
21
|
-
|
31
|
+
To generate a simple Vagrantfile based on a provider, granted that provider is valid, run this:
|
32
|
+
```bash
|
33
|
+
$ vbuilder --provider <some provider>
|
34
|
+
```
|
22
35
|
|
23
|
-
|
36
|
+
To generate a Vagrantfile interactively on the CLI, with a given provider, run this:
|
37
|
+
```bash
|
38
|
+
$ vbuilder -i --provider <some provider>
|
39
|
+
or
|
40
|
+
$ vbuilder --interactive --provider <some provider>
|
41
|
+
```
|
24
42
|
|
25
|
-
|
43
|
+
...and of course, for the help menu, run this:
|
44
|
+
```bash
|
45
|
+
$ vbuilder --help
|
46
|
+
or
|
47
|
+
$ vbuilder -h
|
48
|
+
```
|
26
49
|
|
27
50
|
## Development
|
28
51
|
|
@@ -32,7 +55,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
55
|
|
33
56
|
## Contributing
|
34
57
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
58
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/iandesj/vbuilder. 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.
|
36
59
|
|
37
60
|
|
38
61
|
## License
|
data/lib/vbuilder/version.rb
CHANGED
data/vbuilder.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = ["vbuilder"]
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_runtime_dependency "highline", "~> 1.7.8"
|
22
|
+
spec.add_runtime_dependency "highline", "~> 1.7", ">= 1.7.8"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.11"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,20 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vbuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian DesJardins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 1.7.8
|
20
23
|
type: :runtime
|
@@ -22,6 +25,9 @@ dependencies:
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.7'
|
30
|
+
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 1.7.8
|
27
33
|
- !ruby/object:Gem::Dependency
|