URL:
<http://savannah.nongnu.org/patch/?7345>
Summary: Fixed Ruby scripts loading with 1.9.2
Project: WeeChat
Submitted by: pigoz
Submitted on: Sat 16 Oct 2010 02:17:43 PM GMT
Category: script plugin
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
IRC nick: pigoz
_______________________________________________________
Details:
This patch fixes the loading of scripts when using Ruby 1.9.2. On 1.9 the
method Module.instance_methods returns a list of Symbols instead on Strings
and you can't concatenate a Symbol to a String.
Adding .to_s fixes the problem and keeps compatibility with 1.8.7:
String.to_s is still the same string.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 16 Oct 2010 02:17:43 PM GMT Name:
fixed_scripts_loading_with_ruby_1.9.2.patch Size: 650B By: pigoz
my first patch to weechat ^_^
<http://savannah.nongnu.org/patch/download.php?file_id=21692>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7345>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev