aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-05-24 12:14:30 -0700
committerJosé Valim <jose.valim@gmail.com>2011-05-24 12:14:30 -0700
commit36991f195bd6337ef01bd4006c0c078988640f2a (patch)
tree08e9f8f2b9202e1a90dbeb20587617955966e385 /activesupport
parent176883a906e49a52fbfe9990bf18c16b3170161d (diff)
parent79e9a2983a91c5e84fe99cab3214e3747121e63f (diff)
downloadrails-36991f195bd6337ef01bd4006c0c078988640f2a.tar.gz
rails-36991f195bd6337ef01bd4006c0c078988640f2a.tar.bz2
rails-36991f195bd6337ef01bd4006c0c078988640f2a.zip
Merge pull request #1274 from vijaydev/rake-packagetask-warning-fix
Fixes for Rake::GemPackageTask deprecation warnings from Rake 0.9.0
Diffstat (limited to 'activesupport')
-rwxr-xr-xactivesupport/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile
index d117ca6356..822c9d98ae 100755
--- a/activesupport/Rakefile
+++ b/activesupport/Rakefile
@@ -1,5 +1,5 @@
require 'rake/testtask'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
task :default => :test
Rake::TestTask.new do |t|
@@ -20,7 +20,7 @@ dist_dirs = [ "lib", "test"]
spec = eval(File.read('activesupport.gemspec'))
-Rake::GemPackageTask.new(spec) do |p|
+Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end