coderrr-mixico-inline 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mixico.rb +2 -1
- data/mixico-inline.gemspec +1 -1
- metadata +2 -2
data/lib/mixico.rb
CHANGED
@@ -15,7 +15,7 @@ class Module
|
|
15
15
|
if (BUILTIN_TYPE(p) == T_ICLASS) {
|
16
16
|
if (RBASIC(p)->klass == super) {
|
17
17
|
RCLASS(kid)->super = RCLASS(p)->super;
|
18
|
-
|
18
|
+
rb_clear_cache_by_class(module);
|
19
19
|
return p;
|
20
20
|
}
|
21
21
|
}
|
@@ -37,6 +37,7 @@ class Module
|
|
37
37
|
for (p = module; p; p = RCLASS(p)->super) {
|
38
38
|
if (RCLASS(p)->super == RCLASS(mixin)->super) {
|
39
39
|
RCLASS(p)->super = mixin;
|
40
|
+
rb_clear_cache_by_class(module);
|
40
41
|
return RBASIC(mixin)->klass;
|
41
42
|
}
|
42
43
|
}
|
data/mixico-inline.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coderrr-mixico-inline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- why
|
@@ -11,7 +11,7 @@ autorequire: mixico
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2008-10-
|
14
|
+
date: 2008-10-27 00:00:00 -07:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|