ruby-changes:19761
From: nahi <ko1@a...>
Date: Mon, 30 May 2011 11:09:04 +0900 (JST)
Subject: [ruby-changes:19761] nahi:r31806 (ruby_1_8_7): * lib/logger.rb (Logger::ProgName): do not depend on subversion
nahi 2011-05-30 11:08:57 +0900 (Mon, 30 May 2011) New Revision: 31806 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31806 Log: * lib/logger.rb (Logger::ProgName): do not depend on subversion keyword ($Id$). ProgName with revision number was written in the header line of each logfile for ease of tracking what version user is using in troubleshooting. Logger is already stable enough. I commit this on confirmation from Shyouhei. Modified files: branches/ruby_1_8_7/ChangeLog branches/ruby_1_8_7/lib/logger.rb Index: ruby_1_8_7/ChangeLog =================================================================== --- ruby_1_8_7/ChangeLog (revision 31805) +++ ruby_1_8_7/ChangeLog (revision 31806) @@ -1,3 +1,10 @@ +Mon May 30 10:58:17 2011 Hiroshi Nakamura <nahi@r...> + + * lib/logger.rb (Logger::ProgName): do not depend on subversion + keyword ($Id$). ProgName with revision number was written in the + header line of each logfile for ease of tracking what version user + is using in troubleshooting. Logger is already stable enough. + Sat May 21 07:33:54 2011 Yusuke Endoh <mame@t...> * ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD. @@ -147,7 +154,7 @@ Wed Nov 24 18:24:26 2010 NAKAMURA Usaku <usa@r...> - * ext/socket/extconf.rb: backrorted entirely from ruby_1_8, with small + * ext/socket/extconf.rb: backported entirely from ruby_1_8, with small modifications for the difference of mkmf.rb. Wed Nov 24 16:24:24 2010 Nobuyoshi Nakada <nobu@r...> @@ -158,8 +165,8 @@ Wed Nov 24 16:18:02 2010 URABE Shyouhei <shyouhei@r...> * win32/Makefile.sub ($(RCFILES)): no revision.h in this - branch, a patch from Luis Lavena <luislavena at gmail.com>. - [ruby-core:33310] + branch, a patch from Luis Lavena <luislavena at gmail.com>. + [ruby-core:33310] * cygwin/GNUmakefile.in ($(RCFILES)): ditto. @@ -227,7 +234,7 @@ Sun Oct 3 18:30:23 2010 Nobuyoshi Nakada <nobu@r...> * parse.y (rb_intern): should check symbol table overflow. - #3900 [ruby-dev:42330] + #3900 [ruby-dev:42330] Fri Oct 1 15:12:05 2010 NAKAMURA Usaku <usa@r...> Index: ruby_1_8_7/lib/logger.rb =================================================================== --- ruby_1_8_7/lib/logger.rb (revision 31805) +++ ruby_1_8_7/lib/logger.rb (revision 31806) @@ -170,8 +170,7 @@ class Logger VERSION = "1.2.6" - id, name, rev = %w$Id$ - ProgName = "#{name.chomp(",v")}/#{rev}" + ProgName = "#{File.basename(__FILE__)}/#{VERSION}" class Error < RuntimeError; end class ShiftingError < Error; end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/