virtualbox 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,14 +9,18 @@ module VirtualBox
9
9
  # @param [Array<String>] initial_files Initial files (relative to `dir`)
10
10
  # to load
11
11
  def self.glob_require(dir, initial_files=[])
12
+ # Note: The paths below both are "downcased" because on Windows, some
13
+ # expand to "c:\" and some expand to "C:\" and cause the same file to
14
+ # be loaded twice. Uck.
15
+
12
16
  initial_files.each do |file|
13
- require File.expand_path(file, dir)
17
+ require File.expand_path(file, dir).downcase
14
18
  end
15
19
 
16
20
  # Glob require the rest
17
21
  Dir[File.join(dir, "**", "*.rb")].each do |f|
18
- require File.expand_path(f)
22
+ require File.expand_path(f).downcase
19
23
  end
20
24
  end
21
25
  end
22
- end
26
+ end
@@ -20,7 +20,7 @@ module VirtualBox
20
20
  end
21
21
 
22
22
  def platform
23
- Config::CONFIG["host_os"].downcase
23
+ RbConfig::CONFIG["host_os"].downcase
24
24
  end
25
25
  end
26
26
  end
@@ -1,5 +1,5 @@
1
1
  module VirtualBox
2
- VERSION = "0.7.7"
2
+ VERSION = "0.7.8"
3
3
 
4
4
  module Version
5
5
  # Returns a boolean denoting whether the current VirtualBox
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 7
9
- version: 0.7.7
8
+ - 8
9
+ version: 0.7.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mitchell Hashimoto
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-15 00:00:00 -08:00
17
+ date: 2010-12-18 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -365,7 +365,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
365
365
  requirements:
366
366
  - - ">="
367
367
  - !ruby/object:Gem::Version
368
- hash: -1896681026323262226
368
+ hash: 1890212829530547072
369
369
  segments:
370
370
  - 0
371
371
  version: "0"