diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/rdoc/rdoc.rb | 9 | ||||
-rw-r--r-- | lib/rdoc/ri/ri_options.rb | 6 |
3 files changed, 7 insertions, 12 deletions
@@ -1,3 +1,7 @@ +Tue Nov 9 00:50:06 2004 Dave Thomas <dave@pragprog.com> + + * lib/rdoc/rdoc.rb: Change version numbering of RDoc and ri + Mon Nov 8 23:38:35 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * 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 |