monkey-lib 0.3.5 → 0.3.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.
- data/lib/monkey/autoloader.rb +1 -1
- metadata +2 -2
data/lib/monkey/autoloader.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Monkey
|
|
|
4
4
|
module Autoloader
|
|
5
5
|
def const_missing(const_name)
|
|
6
6
|
const_name = const_name.to_s
|
|
7
|
-
file = File.join(
|
|
7
|
+
file = File.join(self.name.to_const_path, const_name.to_const_path)
|
|
8
8
|
begin
|
|
9
9
|
require file
|
|
10
10
|
if const_defined? const_name
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: monkey-lib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.5
|
|
4
|
+
version: 0.3.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konstantin Haase
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-01-
|
|
12
|
+
date: 2010-01-24 00:00:00 +01:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|