rr 0.10.7 → 0.10.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ 0.10.8
2
+ - Fixed 1.8.6 bug
3
+
4
+ 0.10.7
1
5
  - Fixed issue with DoubleInjections binding to objects overriding the method method.
2
6
 
3
7
  0.10.6
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :build:
3
3
  :minor: 10
4
- :patch: 7
4
+ :patch: 8
5
5
  :major: 0
@@ -102,7 +102,7 @@ module RR
102
102
  def subject_is_proxy_for_method?(method_name)
103
103
  subject_eigen = (class << @subject; self; end)
104
104
  method_owner = subject_eigen.instance_methods.include?(method_name.to_s) ? subject_eigen.instance_method(method_name).owner : nil
105
- !method_owner || !(subject_class.object_id == method_owner.object_id || subject_class.ancestors.include?(method_owner))
105
+ !method_owner
106
106
  end
107
107
 
108
108
  def deferred_bind_method
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.7
4
+ version: 0.10.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Takita
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-15 00:00:00 -08:00
12
+ date: 2010-02-16 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15