From ea9c30bec1856e1a1c8c856d1f752258c70c15db Mon Sep 17 00:00:00 2001 From: drbrain Date: Thu, 23 Jun 2011 22:24:44 +0000 Subject: * lib/rake/version.rb: Fixed VERSION to work with tool/rbinstall.rb * bin/rake: Import bin/rake from 0.9.2 * tool/rbinstall.rb (install): Rake::VERSION is now in lib/rake/version.rb. Fixes `make install` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rake/version.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'lib/rake') diff --git a/lib/rake/version.rb b/lib/rake/version.rb index dbad21e52d..7f22595640 100644 --- a/lib/rake/version.rb +++ b/lib/rake/version.rb @@ -1,10 +1,8 @@ module Rake + VERSION = '0.9.2' + module Version - NUMBERS = [ - MAJOR = 0, - MINOR = 9, - BUILD = 2, - ] + MAJOR, MINOR, BUILD = VERSION.split '.' + NUMBERS = [ MAJOR, MINOR, BUILD ] end - VERSION = Version::NUMBERS.join('.') end -- cgit v1.2.3