monkey-lib 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/monkey/ext.rb +1 -1
  2. metadata +4 -4
data/lib/monkey/ext.rb CHANGED
@@ -29,7 +29,7 @@ module Monkey
29
29
  # HACK: Don't modify modules while looping through object space.
30
30
  # JRuby does not like that.
31
31
  list = []
32
- ObjectSpace.each_object(Module) do |mod|
32
+ ObjectSpace.each_object(Class) do |mod|
33
33
  list << mod if mod.ancestors.include? klass and not mod.ancestors.include? self
34
34
  end
35
35
  list.each { |e| e.send :include, klass }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monkey-lib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Konstantin Haase
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-09 00:00:00 +02:00
18
+ date: 2010-07-15 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency