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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0512021a3cc838437e91cd207a0e70da513ad6e6
4
- data.tar.gz: 09df7c66b21934d01e7018fa54e400bb03e9d61a
3
+ metadata.gz: cdf83c3d95ea5fdf1d3b6a4d27ea64826b3cf4b0
4
+ data.tar.gz: 0bbaeff379559943218b343e9af573f3cbee5837
5
5
  SHA512:
6
- metadata.gz: 73fb2c91104bd6567e242a4819142e67e355a7a6f6f45f43a43daebb7ec4dddd618b24cb5cd5204ca07c0ef7222abce2ca7b324d336eeb2322903939482bc38c
7
- data.tar.gz: 4eb222e8e4012cd2d74ec71201231ea7395962ec37b536b9d2e780ebab62324cca8fa7c6360b74ffcafff32d482058fca11dffb14255bd76a74f5ef39324acf0
6
+ metadata.gz: 1e9ddb92ec1397d1666ec021affff65b99ad8538ab88aac9af18135f3fa0a8b6af2f49e5ccdfb9bad5e9f7d0b558a6bb169ae626eacb53138bfd8e577de5bd64
7
+ data.tar.gz: 141a4d0919d7ead0221f4c77e46b8f47f8dc35c5b35df80b574c362b3dcb89ad63af4bebeb92a37f52ee53fc4d43740d9c1f6ec5fa345387e9ca8235143e7afe
data/README.md CHANGED
@@ -1,28 +1,51 @@
1
1
  # Vbuilder
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/vbuilder`. To experiment with that code, run `bin/console` for an interactive prompt.
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: Delete this and the text above, and describe your gem
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
- Add this line to your application's Gemfile:
15
+ ## Installation
10
16
 
11
- ```ruby
12
- gem 'vbuilder'
13
- ```
17
+ install it yourself as:
14
18
 
15
- And then execute:
19
+ $ gem install vbuilder
16
20
 
17
- $ bundle
21
+ ## Usage
18
22
 
19
- Or install it yourself as:
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
- $ gem install vbuilder
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
- ## Usage
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
- TODO: Write usage instructions here
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/[USERNAME]/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.
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
@@ -1,8 +1,8 @@
1
1
  class Vbuilder
2
2
  module Version
3
3
  MAJOR = 0
4
- MINOR = 2
5
- PATCH = 2
4
+ MINOR = 3
5
+ PATCH = 1
6
6
  BUILD = nil
7
7
 
8
8
  def self.version
@@ -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.2.2
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-15 00:00:00.000000000 Z
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