vagrant-snap 0.02 → 0.03

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.02
1
+ 0.03
data/lib/vagrant_snap.rb CHANGED
@@ -113,7 +113,7 @@ module Snap
113
113
  puts "[#{vagvmname}]"
114
114
  VBox::SnapShot.parse_tree( vmname )
115
115
  last_name = VBox::SnapShot.snaps.sort.reverse.first
116
- new_name = last_name.nil? ? vmname + "-01" : last_name.succ
116
+ new_name = last_name.nil? ? "#{vagvmname}-01" : last_name.succ
117
117
  desc = options.desc ? " --description '#{options.desc}'" : ""
118
118
  system "VBoxManage snapshot #{vmname} take #{new_name} #{desc} --pause"
119
119
  end
data/vagrant-snap.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{vagrant-snap}
5
- s.version = "0.02"
5
+ s.version = "0.03"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["t9md"]
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-snap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
9
- version: "0.02"
8
+ - 3
9
+ version: "0.03"
10
10
  platform: ruby
11
11
  authors:
12
12
  - t9md