* 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
This commit is contained in:
drbrain 2011-06-23 22:24:44 +00:00
parent d001539a05
commit ea9c30bec1
4 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,10 @@
Fri Jun 24 07:24:37 2011 Eric Hodel <drbrain@segment7.net>
* 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`
Fri Jun 24 07:11:37 2011 Eric Hodel <drbrain@segment7.net> Fri Jun 24 07:11:37 2011 Eric Hodel <drbrain@segment7.net>
* lib/rake: Import Rake 0.9.2 * lib/rake: Import Rake 0.9.2

View File

@ -23,9 +23,10 @@
#++ #++
begin begin
require 'rake'
rescue LoadError
require 'rubygems' require 'rubygems'
require 'rake' rescue LoadError
end end
require 'rake'
Rake.application.run Rake.application.run

View File

@ -1,10 +1,8 @@
module Rake module Rake
VERSION = '0.9.2'
module Version module Version
NUMBERS = [ MAJOR, MINOR, BUILD = VERSION.split '.'
MAJOR = 0, NUMBERS = [ MAJOR, MINOR, BUILD ]
MINOR = 9,
BUILD = 2,
]
end end
VERSION = Version::NUMBERS.join('.')
end end

View File

@ -540,7 +540,7 @@ install?(:ext, :comm, :gem) do
destdir = File.join(gpath, directories.grep(/^spec/)[0]) destdir = File.join(gpath, directories.grep(/^spec/)[0])
default_gems = [ default_gems = [
['rake', 'lib/rake.rb'], ['rake', 'lib/rake/version.rb'],
['rdoc', 'lib/rdoc.rb'], ['rdoc', 'lib/rdoc.rb'],
['minitest', 'lib/minitest/unit.rb'], ['minitest', 'lib/minitest/unit.rb'],
['json', 'ext/json/lib/json/version.rb'], ['json', 'ext/json/lib/json/version.rb'],