From 79c4db675a5c523f5d6c780dffe30f3ff51ad567 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 8 Nov 2004 15:55:23 +0000 Subject: [PATCH] Change version numbering of RDoc and ri git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/rdoc/rdoc.rb | 9 +-------- lib/rdoc/ri/ri_options.rb | 6 ++---- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba38fc7900..efc3e8b72e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Nov 9 00:50:06 2004 Dave Thomas + + * lib/rdoc/rdoc.rb: Change version numbering of RDoc and ri + Tue Nov 9 00:36:26 2004 Masatoshi SEKI * lib/drb/extservm.rb: add DRb::ExtServManager#uri=. diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb index 060e9ba826..2fd67553e3 100644 --- a/lib/rdoc/rdoc.rb +++ b/lib/rdoc/rdoc.rb @@ -2,14 +2,7 @@ # -RDOC_VERSION = "1.0pr1" - -rcs = '$Date$ $Revision$'. - gsub(/\$/, ''). - sub(/Date: /, ': '). - sub(/ Revision: (\S+)/) { "(#$1)" } - -VERSION_STRING = %{RDoc V} + RDOC_VERSION + rcs +VERSION_STRING = %{RDoc V1.0.1 - 20041108} require 'rdoc/parsers/parse_rb.rb' diff --git a/lib/rdoc/ri/ri_options.rb b/lib/rdoc/ri/ri_options.rb index f59cdeda1c..5ee9a45588 100644 --- a/lib/rdoc/ri/ri_options.rb +++ b/lib/rdoc/ri/ri_options.rb @@ -5,8 +5,7 @@ module RI require 'rdoc/ri/ri_display' - VERSION_STRING = "ri: beta1" - CVS_ID = "$Id$"; + VERSION_STRING = "ri v1.0.1 - 20041108" class Options @@ -170,8 +169,7 @@ module RI # Show the version and exit def show_version - cvs_info = CVS_ID.split - puts "#{VERSION_STRING} (#{cvs_info[2]} #{cvs_info[3]})" + puts VERSION_STRING exit(0) end