diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2010-03-01 23:36:54 -0500 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2010-03-02 00:32:53 -0500 |
commit | f221a6f19f4cee31e2d103ea9a1930f59223fc25 (patch) | |
tree | 845a41e17550f1a76f8220fbedc1bb5c542b5cb7 /Rakefile | |
parent | a4111bbca0884e4a748ab32ba7d7b550ec8d9186 (diff) | |
download | rails-f221a6f19f4cee31e2d103ea9a1930f59223fc25.tar.gz rails-f221a6f19f4cee31e2d103ea9a1930f59223fc25.tar.bz2 rails-f221a6f19f4cee31e2d103ea9a1930f59223fc25.zip |
Leverage VERSION constants from gemspecs to avoid tedious updates when releasing
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -3,10 +3,15 @@ require 'rake/rdoctask' require 'rake/gempackagetask' PROJECTS = %w(activesupport activemodel actionpack actionmailer activeresource activerecord railties) - -Dir["#{File.dirname(__FILE__)}/*/lib/*/version.rb"].each do |version_path| - require version_path -end +PROJECTS.each { |project| $:.unshift "#{project}/lib" } + +require "active_support/version" +require "active_model/version" +require "action_pack/version" +require "action_mailer/version" +require "active_resource/version" +require "active_record/version" +require "rails/version" desc 'Run all tests by default' task :default => %w(test test:isolated) |