vagrantup 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/vagrant/actions/vm/export.rb +1 -1
- data/lib/vagrant/actions/vm/import.rb +1 -1
- data/lib/vagrant/busy.rb +1 -2
- data/test/vagrant/busy_test.rb +1 -15
- data/vagrant.gemspec +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 438b4a9c3c9db1258d8d6288c2b187c36b6b8c23
|
4
|
+
data.tar.gz: 0b7e25e783daae65aa6ccd44ada939dc84abd907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71fa1a3a4f31016586e9bf35827647ff00ec033873bd9de254907e029f3e4f8d7c942bcedb5940add61337df0e355425fb885e0d49bfcc52d70c5ebfb2403cb7
|
7
|
+
data.tar.gz: 10a34da8f18681041c92020c86ad4676b7d738d3e11392c4e65bcb38cc336302920d0baf3d1d64927dba4efc3576f3306f9eda9439dccd81ac1056f9a6022d01
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ begin
|
|
10
10
|
gemspec.homepage = "http://github.com/mitchellh/vagrant"
|
11
11
|
gemspec.authors = ["Mitchell Hashimoto", "John Bender"]
|
12
12
|
|
13
|
-
gemspec.add_dependency('virtualbox', '~> 0.6.
|
13
|
+
gemspec.add_dependency('virtualbox', '~> 0.6.1')
|
14
14
|
gemspec.add_dependency('net-ssh', '>= 2.0.19')
|
15
15
|
gemspec.add_dependency('net-scp', '>= 1.0.2')
|
16
16
|
gemspec.add_dependency('json_pure', '>= 1.2.0')
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
@@ -10,7 +10,7 @@ module Vagrant
|
|
10
10
|
logger.info "Importing base VM (#{@runner.env.box.ovf_file})..."
|
11
11
|
# Use the first argument passed to the action
|
12
12
|
@runner.vm = VirtualBox::VM.import(@runner.env.box.ovf_file) do |progress|
|
13
|
-
update_progress(progress, 100, false)
|
13
|
+
update_progress(progress.percent, 100, false)
|
14
14
|
end
|
15
15
|
|
16
16
|
complete_progress
|
data/lib/vagrant/busy.rb
CHANGED
@@ -28,8 +28,7 @@ module Vagrant
|
|
28
28
|
begin
|
29
29
|
Signal.trap("INT") { wait_for_not_busy }
|
30
30
|
Busy.busy = true
|
31
|
-
|
32
|
-
runner.join
|
31
|
+
block.call
|
33
32
|
ensure
|
34
33
|
# In the case an exception is thrown, make sure we restore
|
35
34
|
# busy back to some sane state.
|
data/test/vagrant/busy_test.rb
CHANGED
@@ -63,23 +63,9 @@ class BusyTest < Test::Unit::TestCase
|
|
63
63
|
should "report busy to the outside world regardless of thread" do
|
64
64
|
Thread.new do
|
65
65
|
Vagrant.busy do
|
66
|
-
|
66
|
+
assert Vagrant.busy?
|
67
67
|
end
|
68
68
|
end
|
69
|
-
# Give the thread time to start
|
70
|
-
sleep(1)
|
71
|
-
|
72
|
-
# While the above thread is executing vagrant should be busy
|
73
|
-
assert Vagrant.busy?
|
74
|
-
end
|
75
|
-
|
76
|
-
should "run the action in a new thread" do
|
77
|
-
runner_thread = nil
|
78
|
-
Vagrant.busy do
|
79
|
-
runner_thread = Thread.current
|
80
|
-
end
|
81
|
-
|
82
|
-
assert_not_equal Thread.current, runner_thread
|
83
69
|
end
|
84
70
|
|
85
71
|
should "trap INT" do
|
data/vagrant.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{vagrantup}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mitchell Hashimoto", "John Bender"]
|
12
|
-
s.date = %q{2010-04-
|
12
|
+
s.date = %q{2010-04-24}
|
13
13
|
s.default_executable = %q{vagrant}
|
14
14
|
s.description = %q{Vagrant is a tool for building and distributing virtualized development environments.}
|
15
15
|
s.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.com"]
|
@@ -241,14 +241,14 @@ Gem::Specification.new do |s|
|
|
241
241
|
s.specification_version = 3
|
242
242
|
|
243
243
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
244
|
-
s.add_runtime_dependency(%q<virtualbox>, ["~> 0.6.
|
244
|
+
s.add_runtime_dependency(%q<virtualbox>, ["~> 0.6.1"])
|
245
245
|
s.add_runtime_dependency(%q<net-ssh>, [">= 2.0.19"])
|
246
246
|
s.add_runtime_dependency(%q<net-scp>, [">= 1.0.2"])
|
247
247
|
s.add_runtime_dependency(%q<json_pure>, [">= 1.2.0"])
|
248
248
|
s.add_runtime_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
|
249
249
|
s.add_runtime_dependency(%q<mario>, ["~> 0.0.6"])
|
250
250
|
else
|
251
|
-
s.add_dependency(%q<virtualbox>, ["~> 0.6.
|
251
|
+
s.add_dependency(%q<virtualbox>, ["~> 0.6.1"])
|
252
252
|
s.add_dependency(%q<net-ssh>, [">= 2.0.19"])
|
253
253
|
s.add_dependency(%q<net-scp>, [">= 1.0.2"])
|
254
254
|
s.add_dependency(%q<json_pure>, [">= 1.2.0"])
|
@@ -256,7 +256,7 @@ Gem::Specification.new do |s|
|
|
256
256
|
s.add_dependency(%q<mario>, ["~> 0.0.6"])
|
257
257
|
end
|
258
258
|
else
|
259
|
-
s.add_dependency(%q<virtualbox>, ["~> 0.6.
|
259
|
+
s.add_dependency(%q<virtualbox>, ["~> 0.6.1"])
|
260
260
|
s.add_dependency(%q<net-ssh>, [">= 2.0.19"])
|
261
261
|
s.add_dependency(%q<net-scp>, [">= 1.0.2"])
|
262
262
|
s.add_dependency(%q<json_pure>, [">= 1.2.0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrantup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitchell Hashimoto
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2010-04-
|
12
|
+
date: 2010-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: virtualbox
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.6.
|
20
|
+
version: 0.6.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.6.
|
27
|
+
version: 0.6.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: net-ssh
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|