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 pluginSeverity: 3 - Normal
Item Group: otherStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Feb 2014 09:40:37 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Mon 06 Jan 2014 06:56:02 AM UTCflashcodeStatusNone=>Fixed
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup1