auto_autoloader 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/auto_autoloader.gemspec +2 -2
- data/lib/auto_autoloader.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8c070a7a3224ad1980b4c5960d050d4ed175c1b
|
4
|
+
data.tar.gz: 5af7c1e35387f1687b5845a59acbb4d25adbbbe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54fb20d7fc28e205494613ab40e939c5ddeeb38901074471f3fed1453fd1398b63603cd713c592dbf288c7299249d30f8310f50e0ce57b9cbaf8bcd83f40d3a7
|
7
|
+
data.tar.gz: 401773eb5640505d80f71feeb1b71c4999bfa1e58ce3d6cb5065eb2c33680bceef75d04210621dd836f414961d44fa2e25b1f0c1b01dc12985b9faf454ef9d31
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/auto_autoloader.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: auto_autoloader 0.0.
|
5
|
+
# stub: auto_autoloader 0.0.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "auto_autoloader"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/lib/auto_autoloader.rb
CHANGED
@@ -34,6 +34,10 @@ class AutoAutoloader
|
|
34
34
|
|
35
35
|
@base.autoload(const_camel_case, "#{dir_path}/#{file}")
|
36
36
|
end
|
37
|
+
# rubocop:disable Lint/HandleExceptions
|
38
|
+
rescue Errno::ENOENT
|
39
|
+
# rubocop:enable Lint/HandleExceptions
|
40
|
+
# The directory doesn't exist. Don't autoload it.
|
37
41
|
end
|
38
42
|
|
39
43
|
def rails?
|