lowload 0.5.0 → 0.5.1
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.
- checksums.yaml +4 -4
- data/lib/lowload.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4308f9be211e662f356659bccaa5e8c6a072e36b7a7cf2cac34d8b8f88bf0a61
|
|
4
|
+
data.tar.gz: 065a035f71f16424c0dd2d98c2c95f60cdec86cab2863ecab8cceb3f6f9e8248
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c8adc7cee6f2486e83c5adfae2d7aedcf33a6d6ceb26cbe052b2326c2d659de8cc58ccf54f4e572143ce11ed5d079585e7fb9f8c8886f8399fd248f245bd31a
|
|
7
|
+
data.tar.gz: 579e6eddfd6e92b6d426f10214cab3571670126d0b64c9cc2f112b9af09f72cca5c383ef10821bbc1fe917c279ebbb06b99ee8ec3e683e6ad01d09906f3a9664
|
data/lib/lowload.rb
CHANGED
|
@@ -16,7 +16,7 @@ module LowLoad
|
|
|
16
16
|
# Files are mapped, autoloaded, then loaded into Ruby in 3 separate stages.
|
|
17
17
|
def dirload(path, pwd = Dir.pwd)
|
|
18
18
|
absolute_path = File.expand_path(path, pwd)
|
|
19
|
-
file_paths = Dir["#{absolute_path}/**/*"]
|
|
19
|
+
file_paths = Dir["#{absolute_path}/**/*"].filter { !File.directory?(it) }
|
|
20
20
|
|
|
21
21
|
# Map all definitions and dependencies first.
|
|
22
22
|
file_paths.each do |file_path|
|
data/lib/version.rb
CHANGED