|
From: | Stefano Pigozzi |
Subject: | [Weechat-dev] [patch #7345] Fixed Ruby scripts loading with 1.9.2 |
Date: | Sat, 16 Oct 2010 14:17:44 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |