vagrant-vbox-snapshot 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 33e9abe0b4d5521bffb2509f88c1aad9a2d6152f
4
- data.tar.gz: 9a3ffca4dec1a13a32bcd420e5c26e4d55755cd5
3
+ metadata.gz: ff42886db09ebe2fc09e470781427becb5899f3a
4
+ data.tar.gz: 9df455ada1429d34411864d645e35a5056c42233
5
5
  SHA512:
6
- metadata.gz: 73151d2048746312481aff7ad37b2c4fb8f525e2ac8ce88a80984be697e569a9e0c1d9fec58ca11be31df150fac5fafb23d5a1fbac38193e94768a995bb09e9e
7
- data.tar.gz: 91bc767c5c6813f4d2daf0169f6b7d2399f4e14e4f86cad5d236347d7306e9806fcb6b99b60f443e90e3cc095c83aae9a31daa0d8954fbba83eada4add3575cb
6
+ metadata.gz: dcd6173e6c350ba844ad95c91587a0edebe97bf7837585ec7016193e748176b27863ff305b24ea5ef2fc60294247ae3414e63025e5100d747e3fe948c598d8e7
7
+ data.tar.gz: 454fa68b072156520c53c87813fb6f87c44afb023381c3027c2af687789f2e68c3a9490250f3ebb33a1bd885576a6a8f245dc3aba29b85567136b3e22d067127
data/.gitignore CHANGED
File without changes
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.0.5](https://github.com/dergachev/vagrant-vbox-snapshot/compare/v0.0.4...v0.0.5) (June 7, 2014)
2
+
3
+ IMPROVEMENTS:
4
+
5
+ - Add command synopsys [#23](https://github.com/dergachev/vagrant-vbox-snapshot/issues/23)
6
+
1
7
  ## [0.0.4](https://github.com/dergachev/vagrant-vbox-snapshot/compare/v0.0.3...v0.0.4) (Sep 23, 2013)
2
8
 
3
9
  BACKWARDS INCOMPATIBILITIES:
data/DEVNOTES.md CHANGED
@@ -25,10 +25,19 @@ vagrant snapshot take TEST1 # and so on...
25
25
  ```
26
26
  git clone https://github.com/dergachev/vagrant-vbox-snapshot.git
27
27
  cd vagrant-vbox-snapshot
28
+
29
+ # installs vagrant gem for local development
30
+ NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install
31
+
28
32
  # consider branching if you aren't sure about merging it (not the case here, of course!)
29
- # git checkout dubious-pull-request
33
+ # git checkout -b dubious-pull-request
30
34
  git pull https://github.com/fgrehm/vagrant-vbox-snapshot multi-vm-environments-support
31
- # test, fix stuff, etc
35
+
36
+ # test, fix stuff, etc (inside the locally installed bundle)
37
+ bundle exec vagrant up
38
+ bundle exec vagrant snapshot go
39
+
40
+ # push (merge into master if necessary)
32
41
  git push -u origin master
33
42
  ```
34
43
 
@@ -50,7 +59,7 @@ vagrant plugin uninstall vagrant-vbox-snapshot
50
59
  vagrant plugin install ~/code/vagrant-vbox-snapshot/vagrant-vbox-snapshot-VERSION.gem # replace VERSION with 0.0.3
51
60
  vagrant plugin list | grep snapshot # ensure that correct version is installed
52
61
  vagrant snapshot list -h # quick sanity check
53
- vagrant plugin uninstall # cleanup
62
+ vagrant plugin uninstall vagrant-vbox-snapshot # cleanup
54
63
  ```
55
64
 
56
65
  Now commit and tag:
@@ -67,10 +76,11 @@ git tag vN.N.N # eg v0.0.3
67
76
  git push --tags
68
77
  ```
69
78
 
70
- # test installing from rubygems
79
+ Test installing from rubygems
80
+
81
+ ```
71
82
  cd ~/code/screengif
72
83
  vagrant plugin install vagrant-vbox-snapshot
73
- vagrant plugin list
74
84
  ```
75
85
 
76
86
 
data/Gemfile CHANGED
@@ -1,6 +1,10 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in vagrant-snap.gemspec
4
- gemspec
4
+ # gemspec
5
5
 
6
6
  gem "vagrant", :git => "git://github.com/mitchellh/vagrant.git"
7
+
8
+ group :plugins do
9
+ gem "vagrant-vbox-snapshot", path: "."
10
+ end
data/README.md CHANGED
@@ -12,11 +12,11 @@ Ensure you have Vagrant 1.1+ installed, then run:
12
12
 
13
13
  The following commands are added by this plugin:
14
14
 
15
- vagrant snapshot take [vm-name] [NAME] # take snapshot, labeled by NAME
15
+ vagrant snapshot take [vm-name] <SNAPSHOT_NAME> # take snapshot, labeled by NAME
16
16
  vagrant snapshot list [vm-name] # list snapshots
17
17
  vagrant snapshot back [vm-name] # restore last taken snapshot
18
- vagrant snapshot delete [vm-name] [NAME] # delete specified snapshot
19
- vagrant snapshot go [vm-name] [NAME] # restore specified snapshot
18
+ vagrant snapshot delete [vm-name] <SNAPSHOT_NAME> # delete specified snapshot
19
+ vagrant snapshot go [vm-name] <SNAPSHOT_NAME> # restore specified snapshot
20
20
 
21
21
  ## Caveats
22
22
 
@@ -29,7 +29,7 @@ This plugin is primarily a port of vagrant-snap to Vagrant 1.1.
29
29
  * [vagrant-snap](https://github.com/t9md/vagrant-snap)
30
30
  - fork with Vagrant 1.0.4-1.0.7 compatibility: https://gist.github.com/tombh/5142237 [source](https://github.com/mitchellh/vagrant/issues/143#issuecomment-14781762)
31
31
  * [sahara](https://github.com/jedi4ever/sahara)
32
- - fork exists with 1.1 functionality: https://github.com/ryuzee/sahara
32
+ - supports 1.1
33
33
 
34
34
  ## Development
35
35
 
data/Rakefile CHANGED
File without changes
data/Vagrantfile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,6 +2,10 @@ module VagrantPlugins
2
2
  module VBoxSnapshot
3
3
  module Command
4
4
  class Root < Vagrant.plugin(2, :command)
5
+ def self.synopsis
6
+ "manages snapshots of the machine: taking, restoring, deleting, etc."
7
+ end
8
+
5
9
  def initialize(argv, env)
6
10
  super
7
11
 
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VBoxSnapshot
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vbox-snapshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Dergachev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-23 00:00:00.000000000 Z
11
+ date: 2014-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.0.3
85
+ rubygems_version: 2.0.14
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Vagrant plugin that exposes the `VBoxManage snapshot` command.