[DRE-maint] Bug#524466: Bug#524466: warning: Object#id will be deprecated; use Object#object_id

Gunnar Wolf gwolf at gwolf.org
Sat Apr 25 20:12:19 UTC 2009


Christoph Dwertmann dijo [Fri, Apr 17, 2009 at 08:42:57PM +1000]:
> Subject: warning: Object#id will be deprecated; use Object#object_id
> Package: liblog4r-ruby1.8
> Version: 1.0.5-6
> Severity: normal
> 
> *** Please type your report below this line ***
> When using log4r, I'm getting the following warning:
> 
> /usr/lib/ruby/1.8/log4r/logger.rb:141: warning: Object#id will be deprecated; use Object#object_id
> 
> The fix is easy, just replace "id" with "object_id" in line 141.

Hi,

Please provide what do you type in to get that result - It does not
happen at regular usage (i.e. following the documentation's example). 

Regardless, that is a well known message by now in Ruby programs. I
will prepare the fix and send it to the upstream author for
consideration.

-- 
Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF






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