monkey-lib 0.3.5.2 → 0.3.5.3

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.
Files changed (2) hide show
  1. data/lib/monkey/autoloader.rb +1 -0
  2. metadata +1 -1
@@ -10,6 +10,7 @@ module Monkey
10
10
  if const_defined? const_name
11
11
  const = const_get const_name
12
12
  const.extend Monkey::Autoloader
13
+ constants.each { |c| c.extend Monkey::Autoloader if c.is_a? Module and not c.is_a? Monkey::Autoloader }
13
14
  const
14
15
  else
15
16
  warn "expected #{file} to define #{name}::#{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.2
4
+ version: 0.3.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase