mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/celluluid: remove unused patch
This commit is contained in:
committed by
Hans de Graaff
parent
51de622b34
commit
1cda4fce63
@@ -1,19 +0,0 @@
|
||||
commit 092ce58aa8713f387ae3d0467b6d8029cf2765cd
|
||||
Author: Jonathan <chapmajs@gmail.com>
|
||||
Date: Sun Oct 19 22:05:26 2014 -0400
|
||||
|
||||
Allowing calls to private_methods
|
||||
|
||||
diff --git a/lib/celluloid/proxies/abstract_proxy.rb b/lib/celluloid/proxies/abstract_proxy.rb
|
||||
index 6a79acb..2db7a8e 100644
|
||||
--- a/lib/celluloid/proxies/abstract_proxy.rb
|
||||
+++ b/lib/celluloid/proxies/abstract_proxy.rb
|
||||
@@ -5,7 +5,7 @@ module Celluloid
|
||||
def __class__; AbstractProxy; end
|
||||
|
||||
# Needed for storing proxies in data structures
|
||||
- needed = [:object_id, :__id__, :hash] - instance_methods
|
||||
+ needed = [:object_id, :__id__, :hash, :private_methods] - instance_methods
|
||||
if needed.any?
|
||||
include ::Kernel.dup.module_eval {
|
||||
undef_method(*(instance_methods - needed))
|
||||
Reference in New Issue
Block a user