virtualbox 0.7.8 → 0.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ require 'virtualbox/ext/platform'
2
+
1
3
  module VirtualBox
2
4
  # Eases the processes of loading specific files then globbing
3
5
  # the rest from a specified directory.
@@ -13,13 +15,20 @@ module VirtualBox
13
15
  # expand to "c:\" and some expand to "C:\" and cause the same file to
14
16
  # be loaded twice. Uck.
15
17
 
18
+ require_files = []
16
19
  initial_files.each do |file|
17
- require File.expand_path(file, dir).downcase
20
+ require_files << File.expand_path(file, dir)
18
21
  end
19
22
 
20
23
  # Glob require the rest
21
24
  Dir[File.join(dir, "**", "*.rb")].each do |f|
22
- require File.expand_path(f).downcase
25
+ require_files << File.expand_path(f)
26
+ end
27
+
28
+ # Iterate over the files to require, manipulating them if necessary
29
+ require_files.each do |file|
30
+ file = file.downcase if Platform.windows?
31
+ require file
23
32
  end
24
33
  end
25
34
  end
@@ -1,5 +1,5 @@
1
1
  module VirtualBox
2
- VERSION = "0.7.8"
2
+ VERSION = "0.7.9"
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
- - 8
9
- version: 0.7.8
8
+ - 9
9
+ version: 0.7.9
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-18 00:00:00 -08:00
17
+ date: 2010-12-23 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: 1890212829530547072
368
+ hash: 2285628671493140587
369
369
  segments:
370
370
  - 0
371
371
  version: "0"