vagrantup 0.5.3 → 0.5.4

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: 3b89c17ea0cfe6ef7d645edc35ffcab3532b43ee
4
- data.tar.gz: 2ed0c07d7ee7ac716692a9d7d2e927b42ba2873c
3
+ metadata.gz: 0db0a5baa8103acf0b222bc6799521d12ff95937
4
+ data.tar.gz: 9e103e6e9d98c4a2c1dd59c7c54c1517cb4e1cf6
5
5
  SHA512:
6
- metadata.gz: 136c0ee3d7c709082a9505e301c7a277d843a68bea7fe192b48e08fc33adadd521f35e6cbe4f20654e449d36aae4d300d73958d9917563a1bc6e104cb87ee11a
7
- data.tar.gz: 1ead90419227ee0979022469a83952ea77296c3533ea58d2b81f9d292a2a3f5b35dae962f32b8a5ee644950b1f8e721c5e4a5311c2aaac461e422f333f8e89fd
6
+ metadata.gz: 88189457ac64979a5d4170cab4549bb4f06ead6e8b57e453736d3213f5fb9642932e6f18184203160efd6232104df014934bcedb22c397c5043e7da24c75af5b
7
+ data.tar.gz: 6c67769e5b511df5b3a9496163455da99a398796c8af1a245226b88a7c3844c70c45067881c0855e11d0a2aba14444cbb222603fb6fb879bd2094c3b50b6b5e5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.5.4 (September 7, 2010)
2
+
3
+ - Fix issue with the "exec failed" by running on Tiger as well.
4
+ - Give an error when downloading a box which already exists prior
5
+ to actually downloading the box.
6
+
1
7
  ## 0.5.3 (August 23, 2010)
2
8
 
3
9
  - Add erubis as a dependency since its rendering of `erb` is sane.
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- vagrant (0.5.3)
11
+ vagrant (0.5.4)
12
12
  archive-tar-minitar (= 0.5.2)
13
13
  erubis (>= 2.6.6)
14
14
  json (>= 1.4.3)
@@ -12,6 +12,12 @@ module Vagrant
12
12
  return
13
13
  end
14
14
 
15
+ box = Vagrant::Box.find(env, args[0])
16
+ if !box.nil?
17
+ error_and_exit(:box_already_exists)
18
+ return # for tests
19
+ end
20
+
15
21
  Vagrant::Box.add(env, args[0], args[1])
16
22
  end
17
23
 
@@ -21,4 +27,4 @@ module Vagrant
21
27
  end
22
28
  end
23
29
  end
24
- end
30
+ end
@@ -12,7 +12,6 @@ module Vagrant
12
12
  return
13
13
  end
14
14
 
15
-
16
15
  box = Vagrant::Box.find(env, args[0])
17
16
  if box.nil?
18
17
  error_and_exit(:box_remove_doesnt_exist)
@@ -28,4 +27,4 @@ module Vagrant
28
27
  end
29
28
  end
30
29
  end
31
- end
30
+ end
data/lib/vagrant/ssh.rb CHANGED
@@ -41,7 +41,7 @@ module Vagrant
41
41
  # (GH-51). As a workaround, we fork and wait. On all other platforms,
42
42
  # we simply exec.
43
43
  pid = nil
44
- pid = fork if Util::Platform.leopard?
44
+ pid = fork if Util::Platform.leopard? || Util::Platform.tiger?
45
45
  Kernel.exec "ssh #{command_options.join(" ")} #{options[:username]}@#{options[:host]}".strip if pid.nil?
46
46
  Process.wait(pid) if pid
47
47
  end
@@ -3,8 +3,12 @@ module Vagrant
3
3
  # This class just contains some platform checking code.
4
4
  class Platform
5
5
  class << self
6
+ def tiger?
7
+ platform.include?("darwin8")
8
+ end
9
+
6
10
  def leopard?
7
- RUBY_PLATFORM.downcase.include?("darwin9")
11
+ platform.include?("darwin9")
8
12
  end
9
13
 
10
14
  [:darwin, :bsd, :linux].each do |type|
@@ -2,5 +2,5 @@ module Vagrant
2
2
  # This will always be up to date with the current version of Vagrant,
3
3
  # since it is used to generate the gemspec and is also the source of
4
4
  # the version for `vagrant -v`
5
- VERSION = "0.5.3"
5
+ VERSION = "0.5.4"
6
6
  end
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.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitchell Hashimoto