dev-ruby/celluluid: remove unused patch
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sun, 4 Feb 2018 08:33:35 +0000 (09:33 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sat, 17 Feb 2018 08:34:29 +0000 (09:34 +0100)
dev-ruby/celluloid/files/celluloid-0.16.0-call-private-methods.patch [deleted file]

diff --git a/dev-ruby/celluloid/files/celluloid-0.16.0-call-private-methods.patch b/dev-ruby/celluloid/files/celluloid-0.16.0-call-private-methods.patch
deleted file mode 100644 (file)
index f503a23..0000000
+++ /dev/null
@@ -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))