Issue #2171 has been updated by Nikolai Lugovoi.


This update introduced some strange/broken behaviour of RSS parser -- test/rss/ were severely failing.

I had to use following patch to restore its work:

diff --git a/vm_method.c b/vm_method.c
index a31fb8b..22b4700 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -512,7 +512,7 @@ rb_method_boundp(VALUE klass, ID id, int ex)
     rb_method_entry_t *me = rb_method_entry(klass, id);
 
     if (me != 0) {
-	if (ex && (me->flag & NOEX_PRIVATE)) {
+	if ((ex & NOEX_PRIVATE) && (me->flag & NOEX_PRIVATE)) {
 	    return FALSE;
 	}
 	if (!me->def) return 0;
@@ -1153,7 +1153,7 @@ basic_obj_respond_to(VALUE obj, ID id, int pub)
 {
     VALUE klass = CLASS_OF(obj);
 
-    switch (rb_method_boundp(klass, id, pub|NOEX_RESPONDS)) {
+    switch (rb_method_boundp(klass, id, (pub & 0x7F) |NOEX_RESPONDS)) {
       case 2:
 	return FALSE;
       case 0:

----------------------------------------
http://redmine.ruby-lang.org/issues/show/2171

----------------------------------------
http://redmine.ruby-lang.org