vagrant 0.1.4.pre.a → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ begin
15
15
  gemspec.add_dependency('net-scp', '>= 1.0.2')
16
16
  gemspec.add_dependency('json', '>= 1.2.0')
17
17
  gemspec.add_dependency('git-style-binaries', '>= 0.1.10')
18
- gemspec.add_dependency('archive-tar-minitar', '>= 0.5.2')
18
+ gemspec.add_dependency('archive-tar-minitar', '= 0.5.2')
19
19
  end
20
20
  Jeweler::GemcutterTasks.new
21
21
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4.pre.a
1
+ 0.1.4
@@ -9,7 +9,7 @@ end
9
9
  require 'git-style-binary/command'
10
10
 
11
11
  GitStyleBinary.primary do
12
- version "0.1.4.pre"
12
+ version "0.1.4"
13
13
 
14
14
  run { educate }
15
15
  end
@@ -89,7 +89,10 @@ module Vagrant
89
89
  def load_root_path!(path=nil)
90
90
  path ||= Pathname.new(Dir.pwd)
91
91
 
92
- return false if path.to_s == '/'
92
+ # Stop if we're at the root. 2nd regex matches windows drives
93
+ # such as C:. and Z:. Portability of this check will need to be
94
+ # researched.
95
+ return false if path.to_s == '/' || path.to_s =~ /^[A-Z]:\.$/
93
96
 
94
97
  file = "#{path}/#{ROOTFILE_NAME}"
95
98
  if File.exist?(file)
@@ -218,11 +218,16 @@ class EnvTest < Test::Unit::TestCase
218
218
  assert !Vagrant::Env.load_root_path!(paths.first)
219
219
  end
220
220
 
221
- should "should return false if not found" do
221
+ should "return false if not found" do
222
222
  path = Pathname.new("/")
223
223
  assert !Vagrant::Env.load_root_path!(path)
224
224
  end
225
225
 
226
+ should "return false if not found on windows-style root" do
227
+ path = Pathname.new("C:.")
228
+ assert !Vagrant::Env.load_root_path!(path)
229
+ end
230
+
226
231
  should "should set the path for the rootfile" do
227
232
  path = "/foo"
228
233
  File.expects(:exist?).with("#{path}/#{Vagrant::Env::ROOTFILE_NAME}").returns(true)
@@ -5,9 +5,9 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{vagrant}
8
- s.version = "0.1.4.pre.a"
8
+ s.version = "0.1.4"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
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
12
  s.date = %q{2010-03-09}
13
13
  s.description = %q{Vagrant is a tool for building and distributing virtualized development environments.}
@@ -161,14 +161,14 @@ Gem::Specification.new do |s|
161
161
  s.add_runtime_dependency(%q<net-scp>, [">= 1.0.2"])
162
162
  s.add_runtime_dependency(%q<json>, [">= 1.2.0"])
163
163
  s.add_runtime_dependency(%q<git-style-binaries>, [">= 0.1.10"])
164
- s.add_runtime_dependency(%q<archive-tar-minitar>, [">= 0.5.2"])
164
+ s.add_runtime_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
165
165
  else
166
166
  s.add_dependency(%q<virtualbox>, [">= 0.5.0"])
167
167
  s.add_dependency(%q<net-ssh>, [">= 2.0.19"])
168
168
  s.add_dependency(%q<net-scp>, [">= 1.0.2"])
169
169
  s.add_dependency(%q<json>, [">= 1.2.0"])
170
170
  s.add_dependency(%q<git-style-binaries>, [">= 0.1.10"])
171
- s.add_dependency(%q<archive-tar-minitar>, [">= 0.5.2"])
171
+ s.add_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
172
172
  end
173
173
  else
174
174
  s.add_dependency(%q<virtualbox>, [">= 0.5.0"])
@@ -176,7 +176,7 @@ Gem::Specification.new do |s|
176
176
  s.add_dependency(%q<net-scp>, [">= 1.0.2"])
177
177
  s.add_dependency(%q<json>, [">= 1.2.0"])
178
178
  s.add_dependency(%q<git-style-binaries>, [">= 0.1.10"])
179
- s.add_dependency(%q<archive-tar-minitar>, [">= 0.5.2"])
179
+ s.add_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
180
180
  end
181
181
  end
182
182
 
metadata CHANGED
@@ -1,14 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ prerelease: false
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
8
  - 4
9
- - pre
10
- - a
11
- version: 0.1.4.pre.a
9
+ version: 0.1.4
12
10
  platform: ruby
13
11
  authors:
14
12
  - Mitchell Hashimoto
@@ -95,7 +93,7 @@ dependencies:
95
93
  prerelease: false
96
94
  requirement: &id006 !ruby/object:Gem::Requirement
97
95
  requirements:
98
- - - ">="
96
+ - - "="
99
97
  - !ruby/object:Gem::Version
100
98
  segments:
101
99
  - 0
@@ -234,13 +232,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
234
232
  version: "0"
235
233
  required_rubygems_version: !ruby/object:Gem::Requirement
236
234
  requirements:
237
- - - ">"
235
+ - - ">="
238
236
  - !ruby/object:Gem::Version
239
237
  segments:
240
- - 1
241
- - 3
242
- - 1
243
- version: 1.3.1
238
+ - 0
239
+ version: "0"
244
240
  requirements: []
245
241
 
246
242
  rubyforge_project: