[DRE-maint] Bug#589572: libi18n-ruby: upstream workaround for ruby1.9.2 break compatibilty with ruby1.8

Pierre-Louis Bonicoli pierre-louis.bonicoli at gmx.fr
Sun Jul 18 19:12:06 UTC 2010


Package: libi18n-ruby
Version: 0.3.6-1
Severity: normal
Tags: upstream patch

File /usr/lib/ruby/1.8/i18n.rb (line 265) contains a workaround which improves
compatibility with ruby 1.9.2:

265  # making these private until Ruby 1.9.2 can send to protected methods again
266  # see http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=24280
267  private

But using 'private' instead of 'protected' creates problems with ruby1.8. For
example exception NoMethodError "private method `default_exception_handler'
called for I18n:Module" occurs. A simple solution is to remove the workaround
(use 'protected').

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libi18n-ruby depends on:
hi  libi18n-ruby1.8               0.3.6-1    I18n and localization solution (Ru

libi18n-ruby recommends no packages.

libi18n-ruby suggests no packages.

-- no debconf information






More information about the Pkg-ruby-extras-maintainers mailing list