summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-11-05 14:37:40 +0000
committermurphy <murphy@rubychan.de>2005-11-05 14:37:40 +0000
commita05a7d11b1bc08f3817076dcb669bc6ef9d6d264 (patch)
tree27a0e78fcc2a8c0a6adb67c5a3b7b37047f226e4 /Rakefile
parent4c01ff6ef9761ac4eb479dfc0d5ee3d25e9a2bc2 (diff)
downloadcoderay-a05a7d11b1bc08f3817076dcb669bc6ef9d6d264.tar.gz
bench/bench.rb: Added SilverCity benchmarking
demo/demo_load_encoder.rb enhanced demo/demo_load_scanner.rb added .outs added plugin.rb: Fixed load_all encoder.rb, scanner.rb adjusted helpers/word_list.rb: Fixed a bug in CaseIgnoringWordList.new TODO: Updated new ROADMAP coderay.rb: increased Version number added Version System documentation
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 3d786b7..d9ede8f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -129,7 +129,7 @@ task :make => [:build, :make_gem]
BUILD_FILE = 'build'
task :build do
- $version.sub!(/\d+$/) { |minor| minor.to_i - 1 }
+ $version.sub!(/\.(\d+)\./) { minor = $1; ".#{minor.to_i - 1}." }
$version << '.' << (`svn info`[/Revision: (\d+)/,1])
end