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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3f55a41c8818cd78ae275e7755838cb54375a8e
4
- data.tar.gz: 2dd0a87ab3f2499af68d4debc63282e9c9e3fdf1
3
+ metadata.gz: 438b4a9c3c9db1258d8d6288c2b187c36b6b8c23
4
+ data.tar.gz: 0b7e25e783daae65aa6ccd44ada939dc84abd907
5
5
  SHA512:
6
- metadata.gz: f6ed42e61afc3539cc53458b7548ab2d694c475f2d6d39fab91c3c49d50bf51a26e96fc3e891498b0f0c2faf75d4ca24ff9d3c61358cf33b10ae83dd21355a46
7
- data.tar.gz: 533db5d2cece10ab0026a8eb9fa9774f8cbeba092faa67488e31f688b9624fb7ce2c9761ff218a626d17ddfa0543ad7e024748dab6f5b6f0cea72b01cddaa48c
6
+ metadata.gz: 71fa1a3a4f31016586e9bf35827647ff00ec033873bd9de254907e029f3e4f8d7c942bcedb5940add61337df0e355425fb885e0d49bfcc52d70c5ebfb2403cb7
7
+ data.tar.gz: 10a34da8f18681041c92020c86ad4676b7d738d3e11392c4e65bcb38cc336302920d0baf3d1d64927dba4efc3576f3306f9eda9439dccd81ac1056f9a6022d01
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source :gemcutter
2
2
 
3
3
  # Gems required for the lib to even run
4
- gem "virtualbox", "~> 0.6.0"
4
+ gem "virtualbox", "~> 0.6.1"
5
5
  gem "net-ssh", ">= 2.0.19"
6
6
  gem "net-scp", ">= 1.0.2"
7
7
  gem "json_pure", ">= 1.2.0"
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.0')
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
1
+ 0.3.2
@@ -36,7 +36,7 @@ module Vagrant
36
36
  def export
37
37
  logger.info "Exporting VM to #{ovf_path}..."
38
38
  @runner.vm.export(ovf_path) do |progress|
39
- update_progress(progress, 100, false)
39
+ update_progress(progress.percent, 100, false)
40
40
  end
41
41
 
42
42
  complete_progress
@@ -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
@@ -28,8 +28,7 @@ module Vagrant
28
28
  begin
29
29
  Signal.trap("INT") { wait_for_not_busy }
30
30
  Busy.busy = true
31
- runner = Thread.new(block) { block.call }
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.
@@ -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
- sleep(2)
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
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{vagrantup}
8
- s.version = "0.3.1"
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-21}
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.0"])
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.0"])
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.0"])
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.1
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-21 00:00:00.000000000 Z
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.0
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.0
27
+ version: 0.6.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: net-ssh
30
30
  requirement: !ruby/object:Gem::Requirement