From 7b81f5981fd6dfcede61a89da80b09a1650e2c02 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 4 Feb 2010 18:44:14 -0800 Subject: Fix task defines --- Rakefile | 2 +- actionmailer/Rakefile | 2 +- actionpack/Rakefile | 2 +- activemodel/Rakefile | 2 +- activerecord/Rakefile | 2 +- activeresource/Rakefile | 2 +- activesupport/Rakefile | 2 +- railties/Rakefile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Rakefile b/Rakefile index 5f442d1b08..99be4e0711 100644 --- a/Rakefile +++ b/Rakefile @@ -38,7 +38,7 @@ Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec end -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release all gems to gemcutter. Package rails, package & push components, then push rails" task :release => [:package, :release_all, 'gem:push'] diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index a1caae97c7..d63e092e10 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -55,7 +55,7 @@ Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec end -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release to gemcutter" task :release => [:package, 'gem:push'] diff --git a/actionpack/Rakefile b/actionpack/Rakefile index e675e67dc6..5122b44f4e 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -71,7 +71,7 @@ Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec end -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release to gemcutter" task :release => [:package, 'gem:push'] diff --git a/activemodel/Rakefile b/activemodel/Rakefile index e043a6d69d..565277d6bd 100755 --- a/activemodel/Rakefile +++ b/activemodel/Rakefile @@ -52,7 +52,7 @@ Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec end -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release to gemcutter" task :release => [:package, 'gem:push'] diff --git a/activerecord/Rakefile b/activerecord/Rakefile index ce74beb604..aee8e49ada 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -227,7 +227,7 @@ end # Publishing ------------------------------------------------------ -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release to gemcutter" task :release => [:package, 'gem:push'] diff --git a/activeresource/Rakefile b/activeresource/Rakefile index d1bac76517..61804df40e 100644 --- a/activeresource/Rakefile +++ b/activeresource/Rakefile @@ -90,7 +90,7 @@ end # Publishing ------------------------------------------------------ -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release to gemcutter" task :release => [:package, 'gem:push'] diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 059d99d8ff..160802b10d 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -50,7 +50,7 @@ Rake::GemPackageTask.new(spec) do |p| p.gem_spec = spec end -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release to gemcutter" task :release => [:package, 'gem:push'] diff --git a/railties/Rakefile b/railties/Rakefile index 808e39f887..fad60e50c9 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -91,7 +91,7 @@ end # Publishing ------------------------------------------------------- -Rake::Gemcutter::Tasks(spec) +Rake::Gemcutter::Tasks.new(spec).define desc "Release to gemcutter" task :release => [:package, 'gem:push'] -- cgit v1.2.3