* lib/logger.rb (Logger): should handle the case that cvs/svn do
not expand $Id keyword. [ruby-core:19991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db65ddb58c
commit
29927214d4
@ -1,3 +1,8 @@
|
|||||||
|
Thu Nov 20 07:33:15 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/logger.rb (Logger): should handle the case that cvs/svn do
|
||||||
|
not expand $Id keyword. [ruby-core:19991]
|
||||||
|
|
||||||
Thu Nov 20 07:27:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Thu Nov 20 07:27:36 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust
|
* lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust
|
||||||
|
@ -182,7 +182,13 @@ require 'monitor'
|
|||||||
class Logger
|
class Logger
|
||||||
VERSION = "1.2.6"
|
VERSION = "1.2.6"
|
||||||
id, name, rev = %w$Id$
|
id, name, rev = %w$Id$
|
||||||
ProgName = "#{name.chomp(",v")}/#{rev}"
|
if name
|
||||||
|
name = name.chomp(",v")
|
||||||
|
else
|
||||||
|
name = File.basename(__FILE__)
|
||||||
|
end
|
||||||
|
rev ||= "v#{VERSION}"
|
||||||
|
ProgName = "#{name}/#{rev}"
|
||||||
|
|
||||||
class Error < RuntimeError; end
|
class Error < RuntimeError; end
|
||||||
class ShiftingError < Error; end
|
class ShiftingError < Error; end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user