summaryrefslogtreecommitdiff
path: root/lib/rake
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-23 22:24:44 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-23 22:24:44 +0000
commitea9c30bec1856e1a1c8c856d1f752258c70c15db (patch)
treedc28e04074dfc9305f408a42abbc39cfb91638c4 /lib/rake
parentd001539a0538cba0e48be2ebdafe29e67b006a4e (diff)
* 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
Diffstat (limited to 'lib/rake')
-rw-r--r--lib/rake/version.rb10
1 files changed, 4 insertions, 6 deletions
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