bugWeeChat - Bugs: bug #41115, Ruby plugin does not set encoding...

 
 

bug #41115: 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 Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  0.4.2
IRC nick:  Alexis_Evo

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 06 Jan 2014 06:56:02 AM UTC, comment #1:

I agree, the test was really bad ;)
It is now fixed, feedback is welcome if you still have problems.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Mon 06 Jan 2014 02:10:27 AM UTC, original submission:

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('.')[1] == '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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 flashcode Open/ClosedOpen => Closed
    2014-01-06 flashcode StatusNone => Fixed
        Assigned toNone => flashcode

    Back to the top


    Powered by Savane 3.4