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
|
data/lib/virtualbox/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 7
|
8
|
-
-
|
9
|
-
version: 0.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-
|
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:
|
368
|
+
hash: 1890212829530547072
|
369
369
|
segments:
|
370
370
|
- 0
|
371
371
|
version: "0"
|