[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #41115] Ruby plugin does not set encoding types on 2.
[Weechat-dev] [bug #41115] Ruby plugin does not set encoding types on 2.x.x
Mon, 06 Jan 2014 02:10:28 +0000
Mozilla/5.0 (X11; CrOS armv7l 4731.101.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.67 Safari/537.36
Summary: Ruby plugin does not set encoding types on 2.x.x
Submitted by: None
Submitted on: Mon 06 Jan 2014 02:10:27 AM UTC
Category: script plugin
Severity: 3 - Normal
Item Group: other
Assigned to: None
Originator Email: address@hidden
Discussion Lock: Any
IRC nick: Alexis_Evo
Found an annoying bug in the Ruby plugin, where the class Encoding is missing
several constants (such as ::UTF_8), after hours of debugging I tracked it
down to this line in /src/plugins/ruby/weechat-ruby.c.
" if RUBY_VERSION.split('.') == '9'n"
This check is supposed to include additional files if the version is 1.9.x or
greater. Problem is, the current stable release of Ruby is 2.1.0. This type of
check is pretty atrocious, for obvious reasons. It either needs to be
rewritten, or support for 1.8.x should be dropped.
Reply to this item at:
Message sent via/by Savannah
- [Weechat-dev] [bug #41115] Ruby plugin does not set encoding types on 2.x.x,