Fix task defines

This commit is contained in:
Jeremy Kemper 2010-02-04 18:44:14 -08:00
parent ed6e72a84f
commit 7b81f5981f
8 changed files with 8 additions and 8 deletions

View File

@ -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']

View File

@ -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']

View File

@ -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']

View File

@ -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']

View File

@ -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']

View File

@ -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']

View File

@ -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']

View File

@ -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']