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.
Files changed (3) hide show
  1. data/lib/mixico.rb +2 -1
  2. data/mixico-inline.gemspec +1 -1
  3. 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
- rb_clear_cache();
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
  }
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "mixico-inline"
3
- s.version = "0.0.4"
3
+ s.version = "0.0.5"
4
4
  s.summary = "1.8.6 compatible version of why's mixico"
5
5
  s.email = "coderrr.contact@gmail.com"
6
6
  s.homepage = "http://github.com/coderrr/mixico-inline"
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
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-25 00:00:00 -07:00
14
+ date: 2008-10-27 00:00:00 -07:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency