vagrant-pristine 0.1.0 → 0.2.0

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: 54c9fc961f9b05f0962578a9243cddba88291dd7
4
- data.tar.gz: 99266c6657ac754357404455c245269496af0d33
3
+ metadata.gz: 723e3f364ea5a48c142695ff5dcd02ff0d59d9c9
4
+ data.tar.gz: 23281cc6184742341ea63efae3ae60673f8fda76
5
5
  SHA512:
6
- metadata.gz: e2b0b9ef96af3ed3564bbaada8adfde8817a6628a429a710274056f9bb594b0b07482eb331f56b39eb4a1d8e0711185ce14ee29b52e7170dfb4597a99b426045
7
- data.tar.gz: 57600e55137799ce8c43d92cab51367697aba6a3f25a9017ebebe7105e10bd931c3f745197efa1e6cc284478f57b9403bb37ce5d51ff027c19849c81b351a7d1
6
+ metadata.gz: fae61b22173948235426ae917ee7c3a4eaf5aaf1b8a61920b29adb9ad1af7db2841acec6d57e8a99b081d4e11a26f790b4b383f2f38e78742aaaf5b8b6c54afe
7
+ data.tar.gz: 17e555b2075bec7e744b0bbe1c2a32f271aef0155a3fd0fc372c9fb6452c80aeab8f71b39cd61dc37efaedcbef592b5db744b8cbca3eb1de04d24e558dd9c311
data/README.md CHANGED
@@ -16,6 +16,8 @@ vagrant plugin install vagrant-pristine
16
16
  ```
17
17
  Usage: vagrant pristine [vm-name]
18
18
 
19
+ --[no-]provision Enable or disable provisioning
20
+ --provision-with x,y,z Enable only certain provisioners, by type.
19
21
  -f, --force Destroy without confirmation.
20
22
  --[no-]parallel Enable or disable parallelism if provider supports it.
21
23
  --provider provider Back the machine with a specific provider.
@@ -1,4 +1,6 @@
1
1
  require_relative 'version'
2
+ require 'vagrant'
3
+ require Vagrant.source_root.join('plugins/commands/up/start_mixins')
2
4
 
3
5
  module VagrantPlugins
4
6
  module Pristine
@@ -11,6 +13,8 @@ module VagrantPlugins
11
13
  end
12
14
 
13
15
  class Command < Vagrant.plugin(2, :command)
16
+ include VagrantPlugins::CommandUp::StartMixins
17
+
14
18
  def execute
15
19
  options = {
16
20
  force: false,
@@ -21,6 +25,8 @@ module VagrantPlugins
21
25
  o.banner = "Usage: vagrant pristine [vm-name]"
22
26
  o.separator ""
23
27
 
28
+ build_start_options(o, options)
29
+
24
30
  o.on("-f", "--force", "Destroy without confirmation.") do |f|
25
31
  options[:force] = f
26
32
  end
@@ -30,7 +36,6 @@ module VagrantPlugins
30
36
  options[:parallel] = parallel
31
37
  end
32
38
 
33
-
34
39
  o.on("--provider provider", String,
35
40
  "Back the machine with a specific provider.") do |provider|
36
41
  options[:provider] = provider
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Pristine
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-pristine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Rehm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-12 00:00:00.000000000 Z
11
+ date: 2013-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler